/** * build the location * @return null */ protected function buildLocationDummy() { $this->locationDummy = $this->objectManager->get('Tx_CzSimpleCal_Domain_Model_AddressDummy'); $this->locationDummy->setName($this->locationName); $this->locationDummy->setAddress($this->locationAddress); $this->locationDummy->setZip($this->locationZip); $this->locationDummy->setCity($this->locationCity); $this->locationDummy->setCountry($this->locationCountry); }
/** * build the location * @return null */ protected function buildLocationDummy() { $objectManager = t3lib_div::makeInstance('Tx_Extbase_Object_ObjectManager'); $this->locationDummy = $objectManager->get('Tx_CzSimpleCal_Domain_Model_AddressDummy'); $this->locationDummy->setName($this->locationName); $this->locationDummy->setAddress($this->locationAddress); $this->locationDummy->setZip($this->locationZip); $this->locationDummy->setCity($this->locationCity); $this->locationDummy->setCountry($this->locationCountry); }