/**
  * @param Ezer_IntScopeInstance $db_instance
  * @param Ezer_ScopeInstance $case
  * @param Ezer_Scope $scope
  */
 public function __construct(Ezer_IntScopeInstance $db_instance, Ezer_ScopeInstance &$scope_instance, Ezer_Scope $scope = null)
 {
     $this->db_instance = $db_instance;
     parent::__construct($this->db_instance->getId(), $scope_instance->getVariables(), $scope_instance, $scope);
 }
 public function persist()
 {
     if ($this->scope_instance) {
         $this->scope_instance->persist();
     }
 }
Esempio n. 3
0
 public function &spawn(Ezer_ScopeInstance &$scope_instance)
 {
     $ret = new Ezer_ScopeInstance($scope_instance->getVariables(), $scope_instance, $this);
     return $ret;
 }
 public function __construct(array $variables, Ezer_BusinessProcess $process)
 {
     parent::__construct($variables, $this, $process);
     $this->process = $process;
     $this->start();
 }