API15:JTable
出典: Joomla! ドキュメンテーション
目次 |
Defined in
libraries/joomla/database/table.php
Methods
| Method name | Description |
|---|---|
| __construct | Object constructor to set table and key field |
| getInstance | Returns a reference to the a Table object, always creating it |
| getDBO | Get the internal database object |
| setDBO | Set the internal database object |
| getTableName | Gets the internal table name for the object |
| getKeyName | Gets the internal primary key name |
| reset | Resets the default properties void |
| bind | Binds a named array/hash to this object |
| load | Loads a row from the database and binds the fields to the object properties |
| check | Generic check method |
| store | Inserts a new row if id is zero or updates an existing row in the database table |
| move | Description |
| getNextOrder | Returns the ordering value to place a new item last in its group |
| reorder | Compacts the ordering sequence of the selected records |
| canDelete | Generic check for whether dependancies exist for this object in the db schema |
| delete | Default delete method |
| checkout | Checks out a row |
| checkin | Checks in a row |
| hit | Description |
| save | Generic save function |
| publish | Generic Publish/Unpublish function |
| toXML | Export item list to xml |
| addIncludePath | Add a directory where JTable should search for table types. You may either pass a string or an array of directories. |
| isCheckedOut | Check if an item is checked out |
Importing
jimport( 'joomla.database.table' );
Examples
<CodeExamplesForm />
自動更新 2012/05/24 02:15:28
