/** * load() * @param integer $intElementId * @param string $strType * @param string $strElementId * @param integet $intVersion * @author Thomas Schedler <*****@*****.**> * @version 1.0 */ public function load($intElementId, $strType, $strElementId = null, $intVersion = null) { try { $this->core->logger->debug('application->plugins->Gmaps->data->helpers->Plugin_DataHelperGmaps->load(' . $intElementId . ', ' . $strType . ', ' . $strElementId . ', ' . $intVersion . ')'); $this->strType = $strType; $this->getModel(); $elementId = $this->strType . 'Id'; $objGmap = $this->objModel->loadPlugin($intElementId, array('longitude', 'latitude'), 'Gmaps'); $this->objElement->setValue($objGmap[0]); } catch (Exception $exc) { $this->core->logger->err($exc); } }