![]() |
Joomla Platform
13.1
Documentation des API du framework Joomla Platform
|
Fonctions membres publiques | |
__construct (JDatabaseDriver $db) | |
check () | |
bind ($array, $ignore= '') | |
find ($options=array()) | |
publish ($pks=null, $state=1, $userId=0) | |
![]() | |
__construct ($table, $key, JDatabaseDriver $db) | |
attachObserver (JObserverInterface $observer) | |
getObserverOfClass ($observerClass) | |
getFields () | |
appendPrimaryKeys ($query, $pk=null) | |
getTableName () | |
getKeyName ($multiple=false) | |
getDbo () | |
setDBO (JDatabaseDriver $db) | |
setRules ($input) | |
getRules () | |
reset () | |
load ($keys=null, $reset=true) | |
store ($updateNulls=false) | |
save ($src, $orderingFilter= '', $ignore= '') | |
delete ($pk=null) | |
checkOut ($userId, $pk=null) | |
checkIn ($pk=null) | |
hasPrimaryKey () | |
hit ($pk=null) | |
isCheckedOut ($with=0, $against=null) | |
getNextOrder ($where= '') | |
getPrimaryKey (array $keys=array()) | |
reorder ($where= '') | |
move ($delta, $where= '') | |
![]() | |
__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) |
Additional Inherited Members | |
![]() | |
static | getInstance ($type, $prefix= 'JTable', $config=array()) |
static | addIncludePath ($path=null) |
![]() | |
_getAssetName () | |
_getAssetTitle () | |
_getAssetParentId (JTable $table=null, $id=null) | |
_lock () | |
_unlock () | |
![]() | |
$_tbl = '' | |
$_tbl_key = '' | |
$_tbl_keys = array() | |
$_db | |
$_trackAssets = false | |
$_rules | |
$_locked = false | |
$_autoincrement = true | |
$_observers | |
![]() | |
$_errors = array() |
Définition à la ligne 20 du fichier extension.php.
JTableExtension::__construct | ( | JDatabaseDriver | $db | ) |
Constructor
JDatabaseDriver | $db | Database driver object. |
Définition à la ligne 29 du fichier extension.php.
JTableExtension::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.
Définition à la ligne 66 du fichier extension.php.
Références JRegistry\loadArray().
JTableExtension::check | ( | ) |
Overloaded check function
Réimplémentée à partir de JTable.
Définition à la ligne 42 du fichier extension.php.
Références JText\_().
JTableExtension::find | ( | $options = array() | ) |
Method to create and execute a SELECT WHERE query.
array | $options | Array of options |
Définition à la ligne 94 du fichier extension.php.
JTableExtension::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.
Définition à la ligne 125 du fichier extension.php.
Références JText\_(), et JArrayHelper\toInteger().