| [ Index ] |
PHP Cross Reference of Joomla 2.5.4 DE |
[Source view] [Print] [Project Stats]
(no description)
| Copyright: | Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved. |
| License: | GNU General Public License version 2 or later; see LICENSE |
| File Size: | 401 lines (10 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
JTableContent:: (9 methods):
__construct()
_getAssetName()
_getAssetTitle()
_getAssetParentId()
bind()
check()
store()
publish()
toXML()
Class: JTableContent - X-Ref
Content table| __construct(&$db) X-Ref |
| Constructor param: JDatabase &$db A database connector object |
| _getAssetName() X-Ref |
| 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. return: string |
| _getAssetTitle() X-Ref |
| Method to return the title to use for the asset table. return: string |
| _getAssetParentId($table = null, $id = null) X-Ref |
| Method to get the parent asset id for the record param: JTable $table A JTable object (optional) for the asset parent param: integer $id The id (optional) of the content. return: integer |
| bind($array, $ignore = '') X-Ref |
| Overloaded bind function param: array $array Named array param: mixed $ignore An optional array or space separated list of properties return: mixed Null if operation was satisfactory, otherwise returns an error string |
| check() X-Ref |
| Overloaded check function return: boolean True on success, false on failure |
| store($updateNulls = false) X-Ref |
| Overrides JTable::store to set modified data and user id. param: boolean $updateNulls True to update fields even if they are null. return: boolean True on success. |
| publish($pks = null, $state = 1, $userId = 0) X-Ref |
| 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. param: mixed $pks An optional array of primary key values to update. If not set the instance property value is used. param: integer $state The publishing state. eg. [0 = unpublished, 1 = published] param: integer $userId The user id of the user performing the operation. return: boolean True on success. |
| toXML($mapKeysToText = false) X-Ref |
| Converts record to XML param: boolean $mapKeysToText Map foreign keys to text values return: string Record in XML format |
| Generated: Tue Apr 3 11:40:28 2012 | Cross-referenced by PHPXref 0.7.1 |