[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/administrator/components/com_templates/src/Table/ -> StyleTable.php (summary)

(no description)

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

Defines 1 class

StyleTable:: (5 methods):
  __construct()
  bind()
  check()
  store()
  delete()


Class: StyleTable  - X-Ref

Template style table class.

__construct(DatabaseDriver $db)   X-Ref
Constructor

param: DatabaseDriver  $db  A database connector object

bind($array, $ignore = '')   X-Ref
Overloaded bind function to pre-process the params.

param: array  $array   Named array
param: mixed  $ignore  An optional array or space separated list of properties to ignore while binding.
return: null|string null if operation was satisfactory, otherwise returns an error

check()   X-Ref
Overloaded check method to ensure data integrity.

return: boolean  True on success.

store($updateNulls = false)   X-Ref
Overloaded store method to ensure unicity of default style.

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

delete($pk = null)   X-Ref
Overloaded store method to unsure existence of a default style for a template.

param: mixed  $pk  An optional primary key value to delete.  If not set the instance property value is used.
return: boolean  True on success.



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