eZPublish  3.8
eZURLObjectLink Class Reference

The class eZURLObjectLink does. More...

+ Inheritance diagram for eZURLObjectLink:
+ Collaboration diagram for eZURLObjectLink:

Public Member Functions

 definition ()
 
 eZURLObjectLink ($row)
 
 fetchObjectVersionCount ($urlID)
 
- Public Member Functions inherited from eZPersistentObject
attribute ($attr, $noFunction=false)
 
 attributes ()
 
 conditionText (&$conditions)
 
conditionTextByRow (&$conditions, &$row)
 
 definition ()
 
escapeArray (&$array)
 
 eZPersistentObject ($row)
 
 fetchObject (&$def, $field_filters, $conds, $asObject=true, $grouping=null, $custom_fields=null)
 
 fetchObjectList (&$def, $field_filters=null, $conds=null, $sorts=null, $limit=null, $asObject=true, $grouping=false, $custom_fields=null)
 
 fill (&$row)
 
 getShortAttributeName (&$db, &$def, $attrName)
 
 handleRows (&$rows, $class_name, $asObject)
 
 hasAttribute ($attr)
 
 hasDirtyData ()
 
 newObjectOrder (&$def, $orderField, $conditions)
 
 remove ($conditions=null, $extraConditions=null)
 
 removeObject (&$def, $conditions=null, $extraConditions=null)
 
 reorderObject (&$def, $orderField, $conditions, $down=true)
 
 setAttribute ($attr, $val)
 
 setHasDirtyData ($hasDirtyData)
 
 store ($fieldFilters=null)
 
 swapRow ($table, &$keys, &$order_id, &$rows, $id1, $id2)
 
 sync ($fieldFilters=null)
 
 updateObjectList ($parameters)
 

Static Public Member Functions

 clearCacheForObjectLink ($urlID)
 
 create ($urlID, $contentObjectAttributeID, $contentObjectAttributeVersion)
 
 fetch ($urlID, $contentObjectAttributeID, $contentObjectAttributeVersion, $asObject=true)
 
 fetchLinkList ($contentObjectAttributeID, $contentObjectAttributeVersion, $asObject=true)
 
fetchObjectVersionList ($urlID, $parameters=false)
 
 hasObjectLinkList ($urlID)
 
 removeURLlinkList ($contentObjectAttributeID, $contentObjectAttributeVersion)
 

Private Attributes

 $ContentObjectAttributeID
 
 $ContentObjectAttributeVersion
 
 $URLID
 

Detailed Description

The class eZURLObjectLink does.

Member Function Documentation

eZURLObjectLink::clearCacheForObjectLink (   $urlID)
static

Clear view cache for every object which contains URL with given link ID $urlID.

eZURLObjectLink::create (   $urlID,
  $contentObjectAttributeID,
  $contentObjectAttributeVersion 
)
static
eZURLObjectLink::eZURLObjectLink (   $row)

Constructor

Referenced by create().

eZURLObjectLink::fetch (   $urlID,
  $contentObjectAttributeID,
  $contentObjectAttributeVersion,
  $asObject = true 
)
static
Returns
the url object for id $id.

Referenced by eZURLType\postStore(), and eZSimplifiedXMLInput\updateUrlObjectLinks().

eZURLObjectLink::fetchLinkList (   $contentObjectAttributeID,
  $contentObjectAttributeVersion,
  $asObject = true 
)
static
Returns
all links for the contenobject attribute ID $contenObjectAttributeID and version $contenObjectVersion. If $contentObjectVersion is false then all links for all versions are returned.

Referenced by eZURLType\deleteStoredObjectAttribute().

eZURLObjectLink::fetchObjectVersionCount (   $urlID)

Get url object count

Parameters
urldid

Referenced by hasObjectLinkList().

& eZURLObjectLink::fetchObjectVersionList (   $urlID,
  $parameters = false 
)
static
Returns
all object versions which has the link.
eZURLObjectLink::hasObjectLinkList (   $urlID)
static
Returns
true if the URL $urlID has any object links

Referenced by eZURLType\deleteStoredObjectAttribute(), and eZURLType\storeObjectAttribute().

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.

Referenced by eZURLType\deleteStoredObjectAttribute(), and eZURLType\validateObjectAttributeHTTPInput().

Member Data Documentation

eZURLObjectLink::$ContentObjectAttributeID
private
eZURLObjectLink::$ContentObjectAttributeVersion
private
eZURLObjectLink::$URLID
private

The documentation for this class was generated from the following file: