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é
|
Fonctions membres publiques | |
getTable ($type= 'Link', $prefix= 'RedirectTable', $config=array()) | |
getForm ($data=array(), $loadData=true) | |
activate (&$pks, $url, $comment=null) | |
Fonctions membres publiques inherited from JModelAdmin | |
__construct ($config=array()) | |
batch ($commands, $pks, $contexts) | |
checkin ($pks=array()) | |
checkout ($pk=null) | |
delete (&$pks) | |
getItem ($pk=null) | |
publish (&$pks, $value=1) | |
reorder ($pks, $delta=0) | |
save ($data) | |
saveorder ($pks=null, $order=null) | |
Fonctions membres publiques inherited from JModelForm | |
validate ($form, $data, $group=null) | |
Fonctions membres publiques inherited from JModel | |
getDbo () | |
getName () | |
getState ($property=null, $default=null) | |
setDbo (&$db) | |
setState ($property, $value=null) | |
Fonctions membres publiques inherited from JObject | |
__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 | |
canDelete ($record) | |
canEditState ($record) | |
loadFormData () | |
Fonctions membres protégées inherited from JModelAdmin | |
batchAccess ($value, $pks, $contexts) | |
batchCopy ($value, $pks, $contexts) | |
batchLanguage ($value, $pks, $contexts) | |
batchMove ($value, $pks, $contexts) | |
generateNewTitle ($category_id, $alias, $title) | |
getReorderConditions ($table) | |
populateState () | |
prepareTable (&$table) | |
Fonctions membres protégées inherited from JModelForm | |
loadForm ($name, $source=null, $options=array(), $clear=false, $xpath=false) | |
preprocessForm (JForm $form, $data, $group= 'content') | |
Fonctions membres protégées inherited from JModel | |
_getList ($query, $limitstart=0, $limit=0) | |
_getListCount ($query) | |
_createTable ($name, $prefix= 'Table', $config=array()) | |
cleanCache ($group=null, $client_id=0) |
Attributs protégés | |
$text_prefix = 'COM_REDIRECT' | |
Attributs protégés inherited from JModelAdmin | |
$event_after_delete = null | |
$event_after_save = null | |
$event_before_delete = null | |
$event_before_save = null | |
$event_change_state = null | |
Attributs protégés inherited from JModelForm | |
$_forms = array() | |
Attributs protégés inherited from JModel | |
$__state_set = null | |
$_db | |
$name | |
$option = null | |
$state | |
$event_clean_cache = null | |
Attributs protégés inherited from JObject | |
$_errors = array() |
RedirectModelLink::activate | ( | & | $pks, |
$url, | |||
$comment = null |
|||
) |
Method to activate links.
array | An array of link ids. |
string | The new URL to set for the redirect. |
string | A comment for the redirect links. |
Références $db, $url, $user, JHtml\_(), JText\_(), JFactory\getUser(), JText\sprintf(), et JArrayHelper\toInteger().
|
protected |
Method to test whether a record can be deleted.
object | $record | A record object. |
Réimplémentée à partir de JModelAdmin.
Références $user, et JFactory\getUser().
|
protected |
Method to test whether a record can have its state edited.
object | $record | A record object. |
Réimplémentée à partir de JModelAdmin.
Références $user, et JFactory\getUser().
RedirectModelLink::getForm | ( | $data = array() , |
|
$loadData = true |
|||
) |
Method to get the record form.
array | $data | Data for the form. |
boolean | $loadData | True if the form is to load its own data (default case), false if not. |
Réimplémentée à partir de JModelForm.
Références $data.
RedirectModelLink::getTable | ( | $type = 'Link' , |
|
$prefix = 'RedirectTable' , |
|||
$config = array() |
|||
) |
Returns a reference to the a Table object, always creating it.
type | The table type to instantiate |
string | A prefix for the table class name. Optional. |
array | Configuration array for model. Optional. |
Réimplémentée à partir de JModel.
Références $config, $type, et JTable\getInstance().
|
protected |
Method to get the data that should be injected in the form.
Réimplémentée à partir de JModelForm.
Références $data, et JFactory\getApplication().
|
protected |
Réimplémentée à partir de JModelAdmin.