[ Index ]

PHP Cross Reference of Joomla 2.5.4 DE

title

Body

[close]

/administrator/components/com_users/tables/ -> note.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: 152 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

UsersTableNote:: (3 methods):
  __construct()
  store()
  publish()


Class: UsersTableNote  - X-Ref

User notes table class

__construct(&$db)   X-Ref
Constructor

param: JDatabase  &$db  Database object

store($updateNulls = false)   X-Ref
Overloaded store method for the notes table.

param: boolean  $updateNulls  Toggle whether null values should be updated.
return: boolean  True on success, false on failure.

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



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