Zikula: A Flexible Open Source Content Management System
home | forum | international support | contact us

Docs For Class pnWorkflowParser

Class: pnWorkflowParser

Source Location: /pnobjlib/WorkflowUtil.class.php

Class Overview


Workflow Parser Parse workflow schema into associative arrays

Author(s):

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 698] Workflow Parser Parse workflow schema into associative arrays



Tags:

author:  Jørn Wildt
author:  Drak
[ Top ]

Class Variables

$parser =

[line 1064]



Type:   mixed
[ Top ]

$workflow =

[line 1065]



Type:   mixed
[ Top ]

Class Methods


constructor pnWorkflowParser [line 704]

pnWorkflowParser pnWorkflowParser( )

parse workflow into array format





[ Top ]

method mapWorkflow [line 765]

void mapWorkflow( )

Map workflow

marshall data in to meaningful associative arrays






[ Top ]

method parse [line 725]

mixed parse( string $xmldata, string $schemaName, string $module, string $schemaPath)

parse xml



Tags:

return:  associative array of workflow or false


Parameters:

string   $xmldata  
string   $schemaName  
string   $module  
string   $schemaPath  

[ Top ]

method unexpectedXMLError [line 1058]

string unexpectedXMLError( string $name, string $state)

hander for unexpected XML errors





Parameters:

string   $name  
string   $state  

[ Top ]

method validate [line 813]

void validate( )

validate workflow actions





[ Top ]

Packages:

Files:

Classes: