[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/administrator/components/com_banners/src/Table/ -> BannerTable.php (summary)

(no description)

Copyright: (C) 2005 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
File Size: 361 lines (11 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

BannerTable:: (7 methods):
  __construct()
  clicks()
  check()
  bind()
  store()
  stick()
  getTypeAlias()


Class: BannerTable  - X-Ref

Banner table

__construct(DatabaseDriver $db)   X-Ref
Constructor

param: DatabaseDriver  $db  Database connector object

clicks()   X-Ref
Increase click count

return: void

check()   X-Ref
Overloaded check function

return: boolean

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

param: mixed  $array   An associative array or object to bind to the \JTable instance.
param: mixed  $ignore  An optional array or space separated list of properties to ignore while binding.
return: boolean  True on success

store($updateNulls = true)   X-Ref
Method to store a row

param: boolean  $updateNulls  True to update fields even if they are null.
return: boolean  True on success, false on failure.

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    $pks     An optional array of primary key values to update.  If not set the instance property value is used.
param: integer  $state   The sticky state. eg. [0 = unsticked, 1 = sticked]
param: integer  $userId  The user id of the user performing the operation.
return: boolean  True on success.

getTypeAlias()   X-Ref
Get the type alias for the history table

return: string  The alias as described above



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer