[ Index ]

PHP Cross Reference of Joomla 2.5.4 DE

title

Body

[close]

/libraries/joomla/database/table/ -> extension.php (summary)

(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: 199 lines (5 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

JTableExtension:: (5 methods):
  __construct()
  check()
  bind()
  find()
  publish()


Class: JTableExtension  - X-Ref

Extension table
Replaces plugins table

__construct(&$db)   X-Ref
Constructor

param: JDatabase  &$db  A database connector object

check()   X-Ref
Overloaded check function

return: boolean  True if the object is ok

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

find($options = array()   X-Ref
Method to create and execute a SELECT WHERE query.

param: array  $options  Array of options
return: JDatabase  The database query result

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
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.



Generated: Tue Apr 3 11:40:28 2012 Cross-referenced by PHPXref 0.7.1