Joomla CMS  4.2.2
Documentation des API du CMS Joomla en version 4.2.2
Référence de la classe HistoryController
+ Graphe d'héritage de HistoryController:

Fonctions membres publiques

 getModel ($name='History', $prefix='Administrator', $config=array('ignore_request'=> true))
 
 keep ()
 
- Fonctions membres publiques hérités de AdminController
 __construct ($config=array(), MVCFactoryInterface $factory=null, ?CMSApplication $app=null, ?Input $input=null)
 
 delete ()
 
 publish ()
 
 reorder ()
 
 saveorder ()
 
 checkin ()
 
 saveOrderAjax ()
 
 runTransition ()
 
- Fonctions membres publiques hérités de BaseController
 __construct ($config=array(), MVCFactoryInterface $factory=null, ?CMSApplication $app=null, ?Input $input=null)
 
 addViewPath ($path)
 
 execute ($task)
 
 getModel ($name='', $prefix='', $config=array())
 
 getName ()
 
 getTask ()
 
 getTasks ()
 
 getView ($name='', $type='', $prefix='', $config=array())
 
 redirect ()
 
 registerDefaultTask ($method)
 
 registerTask ($task, $method)
 
 unregisterTask ($task)
 
 setMessage ($text, $type='message')
 
 checkToken ($method='post', $redirect=true)
 
 setRedirect ($url, $msg=null, $type=null)
 
- Fonctions membres publiques hérités de DispatcherAwareInterface
 setDispatcher (DispatcherInterface $dispatcher)
 

Fonctions membres protégées

 getRedirectToListAppend ()
 
- Fonctions membres protégées hérités de AdminController
 postDeleteHook (BaseDatabaseModel $model, $id=null)
 
 getRedirectToListAppend ()
 
- Fonctions membres protégées hérités de BaseController
 addPath ($type, $path)
 
 checkEditId ($context, $id)
 
 createModel ($name, $prefix='', $config=array())
 
 createView ($name, $prefix='', $type='', $config=array())
 
 holdEditId ($context, $id)
 
 releaseEditId ($context, $id)
 
 setPath ($type, $path)
 

Membres hérités additionnels

- Fonctions membres publiques statiques hérités de BaseController
static addModelPath ($path, $prefix='')
 
static createFileName ($type, $parts=array())
 
static getInstance ($prefix, $config=array())
 
- Attributs protégés hérités de AdminController
 $option
 
 $text_prefix
 
 $view_list
 
- Attributs protégés hérités de BaseController
 $basePath
 
 $default_view
 
 $doTask
 
 $message
 
 $messageType
 
 $methods
 
 $name
 
 $model_prefix
 
 $paths
 
 $redirect
 
 $task
 
 $taskMap
 
 $input
 
 $factory
 
 $app
 
- Attributs protégés statiques hérités de BaseController
static $instance
 
static $views
 

Description détaillée

Contenthistory list controller class.

Depuis
3.2

Documentation des fonctions membres

◆ getModel()

getModel (   $name = 'History',
  $prefix = 'Administrator',
  $config = array('ignore_request' => true) 
)

Proxy for getModel.

Paramètres
string$nameThe name of the model
string$prefixThe prefix for the model
array$configAn additional array of parameters
Renvoie
The model
Depuis
3.2

Références $config, $name, et $prefix.

◆ getRedirectToListAppend()

getRedirectToListAppend ( )
protected

Gets the URL arguments to append to a list redirect.

Renvoie
string The arguments to append to the redirect URL.
Depuis
4.0.0

Références Session\getFormToken().

◆ keep()

keep ( )

Toggles the keep forever value for one or more history rows. If it was Yes, changes to No. If No, changes to Yes.

Renvoie
void
Depuis
3.2

Method to edit an existing record.

Renvoie
static A object to support chaining.
Depuis
4.0.0

Références $model, Text\_(), Route\_(), Joomla\Application\checkToken(), false, Session\getFormToken(), et Text\plural().


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