kernel/common/ezincludefunctions.php
Functions
datatype_class(
$datatype, $className
)
:
voiddatatype include function for pre eZ Publish 4.0.
| Name | Type | Description |
|---|---|---|
| $datatype | ||
| $className |
- Deprecated
- Since 4.3
ext_activate(
$extension, $name
)
:
voidActivates the file named \a $name in extension \a $extension note This works similar to include_once() meaning that it's included one time.
| Name | Type | Description |
|---|---|---|
| $extension | ||
| $name |
- Deprecated
- Since 4.3
ext_class(
$extension, $name
)
:
voidActivates the file named \a $name in extension \a $extension note This works similar to include_once() meaning that it's included one time.
| Name | Type | Description |
|---|---|---|
| $extension | ||
| $name |
- Deprecated
- Since 4.3
ext_include(
$extension, $name
)
:
voidIncludes the file named \a $name in extension \a $extension note This works similar to include() meaning that it always includes the file.
| Name | Type | Description |
|---|---|---|
| $extension | ||
| $name |
- Deprecated
- Since 4.3
extension_path(
$extension, $withWWWDir
=
false, $withHost
=
false, $withProtocol
=
false
)
:
voidLoose extension path function for include use originally from ezextension.php
| Name | Type | Description |
|---|---|---|
| $extension | ||
| $withWWWDir | ||
| $withHost | ||
| $withProtocol |
- Deprecated
- Since 4.3
isExtension(
string $path
)
:
bool| Name | Type | Description |
|---|---|---|
| $path | string | Path to check. |
| Type | Description |
|---|---|
| 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 {@link eZExtension::isExtension()} instead
kernel_class(
$name
)
:
voidkernel class include function for pre eZ Publish 4.0.
| Name | Type | Description |
|---|---|---|
| $name |
- Deprecated
- Since 4.3
kernel_common(
$name
)
:
voidkernel/common files include function for pre eZ Publish 4.0.
| Name | Type | Description |
|---|---|---|
| $name |
- Deprecated
- Since 4.3
kernel_include(
$name
)
:
voidkernel files include function for pre eZ Publish 4.0.
| Name | Type | Description |
|---|---|---|
| $name |
- Deprecated
- Since 4.3
lib_class(
$libName, $name
)
:
voidlib class include function for pre eZ Publish 4.0.
| Name | Type | Description |
|---|---|---|
| $libName | ||
| $name |
- Deprecated
- Since 4.3
lib_include(
$libName, $name
)
:
voidlib include function for pre eZ Publish 4.0.
| Name | Type | Description |
|---|---|---|
| $libName | ||
| $name |
- Deprecated
- Since 4.3
nameFromPath(
\$path $path
)
:
\NameeZExtension::nameFromPath( __FILE__ ) executed in any file of an extension can help you to find the path to additional resources
| Name | Type | Description |
|---|---|---|
| $path | \$path | Path to check. |
| Type | Description |
|---|---|
| \Name | of the extension a path belongs to. |
- Deprecated
- Since 4.3, use {@link eZExtension::nameFromPath()} instead