|
eZ Publish
[trunk]
|
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 () |
| Returns the definition for the object, the default implementation is to return an empty array. | |
| 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 18 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 199 of file ezurlobjectlink.php.
| static eZURLObjectLink::create | ( | $ | urlID, |
| $ | contentObjectAttributeID, | ||
| $ | contentObjectAttributeVersion | ||
| ) | [static] |
Definition at line 59 of file ezurlobjectlink.php.
Referenced by eZSimplifiedXMLInput\updateUrlObjectLinks().
| static eZURLObjectLink::definition | ( | ) | [static] |
Returns the definition for the object, the default implementation is to return an empty array.
It's upto each inheriting class to return a proper definition array.
The definition array is an associative array consists of these keys:
Example: public 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 28 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 72 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 167 of file ezurlobjectlink.php.
Referenced by eZURLType\deleteStoredObjectAttribute().
| static eZURLObjectLink::fetchObjectVersionCount | ( | $ | urlID | ) | [static] |
Get url object count
| urld | id |
Definition at line 133 of file ezurlobjectlink.php.
Referenced by hasObjectLinkList().
| static eZURLObjectLink::fetchObjectVersionList | ( | $ | urlID, |
| $ | parameters = false |
||
| ) | [static] |
Definition at line 95 of file ezurlobjectlink.php.
| static eZURLObjectLink::hasObjectLinkList | ( | $ | urlID | ) | [static] |
true if the URL $urlID has any object links Definition at line 86 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 152 of file ezurlobjectlink.php.
Referenced by eZURLType\deleteStoredObjectAttribute(), and eZURLType\validateObjectAttributeHTTPInput().
| eZURLObjectLink::$ContentObjectAttributeID |
Definition at line 224 of file ezurlobjectlink.php.
| eZURLObjectLink::$ContentObjectAttributeVersion |
Definition at line 225 of file ezurlobjectlink.php.
| eZURLObjectLink::$URLID |
Definition at line 223 of file ezurlobjectlink.php.