[ Index ]

PHP Cross Reference of Joomla 2.5.4 DE

title

Body

[close]

/administrator/components/com_banners/tables/ -> banner.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: 327 lines (9 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

BannersTableBanner:: (7 methods):
  __construct()
  clicks()
  check()
  bind()
  store()
  publish()
  stick()


Class: BannersTableBanner  - X-Ref

Banner table

__construct(&$_db)   X-Ref
Constructor


clicks()   X-Ref
No description

check()   X-Ref
Overloaded check function

return: boolean

bind($array, $ignore = array()   X-Ref
Overloaded bind function

param: array        $hash named array
return: null|string    null is operation was satisfactory, otherwise returns an error

store($updateNulls = false)   X-Ref
method to store a row

param: boolean $updateNulls True to update fields even if they are null.

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, 2=archived, -2=trashed]
param: integer The user id of the user performing the operation.
return: boolean    True on success.

stick($pks = null, $state = 1, $userId = 0)   X-Ref
Method to set the sticky 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 sticky state. eg. [0 = unsticked, 1 = sticked]
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