Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques | |
__construct () | |
__set ($name, $value) | |
__get ($name) | |
__isset ($name) | |
__unset ($name) | |
getElement ($name) | |
getElements () | |
setElement ($name, $value) | |
getInstructions () | |
addInstruction ($group, $property) | |
removeInstruction ($group, $property) | |
getTaxonomy ($branch=null) | |
addTaxonomy ($branch, $title, $state=1, $access=1, $language='') | |
addNestedTaxonomy ($branch, ImmutableNodeInterface $contentNode, $state=1, $access=1, $language='') | |
setLanguage () | |
serialize () | |
unserialize ($serialized) | |
__serialize () | |
__unserialize (array $serialized) | |
Attributs protégés | |
$elements = array() | |
$instructions | |
$taxonomy = array() | |
Result class for the Finder indexer package.
This class uses magic __get() and __set() methods to prevent properties being added that might confuse the system. All properties not explicitly declared will be pushed into the elements array and can be accessed explicitly using the getElement() method.
__construct | ( | ) |
__get | ( | $name | ) |
The magic get method is used to retrieve additional element values from the elements array.
string | $name | The name of the element. |
Références $name.
__isset | ( | $name | ) |
The magic isset method is used to check the state of additional element values in the elements array.
string | $name | The name of the element. |
Références $name.
__serialize | ( | ) |
Magic method used for serializing.
Références $description, $language, $n, $published, $route, $state, $title, et $url.
__set | ( | $name, | |
$value | |||
) |
__unserialize | ( | array | $serialized | ) |
__unset | ( | $name | ) |
The magic unset method is used to unset additional element values in the elements array.
string | $name | The name of the element. |
Références $name.
addInstruction | ( | $group, | |
$property | |||
) |
Method to add a processing instruction for an item property.
string | $group | The group to associate the property with. |
string | $property | The property to process. |
addNestedTaxonomy | ( | $branch, | |
ImmutableNodeInterface | $contentNode, | ||
$state = 1 , |
|||
$access = 1 , |
|||
$language = '' |
|||
) |
Method to add a nested taxonomy map for an item.
string | $branch | The title of the taxonomy branch to add the node to. |
ImmutableNodeInterface | $contentNode | The node object. |
integer | $state | The published state of the taxonomy node. [optional] |
integer | $access | The access level of the taxonomy node. [optional] |
string | $language | The language of the taxonomy. [optional] |
addTaxonomy | ( | $branch, | |
$title, | |||
$state = 1 , |
|||
$access = 1 , |
|||
$language = '' |
|||
) |
Method to add a taxonomy map for an item.
string | $branch | The title of the taxonomy branch to add the node to. |
string | $title | The title of the taxonomy node. |
integer | $state | The published state of the taxonomy node. [optional] |
integer | $access | The access level of the taxonomy node. [optional] |
string | $language | The language of the taxonomy. [optional] |
getElement | ( | $name | ) |
getElements | ( | ) |
Method to retrieve all elements.
getInstructions | ( | ) |
Method to get all processing instructions.
getTaxonomy | ( | $branch = null | ) |
Method to get the taxonomy maps for an item.
string | $branch | The taxonomy branch to get. [optional] |
Références null.
removeInstruction | ( | $group, | |
$property | |||
) |
Method to remove a processing instruction for an item property.
string | $group | The group to associate the property with. |
string | $property | The property to process. |
Références $key.
serialize | ( | ) |
setElement | ( | $name, | |
$value | |||
) |
setLanguage | ( | ) |
Method to set the item language
Références language.
Référencé par PlgFinderTags\index(), PlgFinderContacts\index(), et PlgFinderNewsfeeds\index().
unserialize | ( | $serialized | ) |
Helper function to unserialise the data for this object
string | $serialized | Serialised data to unserialise |
$access |
$defaultLanguage |
|
protected |
$end_date |
|
protected |
$language = '*' |
$list_price |
$publish_end_date |
$publish_start_date |
$published |
$route |
$sale_price |
$start_date |
$state |
|
protected |
$title |
$type_id |
$url |