kernel/common/ezincludefunctions.php
- Copyright
- Copyright (C) 1999-2011 eZ Systems AS. All rights reserved.
- License
- eZ Business Use License Agreement Version 2.0
- Package
- kernel
- Version
- 4.6.0
Functions

datatype_class(
$datatype, $className
)
:
void
datatype include function for pre eZ Publish 4.0.
Name | Type | Description |
---|---|---|
$datatype | ||
$className |
- Deprecated
- Since 4.3

ext_activate(
$extension, $name
)
:
void
Activates 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
)
:
void
Activates 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
)
:
void
Includes 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
)
:
void
Loose 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
)
:
void
kernel class include function for pre eZ Publish 4.0.
Name | Type | Description |
---|---|---|
$name |
- Deprecated
- Since 4.3

kernel_common(
$name
)
:
void
kernel/common files include function for pre eZ Publish 4.0.
Name | Type | Description |
---|---|---|
$name |
- Deprecated
- Since 4.3

kernel_include(
$name
)
:
void
kernel files include function for pre eZ Publish 4.0.
Name | Type | Description |
---|---|---|
$name |
- Deprecated
- Since 4.3

lib_class(
$libName, $name
)
:
void
lib class include function for pre eZ Publish 4.0.
Name | Type | Description |
---|---|---|
$libName | ||
$name |
- Deprecated
- Since 4.3

lib_include(
$libName, $name
)
:
void
lib include function for pre eZ Publish 4.0.
Name | Type | Description |
---|---|---|
$libName | ||
$name |
- Deprecated
- Since 4.3

nameFromPath(
\$path $path
)
:
\Name
eZExtension::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