eZ Publish  [4.2]
eZKeyword Class Reference

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

List of all members.

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.
 $ObjectAttributeID = false
 Contains the ID attribute if fetched.

Detailed Description

A content datatype which handles keyword index instances.

Definition at line 38 of file ezkeyword.php.


Member Function Documentation

eZKeyword::attribute ( name)

Definition at line 60 of file ezkeyword.php.

eZKeyword::attributes ( )

Definition at line 47 of file ezkeyword.php.

Referenced by hasAttribute().

eZKeyword::eZKeyword ( )

Construct a new keyword instance

Definition at line 43 of file ezkeyword.php.

eZKeyword::fetch ( &$  attribute)

Fetches the keywords for the given attribute.

Definition at line 256 of file ezkeyword.php.

eZKeyword::hasAttribute ( name)

Definition at line 55 of file ezkeyword.php.

eZKeyword::initializeKeyword ( keywordString)

Initialze the keyword index

Definition at line 90 of file ezkeyword.php.

eZKeyword::keywordArray ( )

Returns the keyword index

Definition at line 285 of file ezkeyword.php.

eZKeyword::keywordString ( )

Returns the keywords as a string

Definition at line 293 of file ezkeyword.php.

Referenced by attribute().

eZKeyword::relatedObjects ( )

Returns the objects which have at least one keyword in common

Returns:
an array of eZContentObjectTreeNode instances, or null if the attribute is not stored yet

Definition at line 303 of file ezkeyword.php.

Referenced by attribute().

eZKeyword::setKeywordArray ( keywords)

Sets the keyword index

Definition at line 277 of file ezkeyword.php.

eZKeyword::store ( attribute)

Stores the keyword index to database

Definition at line 109 of file ezkeyword.php.


Member Data Documentation

eZKeyword::$KeywordArray = array()

Contains the keywords.

Definition at line 357 of file ezkeyword.php.

eZKeyword::$ObjectAttributeID = false

Contains the ID attribute if fetched.

Definition at line 360 of file ezkeyword.php.


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