PHP Класс ezcWorkflowNodeArithmeticBase, Workflow
This class takes care of the configuration and setting and getting of
data. The data to manipulate is put into the $variable member. The manipulating
parameter is put into the member $value.
Implementors must implement the method doExecute() and put the result of the
computation in $value member variable.
Показать файл
Открыть проект
Защищенные свойства (Protected)
Открытые методы
Метод |
Описание |
|
__construct ( mixed $configuration ) |
Constructs a new action node with the configuration $configuration. |
|
execute ( ezcWorkflowExecution $execution ) : boolean |
Executes this node and returns true. |
|
Защищенные методы
Метод |
Описание |
|
doExecute ( ) |
Implementors should perform the variable computation in this method. |
|
Описание методов
__construct()
публичный Метод
Configuration format
- String: The name of the workflow variable to operate on.
- Array:
- name: The name of the workflow variable to operate on.
- operand: Name of workflow variable or a numerical value.
Not used by implementations without an operand.
doExecute()
абстрактный защищенный Метод
doExecute() is called automatically by execute().
execute()
публичный Метод
Expects the configuration parameters 'name' the name of the workflow
variable to work on and the parameter 'value' the value to operate with
or the name of the workflow variable containing the value.
public execute ( ezcWorkflowExecution $execution ) : boolean |
$execution |
ezcWorkflowExecution |
|
Результат |
boolean |
|
Описание свойств
$operand защищенное свойство
Contains the operand (if any).
protected mixed $operand |
Результат |
mixed |
|
$variable защищенное свойство
Contains the data to manipulate.
protected mixed $variable |
Результат |
mixed |
|