Overview

Packages

  • Core
    • Authentication
    • Backend
    • Cache
    • CEC
    • Chain
    • ContentType
    • Database
    • Datatype
    • Debug
    • Exception
    • Frontend
      • Search
      • URI
      • Util
    • GenericDB
      • Model
    • GUI
      • HTML
    • I18N
    • LayoutHandler
    • Log
    • Security
    • Session
    • Util
    • Validation
    • Versioning
    • XML
  • Module
    • ContentSitemapHtml
    • ContentSitemapXml
    • ContentUserForum
    • NavigationTop
  • mpAutoloaderClassMap
  • None
  • Plugin
    • ContentAllocation
    • CronjobOverview
    • FormAssistant
    • FrontendLogic
    • FrontendUsers
    • Linkchecker
    • ModRewrite
    • Newsletter
    • Repository
      • FrontendNavigation
      • KeywordDensity
    • SearchSolr
    • 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:  * @version SVN Revision $Rev:$
 8:  *
 9:  * @author Timo Hummel
10:  * @copyright four for business AG <www.4fb.de>
11:  * @license http://www.contenido.org/license/LIZENZ.txt
12:  * @link http://www.4fb.de
13:  * @link http://www.contenido.org
14:  */
15: 
16: defined('CON_FRAMEWORK') || die('Illegal call: Missing framework initialization - request aborted.');
17: 
18: /**
19:  * Class for workflow task collections.
20:  *
21:  * @package Plugin
22:  * @subpackage Workflow
23:  */
24: class WorkflowTasks extends ItemCollection {
25: 
26:     /**
27:      * Constructor Function
28:      *
29:      * @param string $table The table to use as information source
30:      */
31:     public function __construct() {
32:         global $cfg;
33:         parent::__construct($cfg["tab"]["tasks"], "idtask");
34:         $this->_setItemClass("WorkflowTask");
35:     }
36: 
37:     public function create() {
38:         $newitem = parent::createNewItem();
39:         return ($newitem);
40:     }
41: 
42:     public function select($where = "", $group_by = "", $order_by = "", $limit = "") {
43:         global $client;
44: 
45:         if ($where != "") {
46:             $where = $where . " AND idclient = " . (int) $client;
47:         }
48:         return parent::select($where, $group_by, $order_by, $limit);
49:     }
50: 
51: }
52: 
53: /**
54:  * Class WorkflowTask
55:  * Class for a single workflow task item
56:  *
57:  * @package Plugin
58:  * @subpackage Workflow
59:  * @author Timo A. Hummel <Timo.Hummel@4fb.de>
60:  * @version 0.1
61:  * @copyright four for business 2003
62:  */
63: class WorkflowTask extends Item {
64: 
65:     /**
66:      * Constructor Function
67:      *
68:      * @param string $table The table to use as information source
69:      */
70:     public function __construct() {
71:         global $cfg;
72:         parent::__construct($cfg["tab"]["tasks"], "idtask");
73:     }
74: 
75: }
76: 
77: ?>
CMS CONTENIDO 4.9.1 API documentation generated by ApiGen 2.8.0