eZPublish  4.4
ezincludefunctions.php File Reference

Namespaces

 kernel
 Autoloader definition for eZ Publish Kernel files.
 

Functions

 datatype_class ($datatype, $className)
 
 ext_activate ($extension, $name)
 
 ext_class ($extension, $name)
 
 ext_include ($extension, $name)
 
 extension_path ($extension, $withWWWDir=false, $withHost=false, $withProtocol=false)
 
 isExtension ($path)
 
 kernel_class ($name)
 
 kernel_common ($name)
 
 kernel_include ($name)
 
 lib_class ($libName, $name)
 
 lib_include ($libName, $name)
 
 nameFromPath ($path)
 

Function Documentation

datatype_class (   $datatype,
  $className 
)
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.
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.
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.
extension_path (   $extension,
  $withWWWDir = false,
  $withHost = false,
  $withProtocol = false 
)
isExtension (   $path)
static
Deprecated:
Returns
true if this path is related to some extension.
Parameters
$pathPath to check.
Note
The root of an extension is considered to be in this path too.
kernel_class (   $name)
kernel_common (   $name)
kernel_include (   $name)
lib_class (   $libName,
  $name 
)
lib_include (   $libName,
  $name 
)
nameFromPath (   $path)
static
Deprecated:
eZExtension::nameFromPath( FILE ) executed in any file of an extension can help you to find the path to additional resources
Returns
Name of the extension a path belongs to.
Parameters
$pathPath to check.