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 | |
__construct (&$db) | |
bind ($array, $ignore= '') | |
check () | |
store ($updateNulls=false) | |
publish ($pks=null, $state=1, $userId=0) | |
toXML ($mapKeysToText=false) | |
Fonctions membres publiques inherited from JTable | |
__construct ($table, $key, &$db) | |
getFields () | |
getTableName () | |
getKeyName () | |
getDbo () | |
setDBO (&$db) | |
setRules ($input) | |
getRules () | |
reset () | |
load ($keys=null, $reset=true) | |
save ($src, $orderingFilter= '', $ignore= '') | |
delete ($pk=null) | |
checkOut ($userId, $pk=null) | |
checkIn ($pk=null) | |
hit ($pk=null) | |
isCheckedOut ($with=0, $against=null) | |
getNextOrder ($where= '') | |
reorder ($where= '') | |
move ($delta, $where= '') | |
canDelete ($pk=null, $joins=null) | |
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 | |
_getAssetName () | |
_getAssetTitle () | |
_getAssetParentId ($table=null, $id=null) | |
Fonctions membres protégées inherited from JTable | |
_lock () | |
_unlock () |
Additional Inherited Members | |
Fonctions membres publiques statiques inherited from JTable | |
static | getInstance ($type, $prefix= 'JTable', $config=array()) |
static | addIncludePath ($path=null) |
Attributs protégés inherited from JTable | |
$_tbl = '' | |
$_tbl_key = '' | |
$_db | |
$_trackAssets = false | |
$_rules | |
$_locked = false | |
Attributs protégés inherited from JObject | |
$_errors = array() |
JTableContent::__construct | ( | & | $db | ) |
|
protected |
Method to compute the default name of the asset. The default name is in the form table_name.id where id is the value of the primary key of the table.
Réimplémentée à partir de JTable.
|
protected |
JTableContent::bind | ( | $array, | |
$ignore = '' |
|||
) |
Overloaded bind function
array | $array | Named array |
mixed | $ignore | An optional array or space separated list of properties to ignore while binding. |
Réimplémentée à partir de JTable.
Références JRegistry\loadArray().
JTableContent::check | ( | ) |
Overloaded check function
Réimplémentée à partir de JTable.
Références $key, $title, JText\_(), JFactory\getDate(), JString\str_ireplace(), JApplication\stringURLSafe(), et title.
JTableContent::publish | ( | $pks = null , |
|
$state = 1 , |
|||
$userId = 0 |
|||
) |
Method to set the publishing state for a row or list of rows in the database table. The method respects checked out rows by other users and will attempt to checkin rows that it can after adjustments are made.
mixed | $pks | An optional array of primary key values to update. If not set the instance property value is used. |
integer | $state | The publishing state. eg. [0 = unpublished, 1 = published] |
integer | $userId | The user id of the user performing the operation. |
Réimplémentée à partir de JTable.
Références $query, $state, $userId, JText\_(), et JArrayHelper\toInteger().
JTableContent::store | ( | $updateNulls = false | ) |
Overrides JTable::store to set modified data and user id.
boolean | $updateNulls | True to update fields even if they are null. |
Réimplémentée à partir de JTable.
Références $date, $user, JText\_(), JFactory\getDate(), JTable\getInstance(), et JFactory\getUser().
JTableContent::toXML | ( | $mapKeysToText = false | ) |
Converts record to XML
boolean | $mapKeysToText | Map foreign keys to text values |
Réimplémentée à partir de JTable.
Références $query, JLog\add(), et JLog\WARNING.