|
eZ Publish
[4.2]
|
Handles singular path elements in URL aliases. More...
Inheritance diagram for eZPathElement:
Collaboration diagram for eZPathElement:Public Member Functions | |
| actionURL () | |
| alwaysAvailable () | |
| eZPathElement ($row) | |
| getLanguage () | |
| getPath () | |
| getPathArray () | |
| removeThis () | |
| store ($fieldFilters=null) | |
Static Public Member Functions | |
| static | definition () |
| static | fetchNamedByParentID ($parentID, $name) |
Public Attributes | |
| $AlwaysAvailable | |
Handles singular path elements in URL aliases.
This class is similar to eZURLAliasML but is designed to work on single path elements instead of considering the whole url.
The definition() of this class is the same as eZURLAliasML but it is not possible to store and remove items of this class.
Definition at line 45 of file ezpathelement.php.
| eZPathElement::actionURL | ( | ) |
Converts the action property into a real url which responds to the module/view on the site.
Definition at line 148 of file ezpathelement.php.
| eZPathElement::alwaysAvailable | ( | ) |
Definition at line 231 of file ezpathelement.php.
| static eZPathElement::definition | ( | ) | [static] |
The definition array is an associative array consists of these keys:
asc or desc.Example:
static function definition() { return array( "fields" => array( "id" => "ID", "version" => "Version", "name" => "Name" ), "keys" => array( "id", "version" ), "function_attributes" => array( "current" => "currentVersion", "class_name" => "className" ), "increment_key" => "id", "class_name" => "eZContentClass", "sort" => array( "id" => "asc" ), "name" => "ezcontentclass" ); }
Reimplemented from eZPersistentObject.
Definition at line 61 of file ezpathelement.php.
| eZPathElement::eZPathElement | ( | $ | row | ) |
Initializes a new path element.
Definition at line 50 of file ezpathelement.php.
Referenced by getPathArray().
| static eZPathElement::fetchNamedByParentID | ( | $ | parentID, |
| $ | name | ||
| ) | [static] |
Fetches path elements which has the parent $parentID and name $name.
Definition at line 157 of file ezpathelement.php.
| eZPathElement::getLanguage | ( | ) |
Returns the eZContentLanguage object which maches the element language mask.
Definition at line 139 of file ezpathelement.php.
| eZPathElement::getPath | ( | ) |
Calculates the full path for the current item and returns it.
Definition at line 172 of file ezpathelement.php.
| eZPathElement::getPathArray | ( | ) |
Definition at line 201 of file ezpathelement.php.
| eZPathElement::removeThis | ( | ) |
Removal of path elements is not allowed.
Definition at line 130 of file ezpathelement.php.
| eZPathElement::store | ( | $ | fieldFilters = null | ) |
Storing of path elements is not allowed.
Reimplemented from eZPersistentObject.
Definition at line 121 of file ezpathelement.php.
| eZPathElement::$AlwaysAvailable |
Definition at line 236 of file ezpathelement.php.