Joomla CMS  2.5.24 (avec JPlatform 11.4 inclus)
Documentation des API du CMS Joomla en version 2.5 et du framework Joomla Platform intégré
 Tout Classes Espaces de nommage Fichiers Fonctions Variables Pages
Référence de la classe plgFinderContacts
+ Graphe d'héritage de plgFinderContacts:
+ Graphe de collaboration de plgFinderContacts:

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)
- Fonctions membres publiques inherited from FinderIndexerAdapter
 onStartIndex ()
 onBeforeIndex ()
 onBuildIndex ()
- Fonctions membres publiques inherited from JPlugin
 loadLanguage ($extension= '', $basePath=JPATH_ADMINISTRATOR)
- Fonctions membres publiques inherited from JEvent
 __construct (&$subject)
 update (&$args)
- Fonctions membres publiques inherited from JObject
 __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)
- Fonctions membres protégées inherited from FinderIndexerAdapter
 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)

Attributs protégés

 $context = 'Contacts'
 $extension = 'com_contact'
 $layout = 'contact'
 $type_title = 'Contact'
 $table = '#__contact_details'
 $state_field = 'published'
- Attributs protégés inherited from FinderIndexerAdapter
 $mime
 $old_access
 $old_cataccess
 $type_id
 $db
- Attributs protégés inherited from JPlugin
 $_name = null
 $_type = null
- Attributs protégés inherited from JEvent
 $_subject = null
- Attributs protégés inherited from JObject
 $_errors = array()

Documentation des constructeurs et destructeur

plgFinderContacts::__construct ( $subject,
  $config 
)

Constructor

Paramètres:
object&$subjectThe object to observe
array$configAn array that holds the plugin configuration
Depuis:
2.5

Réimplémentée à partir de FinderIndexerAdapter.

Références $config.


Documentation des fonctions membres

plgFinderContacts::getListQuery (   $sql = null)
protected

Method to get the SQL query used to retrieve the list of content items.

Paramètres:
mixed$sqlA JDatabaseQuery object or null.
Renvoie:
JDatabaseQuery A database object.
Depuis:
2.5

Réimplémentée à partir de FinderIndexerAdapter.

Références $db, et JFactory\getDbo().

+ Voici le graphe d'appel pour cette fonction :

plgFinderContacts::index ( FinderIndexerResult  $item,
  $format = 'html' 
)
protected

Method to index an item. The item must be a FinderIndexerResult object.

Paramètres:
FinderIndexerResult$itemThe item to index as an FinderIndexerResult object.
string$formatThe item format
Renvoie:
void
Depuis:
2.5
Exceptions:
Exceptionon database error.

Références $title, FinderIndexerResult\addInstruction(), FinderIndexerResult\addTaxonomy(), ContactHelperRoute\getContactRoute(), FinderIndexerHelper\getContentExtras(), FinderIndexerHelper\getContentPath(), FinderIndexer\index(), JComponentHelper\isEnabled(), JRegistry\loadString(), et FinderIndexer\META_CONTEXT.

+ Voici le graphe d'appel pour cette fonction :

plgFinderContacts::onFinderAfterDelete (   $context,
  $table 
)

Method to remove the link information for items that have been deleted.

This event will fire when contacts are deleted and when an indexed item is deleted.

Paramètres:
string$contextThe context of the action being performed.
JTable$tableA JTable object containing the record to be deleted
Renvoie:
boolean True on success.
Depuis:
2.5
Exceptions:
Exceptionon database error.

Références $id, et elseif.

plgFinderContacts::onFinderAfterSave (   $context,
  $row,
  $isNew 
)

Method to determine if the access level of an item changed.

Paramètres:
string$contextThe context of the content passed to the plugin.
JTable$rowA JTable object
boolean$isNewIf the content has just been created
Renvoie:
boolean True on success.
Depuis:
2.5
Exceptions:
Exceptionon database error.

Références $row.

plgFinderContacts::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$contextThe context of the content passed to the plugin.
JTable$rowA JTable object
boolean$isNewIf the content is just about to be created
Renvoie:
boolean True on success.
Depuis:
2.5
Exceptions:
Exceptionon database error.

Références $row.

plgFinderContacts::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$extensionThe extension whose category has been updated.
array$pksA list of primary key ids of the content that has changed state.
integer$valueThe value of the state that the content has been changed to.
Renvoie:
void
Depuis:
2.5

Références $extension.

plgFinderContacts::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$contextThe context for the content passed to the plugin.
array$pksA list of primary key ids of the content that has changed state.
integer$valueThe value of the state that the content has been changed to.
Renvoie:
void
Depuis:
2.5
plgFinderContacts::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 FinderIndexerHelper\getContentPath(), et JPATH_SITE.

+ Voici le graphe d'appel pour cette fonction :


Documentation des données membres

plgFinderContacts::$context = 'Contacts'
protected

Réimplémentée à partir de FinderIndexerAdapter.

plgFinderContacts::$extension = 'com_contact'
protected

Réimplémentée à partir de FinderIndexerAdapter.

plgFinderContacts::$layout = 'contact'
protected

Réimplémentée à partir de FinderIndexerAdapter.

plgFinderContacts::$state_field = 'published'
protected

Réimplémentée à partir de FinderIndexerAdapter.

plgFinderContacts::$table = '#__contact_details'
protected

Réimplémentée à partir de FinderIndexerAdapter.

plgFinderContacts::$type_title = 'Contact'
protected

Réimplémentée à partir de FinderIndexerAdapter.


La documentation de cette classe a été générée à partir du fichier suivant :