[ Index ]

PHP Cross Reference of Joomla 2.5.4 DE

title

Body

[close]

/administrator/components/com_messages/tables/ -> message.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.txt
File Size: 125 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

MessagesTableMessage:: (3 methods):
  __construct()
  check()
  publish()


Class: MessagesTableMessage  - X-Ref

Message Table class

__construct(& $db)   X-Ref
Constructor

param: database A database connector object

check()   X-Ref
Validation and filtering.

return: boolean

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    An optional array of primary key values to update.  If not
param: integer The publishing state. eg. [0 = unpublished, 1 = published]
param: integer 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