Overview

Packages

  • CONTENIDO
  • Core
    • Authentication
    • Backend
    • Cache
    • CEC
    • Chain
    • ContentType
    • Database
    • Debug
    • Exception
    • Frontend
      • Search
      • URI
      • Util
    • GenericDB
      • Model
    • GUI
      • HTML
    • I18N
    • LayoutHandler
    • Log
    • Security
    • Session
    • Util
    • Validation
    • Versioning
    • XML
  • Module
    • ContentSitemapHtml
    • ContentSitemapXml
    • ContentUserForum
    • NavigationTop
    • ScriptCookieDirective
  • mpAutoloaderClassMap
  • None
  • PHP
  • Plugin
    • ContentAllocation
    • CronjobOverview
    • FormAssistant
    • FrontendLogic
    • FrontendUsers
    • Linkchecker
    • ModRewrite
    • Newsletter
    • Repository
      • FrontendNavigation
      • KeywordDensity
    • SIWECOS
    • SmartyWrapper
    • UrlShortener
    • UserForum
    • Workflow
  • PluginManager
  • Setup
    • Form
    • GUI
    • Helper
      • Environment
      • Filesystem
      • MySQL
      • PHP
    • UpgradeJob

Classes

  • Workflow
  • WorkflowAction
  • WorkflowActions
  • WorkflowAllocation
  • WorkflowAllocations
  • WorkflowArtAllocation
  • WorkflowArtAllocations
  • WorkflowItem
  • WorkflowItems
  • Workflows
  • WorkflowTask
  • WorkflowTasks
  • WorkflowUserSequence
  • WorkflowUserSequences

Functions

  • createNewWorkflow
  • doWorkflowAction
  • editWorkflowStep
  • getActionSelect
  • getCatLang
  • getCurrentUserSequence
  • getLastWorkflowStatus
  • getTimeUnitSelector
  • getUsers
  • getWorkflowForCat
  • getWorkflowForUserSequence
  • getWorkflowList
  • getWorkflowUsers
  • isCurrentEditor
  • piworkflowAllowArticleEdit
  • piworkflowCategoryColumns
  • piworkflowCategoryRenderColumn
  • piworkflowCreateTasksFolder
  • piworkflowProcessActions
  • piworkflowProcessArticleColumns
  • piworkflowRenderAction
  • piworkflowRenderColumn
  • prepareWorkflowItems
  • setUserSequence
  • workflowInherit
  • workflowSelect
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo

Class WorkflowItem

Class WorkflowItem Class for a single workflow item

cGenericDb
Extended by cItemBaseAbstract
Extended by Item
Extended by WorkflowItem
Package: Plugin\Workflow
Copyright: four for business 2003
License: http://www.contenido.org/license/LIZENZ.txt
Author: Timo A. Hummel <Timo.Hummel@4fb.de>
Version: 0.1
Located at plugins/workflow/classes/class.workflowitems.php
Methods summary
public
# __construct( )

Constructor Function

Constructor Function

Throws

cInvalidArgumentException

Overrides

Item::__construct()
public mixed
# getStepRights( )

Returns

mixed

Throws

cDbException
cException
public boolean
# setField( string $field, string $value, boolean $safe = true )

Overridden setField function.

Overridden setField function.

Parameters

$field
string
$field Void field since we override the usual setField function
$value
string
$value Void field since we override the usual setField function
$safe
boolean
$safe

Returns

boolean

Throws

cInvalidArgumentException
if the field is idsequence, idworkflow or position

Overrides

Item::setField()
public boolean
# init( integer $idworkflow, integer $idposition )

init initializes a new wf_items entry. Should only be called by the create function.

init initializes a new wf_items entry. Should only be called by the create function.

Parameters

$idworkflow
integer
$idworkflow The workflow to set the item to
$idposition
integer
$idposition Position of workflow item

Returns

boolean

Throws

cDbException
cException
cInvalidArgumentException
public boolean
# setPosition( integer $idposition )

setPosition Sets the position for an item. Should only be called by the "swap" function

setPosition Sets the position for an item. Should only be called by the "swap" function

Parameters

$idposition
integer
$idposition The new position ID

Returns

boolean

Throws

cDbException
cInvalidArgumentException
Methods inherited from Item
_inFilter(), _loadByWhereClause(), _onLoad(), _resetItem(), _setMetaObject(), deleteProperty(), deletePropertyById(), get(), getField(), getMetaObject(), getProperty(), loadBy(), loadByMany(), loadByPrimaryKey(), loadByRecordSet(), outFilter(), set(), setFilters(), setProperty(), store(), toArray(), toObject()
Methods inherited from cItemBaseAbstract
__get(), __set(), _getPropertiesCollectionInstance(), _getSecondDBInstance(), _setLoaded(), _setPrimaryKeyName(), escape(), getPrimaryKeyName(), isLoaded()
Methods inherited from cGenericDb
_executeCallbacks(), register(), unregister()
Constants inherited from cGenericDb
CREATE_BEFORE, CREATE_FAILURE, CREATE_SUCCESS, DELETE_BEFORE, DELETE_FAILURE, DELETE_SUCCESS, STORE_BEFORE, STORE_FAILURE, STORE_SUCCESS
Properties inherited from Item
$_arrInFilters, $_arrOutFilters, $_lastSQL, $_metaObject, $modifiedValues, $oldPrimaryKey, $values
Properties inherited from cItemBaseAbstract
$_className, $_loaded, $_oCache, $_primaryKeyName, $_settings, $db, $lasterror, $properties, $secondDb, $table
CMS CONTENIDO 4.10.1 API documentation generated by ApiGen 2.8.0