eZPublish  4.5
ezincludefunctions.php File Reference

Functions

 datatype_class ($datatype, $className)
 datatype include function for pre eZ Publish 4.0. More...
 
 ext_activate ($extension, $name)
 Activates the file named $name in extension $extension note This works similar to include_once() meaning that it's included one time. More...
 
 ext_class ($extension, $name)
 Activates the file named $name in extension $extension note This works similar to include_once() meaning that it's included one time. More...
 
 ext_include ($extension, $name)
 Includes the file named $name in extension $extension note This works similar to include() meaning that it always includes the file. More...
 
 extension_path ($extension, $withWWWDir=false, $withHost=false, $withProtocol=false)
 Loose extension path function for include use originally from ezextension.php. More...
 
 isExtension ($path)
 
 kernel_class ($name)
 kernel class include function for pre eZ Publish 4.0. More...
 
 kernel_common ($name)
 kernel/common files include function for pre eZ Publish 4.0. More...
 
 kernel_include ($name)
 kernel files include function for pre eZ Publish 4.0. More...
 
 lib_class ($libName, $name)
 lib class include function for pre eZ Publish 4.0. More...
 
 lib_include ($libName, $name)
 lib include function for pre eZ Publish 4.0. More...
 
 nameFromPath ($path)
 eZExtension::nameFromPath( FILE ) executed in any file of an extension can help you to find the path to additional resources More...
 

Function Documentation

datatype_class (   $datatype,
  $className 
)

datatype include function for pre eZ Publish 4.0.

Deprecated:
Since 4.3
ext_activate (   $extension,
  $name 
)

Activates the file named $name in extension $extension note This works similar to include_once() meaning that it's included one time.

Deprecated:
Since 4.3
ext_class (   $extension,
  $name 
)

Activates the file named $name in extension $extension note This works similar to include_once() meaning that it's included one time.

Deprecated:
Since 4.3
ext_include (   $extension,
  $name 
)

Includes the file named $name in extension $extension note This works similar to include() meaning that it always includes the file.

Deprecated:
Since 4.3
extension_path (   $extension,
  $withWWWDir = false,
  $withHost = false,
  $withProtocol = false 
)

Loose extension path function for include use originally from ezextension.php.

Deprecated:
Since 4.3
isExtension (   $path)
Parameters
string$pathPath to check.
Returns
bool True if this path is related to some extension.
Note
The root of an extension is considered to be in this path too.
Deprecated:
Since 4.3, use eZExtension::isExtension() instead
kernel_class (   $name)

kernel class include function for pre eZ Publish 4.0.

Deprecated:
Since 4.3
kernel_common (   $name)

kernel/common files include function for pre eZ Publish 4.0.

Deprecated:
Since 4.3
kernel_include (   $name)

kernel files include function for pre eZ Publish 4.0.

Deprecated:
Since 4.3
lib_class (   $libName,
  $name 
)

lib class include function for pre eZ Publish 4.0.

Deprecated:
Since 4.3
lib_include (   $libName,
  $name 
)

lib include function for pre eZ Publish 4.0.

Deprecated:
Since 4.3
nameFromPath (   $path)

eZExtension::nameFromPath( FILE ) executed in any file of an extension can help you to find the path to additional resources

Parameters
$pathPath to check.
Returns
Name of the extension a path belongs to.
Deprecated:
Since 4.3, use eZExtension::nameFromPath() instead