Пример #1
0
 public function setUp()
 {
     $this->Entity = new Dill_Model_Entity();
     $Property1 = new Dill_Model_Property('Nickname');
     $Property1->SetValue('sas171');
     $Property2 = new Dill_Model_Property('Email');
     $Property3 = new Dill_Model_Property('Website');
     $this->Entity->Properties = array($Property1, $Property2, $Property3);
     $this->Plugin = new Dill_Plugin_Entity_Properties($this->Entity);
 }
Пример #2
0
 public function setUp()
 {
     $this->Entity = new Dill_Model_Entity();
     $Property1 = new Dill_Model_Property('Nickname');
     $Property1->SetValue('sas171');
     $Property2 = new Dill_Model_Property('Email');
     $Property3 = new Dill_Model_Property('Website');
     $Property4 = new Dill_Model_Property('Adress');
     $this->Entity->Properties = array($Property1, $Property2, $Property3, $Property4);
     $this->Plugin = new Dill_Plugin_Entity_Lazyinit($this->Entity);
     $this->Plugin->Init($this->Config, $this->Entity);
 }