Liste de tous les membres
Fonctions membres publiques |
| __construct (&$subject, $config) |
| onFinderCategoryChangeState ($extension, $pks, $value) |
| onFinderAfterDelete ($context, $table) |
| onFinderAfterSave ($context, $row, $isNew) |
| onFinderBeforeSave ($context, $row, $isNew) |
| onFinderChangeState ($context, $pks, $value) |
| onStartIndex () |
| onBeforeIndex () |
| onBuildIndex () |
| loadLanguage ($extension= '', $basePath=JPATH_ADMINISTRATOR) |
| __construct (&$subject) |
| update (&$args) |
| __construct ($properties=null) |
| __toString () |
| def ($property, $default=null) |
| get ($property, $default=null) |
| getProperties ($public=true) |
| getError ($i=null, $toString=true) |
| getErrors () |
| set ($property, $value=null) |
| setProperties ($properties) |
| setError ($error) |
| toString () |
Fonctions membres protégées |
| index (FinderIndexerResult $item, $format= 'html') |
| setup () |
| getListQuery ($sql=null) |
| change ($id, $property, $value) |
| index (FinderIndexerResult $item) |
| reindex ($id) |
| remove ($id) |
| categoryAccessChange ($row) |
| categoryStateChange ($pks, $value) |
| checkCategoryAccess ($row) |
| checkItemAccess ($row) |
| getContentCount () |
| getItem ($id) |
| getItems ($offset, $limit, $sql=null) |
| getPluginType ($id) |
| getStateQuery () |
| getUpdateQueryByTime ($time) |
| getUpdateQueryByIds ($ids) |
| getTypeId () |
| getURL ($id, $extension, $view) |
| getItemMenuTitle ($url) |
| itemAccessChange ($row) |
| itemStateChange ($pks, $value) |
| pluginDisable ($pks) |
| translateState ($item, $category=null) |
Documentation des constructeurs et destructeur
plgFinderContent::__construct |
( |
& |
$subject, |
|
|
|
$config |
|
) |
| |
Constructor
- Paramètres:
-
object | &$subject | The object to observe |
array | $config | An array that holds the plugin configuration |
- Depuis:
- 2.5
Réimplémentée à partir de FinderIndexerAdapter.
Références $config.
Documentation des fonctions membres
plgFinderContent::getListQuery |
( |
|
$sql = null | ) |
|
|
protected |
Method to index an item. The item must be a FinderIndexerResult object.
- Paramètres:
-
- Renvoie:
- void
- Depuis:
- 2.5
- Exceptions:
-
Exception | on database error. |
Références $title, FinderIndexerResult\addInstruction(), FinderIndexerResult\addTaxonomy(), ContentHelperRoute\getArticleRoute(), FinderIndexerHelper\getContentExtras(), FinderIndexerHelper\getContentPath(), JComponentHelper\getParams(), FinderIndexer\index(), JComponentHelper\isEnabled(), JRegistry\loadString(), FinderIndexer\META_CONTEXT, et FinderIndexerHelper\prepareContent().
plgFinderContent::onFinderAfterDelete |
( |
|
$context, |
|
|
|
$table |
|
) |
| |
Method to remove the link information for items that have been deleted.
- Paramètres:
-
string | $context | The context of the action being performed. |
JTable | $table | A JTable object containing the record to be deleted |
- Renvoie:
- boolean True on success.
- Depuis:
- 2.5
- Exceptions:
-
Exception | on database error. |
Références $id, et elseif.
plgFinderContent::onFinderAfterSave |
( |
|
$context, |
|
|
|
$row, |
|
|
|
$isNew |
|
) |
| |
Method to determine if the access level of an item changed.
- Paramètres:
-
string | $context | The context of the content passed to the plugin. |
JTable | $row | A JTable object |
boolean | $isNew | If the content has just been created |
- Renvoie:
- boolean True on success.
- Depuis:
- 2.5
- Exceptions:
-
Exception | on database error. |
Références $row.
plgFinderContent::onFinderBeforeSave |
( |
|
$context, |
|
|
|
$row, |
|
|
|
$isNew |
|
) |
| |
Method to reindex the link information for an item that has been saved. This event is fired before the data is actually saved so we are going to queue the item to be indexed later.
- Paramètres:
-
string | $context | The context of the content passed to the plugin. |
JTable | $row | A JTable object |
boolean | $isNew | If the content is just about to be created |
- Renvoie:
- boolean True on success.
- Depuis:
- 2.5
- Exceptions:
-
Exception | on database error. |
Références $row.
plgFinderContent::onFinderCategoryChangeState |
( |
|
$extension, |
|
|
|
$pks, |
|
|
|
$value |
|
) |
| |
Method to update the item link information when the item category is changed. This is fired when the item category is published or unpublished from the list view.
- Paramètres:
-
string | $extension | The extension whose category has been updated. |
array | $pks | A list of primary key ids of the content that has changed state. |
integer | $value | The value of the state that the content has been changed to. |
- Renvoie:
- void
- Depuis:
- 2.5
Références $extension.
plgFinderContent::onFinderChangeState |
( |
|
$context, |
|
|
|
$pks, |
|
|
|
$value |
|
) |
| |
Method to update the link information for items that have been changed from outside the edit screen. This is fired when the item is published, unpublished, archived, or unarchived from the list view.
- Paramètres:
-
string | $context | The context for the content passed to the plugin. |
array | $pks | A list of primary key ids of the content that has changed state. |
integer | $value | The value of the state that the content has been changed to. |
- Renvoie:
- void
- Depuis:
- 2.5
plgFinderContent::setup |
( |
| ) |
|
|
protected |
Method to setup the indexer to be run.
- Renvoie:
- boolean True on success.
- Depuis:
- 2.5
Réimplémentée à partir de FinderIndexerAdapter.
Références JPATH_SITE.
Documentation des données membres
plgFinderContent::$context = 'Content' |
|
protected |
plgFinderContent::$extension = 'com_content' |
|
protected |
plgFinderContent::$layout = 'article' |
|
protected |
plgFinderContent::$table = '#__content' |
|
protected |
plgFinderContent::$type_title = 'Article' |
|
protected |
La documentation de cette classe a été générée à partir du fichier suivant :