eZPublish  3.8
eZKeyword Class Reference

A content datatype which handles keyword index instances. More...

Public Member Functions

attribute ($name)
 
 attributes ()
 
 eZKeyword ()
 
 fetch (&$attribute)
 
 hasAttribute ($name)
 
 initializeKeyword ($keywordString)
 
keywordArray ()
 
 keywordString ()
 
relatedObjects ()
 
 setKeywordArray ($keywords)
 
 store (&$attribute)
 

Public Attributes

 $KeywordArray = array()
 Contains the keywords. More...
 
 $ObjectAttributeID = false
 Contains the ID attribute if fetched. More...
 

Detailed Description

A content datatype which handles keyword index instances.

Member Function Documentation

& eZKeyword::attribute (   $name)
eZKeyword::attributes ( )

Referenced by hasAttribute().

eZKeyword::eZKeyword ( )

Construct a new keyword instance

eZKeyword::fetch ( $attribute)

Fetches the keywords for the given attribute.

eZKeyword::hasAttribute (   $name)
eZKeyword::initializeKeyword (   $keywordString)

Initialze the keyword index

& eZKeyword::keywordArray ( )

Returns the keyword index

eZKeyword::keywordString ( )

Returns the keywords as a string

Referenced by attribute().

& eZKeyword::relatedObjects ( )

Returns the objects which has atleast one of the same keywords

Referenced by attribute().

eZKeyword::setKeywordArray (   $keywords)

Sets the keyword index

eZKeyword::store ( $attribute)

Stores the keyword index to database

Member Data Documentation

eZKeyword::$KeywordArray = array()

Contains the keywords.

Referenced by attribute(), and keywordArray().

eZKeyword::$ObjectAttributeID = false

Contains the ID attribute if fetched.


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