|
eZ Publish
[4.2]
|
The class eZURLObjectLink does. More...
Inheritance diagram for eZURLObjectLink:
Collaboration diagram for eZURLObjectLink:Public Member Functions | |
| eZURLObjectLink ($row) | |
Static Public Member Functions | |
| static | clearCacheForObjectLink ($urlID) |
| static | create ($urlID, $contentObjectAttributeID, $contentObjectAttributeVersion) |
| static | definition () |
| static | fetch ($urlID, $contentObjectAttributeID, $contentObjectAttributeVersion, $asObject=true) |
| static | fetchLinkList ($contentObjectAttributeID, $contentObjectAttributeVersion, $asObject=true) |
| static | fetchObjectVersionCount ($urlID) |
| static | fetchObjectVersionList ($urlID, $parameters=false) |
| static | hasObjectLinkList ($urlID) |
| static | removeURLlinkList ($contentObjectAttributeID, $contentObjectAttributeVersion) |
Public Attributes | |
| $ContentObjectAttributeID | |
| $ContentObjectAttributeVersion | |
| $URLID | |
The class eZURLObjectLink does.
Definition at line 41 of file ezurlobjectlink.php.
| static eZURLObjectLink::clearCacheForObjectLink | ( | $ | urlID | ) | [static] |
Clear view cache for every object which contains URL with given link ID $urlID.
Definition at line 222 of file ezurlobjectlink.php.
| static eZURLObjectLink::create | ( | $ | urlID, |
| $ | contentObjectAttributeID, | ||
| $ | contentObjectAttributeVersion | ||
| ) | [static] |
Definition at line 82 of file ezurlobjectlink.php.
Referenced by eZSimplifiedXMLInput\updateUrlObjectLinks().
| static eZURLObjectLink::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 51 of file ezurlobjectlink.php.
Referenced by clearCacheForObjectLink(), eZXMLTextType\deleteStoredObjectAttribute(), fetch(), fetchLinkList(), fetchObjectVersionCount(), fetchObjectVersionList(), eZURL\handleList(), and removeURLlinkList().
| eZURLObjectLink::eZURLObjectLink | ( | $ | row | ) |
| static eZURLObjectLink::fetch | ( | $ | urlID, |
| $ | contentObjectAttributeID, | ||
| $ | contentObjectAttributeVersion, | ||
| $ | asObject = true |
||
| ) | [static] |
Definition at line 95 of file ezurlobjectlink.php.
Referenced by clearCacheForObjectLink(), fetchLinkList(), fetchObjectVersionList(), eZURLType\postStore(), ezpUrlObjectLinkUpdate\processData(), and eZSimplifiedXMLInput\updateUrlObjectLinks().
| static eZURLObjectLink::fetchLinkList | ( | $ | contentObjectAttributeID, |
| $ | contentObjectAttributeVersion, | ||
| $ | asObject = true |
||
| ) | [static] |
false then all links for all versions are returned. Definition at line 190 of file ezurlobjectlink.php.
Referenced by eZURLType\deleteStoredObjectAttribute().
| static eZURLObjectLink::fetchObjectVersionCount | ( | $ | urlID | ) | [static] |
Get url object count
| urld | id |
Definition at line 156 of file ezurlobjectlink.php.
Referenced by hasObjectLinkList().
| static eZURLObjectLink::fetchObjectVersionList | ( | $ | urlID, |
| $ | parameters = false |
||
| ) | [static] |
Definition at line 118 of file ezurlobjectlink.php.
| static eZURLObjectLink::hasObjectLinkList | ( | $ | urlID | ) | [static] |
true if the URL $urlID has any object links Definition at line 109 of file ezurlobjectlink.php.
Referenced by eZURLType\deleteStoredObjectAttribute(), and eZURLType\storeObjectAttribute().
| static eZURLObjectLink::removeURLlinkList | ( | $ | contentObjectAttributeID, |
| $ | contentObjectAttributeVersion | ||
| ) | [static] |
Removes all links for the object attribute $contentObjectAttributeID and version $contentObjectVersion. If $contentObjectVersion is false then all versions are removed as well.
Definition at line 175 of file ezurlobjectlink.php.
Referenced by eZURLType\deleteStoredObjectAttribute(), and eZURLType\validateObjectAttributeHTTPInput().
| eZURLObjectLink::$ContentObjectAttributeID |
Definition at line 247 of file ezurlobjectlink.php.
| eZURLObjectLink::$ContentObjectAttributeVersion |
Definition at line 248 of file ezurlobjectlink.php.
| eZURLObjectLink::$URLID |
Definition at line 246 of file ezurlobjectlink.php.