Joomla CMS  3.10.11 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.10.11 et du framework Joomla Platform intégré
Tout Structures de données Espaces de nommage Fichiers Fonctions Variables Pages
Référence de la classe InstallerModelManage
+ Graphe d'héritage de InstallerModelManage:

Fonctions membres publiques

 __construct ($config=array())
 
 publish (&$eid=array(), $value=1)
 
 refresh ($eid)
 
 remove ($eid=array())
 
- Fonctions membres publiques hérités de InstallerModel
 __construct ($config=array())
 

Fonctions membres protégées

 populateState ($ordering='name', $direction='asc')
 
 getListQuery ()
 
- Fonctions membres protégées hérités de InstallerModel
 _getList ($query, $limitstart=0, $limit=0)
 
 translate (&$items)
 

Description détaillée

Installer Manage Model

Depuis
1.5

Documentation des constructeurs et destructeur

◆ __construct()

__construct (   $config = array())

Constructor.

Paramètres
array$configAn optional associative array of configuration settings.
Voir également
JController
Depuis
1.6

Références $config.

Documentation des fonctions membres

◆ getListQuery()

getListQuery ( )
protected

Method to get the database query

Renvoie
JDatabaseQuery The database query
Depuis
1.6

Références $clientId, $folder, $query, $type, et elseif.

◆ populateState()

populateState (   $ordering = 'name',
  $direction = 'asc' 
)
protected

Method to auto-populate the model state.

Note. Calling getState in this method will result in recursion.

Paramètres
string$orderingAn optional ordering field.
string$directionAn optional direction (asc|desc).
Renvoie
void
Depuis
1.6

Références $app, $direction, $ordering, et null.

◆ publish()

publish ( $eid = array(),
  $value = 1 
)

Enable/Disable an extension.

Paramètres
array$eidExtension ids to un/publish
int$valuePublish value
Renvoie
boolean True on success
Depuis
1.5

Références $context, $i, $id, $name, $style, $user, $value, JEventDispatcher\getInstance(), JPATH_ADMINISTRATOR, option, JError\raiseNotice(), JError\raiseWarning(), et PHPMailer\setError().

◆ refresh()

refresh (   $eid)

Refreshes the cached manifest information for an extension.

Paramètres
int$eidextension identifier (key in #__extensions)
Renvoie
boolean result of refresh
Depuis
1.6

Références $id.

◆ remove()

remove (   $eid = array())

Remove (uninstall) an extension

Paramètres
array$eidAn array of identifiers
Renvoie
boolean True on success
Depuis
1.5

Références $app, $id, $msgs, $row, $user, et JError\raiseWarning().


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