Platform  3.1
PHP API documentation
 All Data Structures Namespaces Files Functions Variables Pages
Fdl_Workflow Class Reference
+ Inheritance diagram for Fdl_Workflow:
+ Collaboration diagram for Fdl_Workflow:

Public Member Functions

 getDocument ($onlyvalues=false, $completeprop=true)
 
 getWorflowInformations ()
 
 addTransition ($start, $finish, $transitionType)
 
 removeTransition ($start, $finish)
 
 addTraduction ($lang, $key, $text)
 
 addState ($key, $label= '', $activity= '')
 
 modifyState ($key, $label= '', $activity= '')
 
 removeState ($key)
 
 addTransitiontype ($key, $label= '', $ask=null, $preMethod=null, $postmethod=null, $noComment=false, $autoNext=null)
 
 modifyTransitiontype ($key, $label= '', $ask=null, $preMethod=null, $postmethod=null, $noComment=false, $autoNext=null)
 
 removeTransitiontype ($key)
 
- Public Member Functions inherited from Fdl_Document
 __construct ($id=0, $config=null, Doc &$doc=null)
 
 createDocument ($familyId, $temporary=false)
 
 docisset ()
 
 setError ($err)
 
 isAlive ()
 
 affect (&$doc)
 
 getAttribute ($aid)
 
 getInternalDocument ()
 
 getValues ()
 
 getValue ($aid)
 
 getProposalDocuments ($aid, $key)
 
 setValue ($aid, $nv)
 
 setVolatileProperty ($key, $value)
 
 getProperties ($complete=true, $infoprop=false)
 
 getConfiguration ()
 
 getSecurity ()
 
 getLastModifier ()
 
 getProperty ($idprop)
 
 getAttributes ()
 
 isCollection ()
 
 hasAttribute ($aid)
 
 getDocument ($onlyvalues=false, $completeprop=true, $infoprop=false, $usertags=false)
 
 getRevisions ($onlyvalues=true, $completeprop=false)
 
 cloneDocument ($temporary=false, $linkfld=true, $copyfile=false, $title="")
 
 getHistory ($allrevision=true, $code="")
 
 save ()
 
 send ($to="", $cc="", $bcc="", $subject="", $comment="", $savecopy=false)
 
 create ()
 
 lock ($auto=false)
 
 unlock ($auto=false)
 
 addUserTag ($tag, $comment)
 
 deleteUserTag ($tag)
 
 getUserTags ()
 
 allocate ($userid, $comment="", $revision=false, $autolock=true)
 
 unallocate ($comment="", $revision=false)
 
 changeState ($state)
 
 delete ($really=false)
 
 restore ()
 
 addRevision ($comment, $version="", $volatile=false)
 
 moveTo ($movetoid, $fromtoid=null)
 
 setFileValueFromHttpVars ()
 
 setValueFromHttpVars ()
 
 setLogicalIdentificator ()
 
 hasWaitingFiles ()
 
 setVersion ($version, $usecomment=true)
 
 getFollowingStates ()
 
 getAttachedTimers ()
 

Additional Inherited Members

- Static Public Member Functions inherited from Fdl_Document
static sortprevision ($a, $b)
 
static humandelay ($dd)
 
- Data Fields inherited from Fdl_Document
 $dbaccess
 
- Protected Attributes inherited from Fdl_Document
 $doc
 

Detailed Description

Workflow Class

Definition at line 22 of file Class.Workflow.php.

Member Function Documentation

addState (   $key,
  $label = '',
  $activity = '' 
)

Definition at line 158 of file Class.Workflow.php.

addTraduction (   $lang,
  $key,
  $text 
)

Definition at line 131 of file Class.Workflow.php.

addTransition (   $start,
  $finish,
  $transitionType 
)

Definition at line 68 of file Class.Workflow.php.

addTransitiontype (   $key,
  $label = '',
  $ask = null,
  $preMethod = null,
  $postmethod = null,
  $noComment = false,
  $autoNext = null 
)

Definition at line 266 of file Class.Workflow.php.

getDocument (   $onlyvalues = false,
  $completeprop = true 
)

return properties, values and attributes definition

Definition at line 27 of file Class.Workflow.php.

+ Here is the call graph for this function:

getWorflowInformations ( )

Definition at line 35 of file Class.Workflow.php.

modifyState (   $key,
  $label = '',
  $activity = '' 
)

Definition at line 164 of file Class.Workflow.php.

modifyTransitiontype (   $key,
  $label = '',
  $ask = null,
  $preMethod = null,
  $postmethod = null,
  $noComment = false,
  $autoNext = null 
)

Definition at line 271 of file Class.Workflow.php.

removeState (   $key)

Definition at line 169 of file Class.Workflow.php.

removeTransition (   $start,
  $finish 
)

Definition at line 73 of file Class.Workflow.php.

removeTransitiontype (   $key)

Definition at line 275 of file Class.Workflow.php.


The documentation for this class was generated from the following file:
← centre documentaire © anakeen - published under CC License - Dynacase