[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/administrator/components/com_workflow/src/Table/ -> StageTable.php (summary)

(no description)

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

Defines 1 class

StageTable:: (8 methods):
  __construct()
  delete()
  check()
  store()
  bind()
  _getAssetName()
  _getAssetTitle()
  _getAssetParentId()


Class: StageTable  - X-Ref

Stage table

__construct(DatabaseDriver $db)   X-Ref

param: DatabaseDriver  $db  Database connector object

delete($pk = null)   X-Ref
Deletes workflow with transition and stages.

param: int  $pk  Extension ids to delete.
return: boolean  True on success.

check()   X-Ref
Overloaded check function

return: boolean  True on success

store($updateNulls = true)   X-Ref
Overloaded store function

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

bind($src, $ignore = array()   X-Ref
Method to bind an associative array or object to the Table instance.
This method only binds properties that are publicly accessible and optionally
takes an array of properties to ignore when binding.

param: array|object  $src     An associative array or object to bind to the Table instance.
param: array|string  $ignore  An optional array or space separated list of properties to ignore while binding.
return: boolean  True on success.

_getAssetName()   X-Ref
Method to compute the default name of the asset.
The default name is in the form table_name.id
where id is the value of the primary key of the table.

return: string

_getAssetTitle()   X-Ref
Method to return the title to use for the asset table.

return: string

_getAssetParentId(Table $table = null, $id = null)   X-Ref
Get the parent asset id for the record

param: Table|null    $table  A Table object for the asset parent.
param: integer|null  $id     The id for the asset
return: integer  The id of the asset's parent



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