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
    • 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:  */
22: class WorkflowTasks extends ItemCollection {
23: 
24:     /**
25:      * Constructor Function
26:      */
27:     public function __construct() {
28:         global $cfg;
29:         parent::__construct($cfg["tab"]["tasks"], "idtask");
30:         $this->_setItemClass("WorkflowTask");
31:     }
32: 
33:     public function create() {
34:         $newitem = $this->createNewItem();
35:         return ($newitem);
36:     }
37: 
38:     public function select($where = "", $group_by = "", $order_by = "", $limit = "") {
39:         global $client;
40: 
41:         if ($where != "") {
42:             $where = $where . " AND idclient = " . cSecurity::toInteger($client);
43:         }
44:         return parent::select($where, $group_by, $order_by, $limit);
45:     }
46: 
47: }
48: 
49: /**
50:  * Class WorkflowTask
51:  * Class for a single workflow task item
52:  *
53:  * @package Plugin
54:  * @subpackage Workflow
55:  * @author Timo A. Hummel <Timo.Hummel@4fb.de>
56:  * @version 0.1
57:  * @copyright four for business 2003
58:  */
59: class WorkflowTask extends Item {
60: 
61:     /**
62:      * Constructor Function
63:      */
64:     public function __construct() {
65:         global $cfg;
66:         parent::__construct($cfg["tab"]["tasks"], "idtask");
67:     }
68: 
69: }
70: 
71: ?>
CMS CONTENIDO 4.10.0 API documentation generated by ApiGen 2.8.0