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
 1: <?php
 2: /**
 3:  * This file contains the class for workflow task collections.
 4:  *
 5:  * @package Plugin
 6:  * @subpackage Workflow
 7:  * @author Timo Hummel
 8:  * @copyright four for business AG <www.4fb.de>
 9:  * @license http://www.contenido.org/license/LIZENZ.txt
10:  * @link http://www.4fb.de
11:  * @link http://www.contenido.org
12:  */
13: 
14: defined('CON_FRAMEWORK') || die('Illegal call: Missing framework initialization - request aborted.');
15: 
16: /**
17:  * Class for workflow task collections.
18:  *
19:  * @package Plugin
20:  * @subpackage Workflow
21:  * @method WorkflowTask createNewItem
22:  * @method WorkflowTask next
23:  */
24: class WorkflowTasks extends ItemCollection {
25:     /**
26:      * WorkflowTasks constructor.
27:      *
28:      * @throws cInvalidArgumentException
29:      */
30:     public function __construct() {
31:         global $cfg;
32:         parent::__construct($cfg["tab"]["tasks"], "idtask");
33:         $this->_setItemClass("WorkflowTask");
34:     }
35: 
36:     /**
37:      * @return WorkflowTask
38:      */
39:     public function create() {
40:         return $this->createNewItem();
41:     }
42: 
43:     /**
44:      * @param string $where
45:      * @param string $group_by
46:      * @param string $order_by
47:      * @param string $limit
48:      *
49:      * @return bool
50:      */
51:     public function select($where = "", $group_by = "", $order_by = "", $limit = "") {
52:         global $client;
53: 
54:         if ($where != "") {
55:             $where = $where . " AND idclient = " . cSecurity::toInteger($client);
56:         }
57:         return parent::select($where, $group_by, $order_by, $limit);
58:     }
59: 
60: }
61: 
62: /**
63:  * Class WorkflowTask
64:  * Class for a single workflow task item
65:  *
66:  * @package Plugin
67:  * @subpackage Workflow
68:  * @author Timo A. Hummel <Timo.Hummel@4fb.de>
69:  * @version 0.1
70:  * @copyright four for business 2003
71:  */
72: class WorkflowTask extends Item {
73:     /**
74:      * WorkflowTask constructor.
75:      */
76:     public function __construct() {
77:         global $cfg;
78:         parent::__construct($cfg["tab"]["tasks"], "idtask");
79:     }
80: 
81: }
82: 
CMS CONTENIDO 4.10.1 API documentation generated by ApiGen 2.8.0