mixed) */ protected $properties = array( 'afterExecutionStarted' => 'afterExecutionStarted', 'afterExecutionSuspended' => 'afterExecutionSuspended', 'afterExecutionResumed' => 'afterExecutionResumed', 'afterExecutionCancelled' => 'afterExecutionCancelled', 'afterExecutionEnded' => 'afterExecutionEnded', 'beforeNodeActivated' => 'beforeNodeActivated', 'afterNodeActivated' => 'afterNodeActivated', 'afterNodeExecuted' => 'afterNodeExecuted', 'afterRolledBackServiceObject' => 'afterRolledBackServiceObject', 'afterThreadStarted' => 'afterThreadStarted', 'afterThreadEnded' => 'afterThreadEnded', 'beforeVariableSet' => 'beforeVariableSet', 'afterVariableSet' => 'afterVariableSet', 'beforeVariableUnset' => 'beforeVariableUnset', 'afterVariableUnset' => 'afterVariableUnset', ); /** * Property write access. * * @param string $propertyName Name of the property. * @param mixed $propertyValue The value for the property. * * @throws ezcBasePropertyNotFoundException * If the the desired property is not found. * @ignore */ public function __set( $propertyName, $propertyValue ) { switch ( $propertyName ) { case 'afterExecutionStarted': case 'afterExecutionSuspended': case 'afterExecutionResumed': case 'afterExecutionCancelled': case 'afterExecutionEnded': case 'beforeNodeActivated': case 'afterNodeActivated': case 'afterNodeExecuted': case 'afterRolledBackServiceObject': case 'afterThreadStarted': case 'afterThreadEnded': case 'beforeVariableSet': case 'afterVariableSet': case 'beforeVariableUnset': case 'afterVariableUnset': if ( !is_string( $propertyValue ) ) { throw new ezcBaseValueException( $propertyName, $propertyValue, 'string' ); } break; default: throw new ezcBasePropertyNotFoundException( $propertyName ); } $this->properties[$propertyName] = $propertyValue; } } ?>