Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/html/ticnews.com.br/web/wp-includes/script-loader.php on line 757
Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/html/ticnews.com.br/web/wp-includes/script-loader.php on line 757
Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/html/ticnews.com.br/web/wp-includes/script-loader.php on line 758
Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/html/ticnews.com.br/web/wp-includes/script-loader.php on line 758
Notice: require(): read of 1649 bytes failed with errno=12 Cannot allocate memory in /var/www/html/ticnews.com.br/web/wp-content/plugins/google-maps-easy/functions.php on line 44
Notice: require(): read of 1649 bytes failed with errno=12 Cannot allocate memory in /var/www/html/ticnews.com.br/web/wp-content/plugins/google-maps-easy/functions.php on line 44
$this->_helper = new $helper($this->_code);
$this->_helper->init();
return true;
}
}
}
public function setCode($code) {
$this->_code = $code;
}
public function getCode() {
return $this->_code;
}
public function onAdmin() {
return $this->_onAdmin;
}
public function getModel($modelName = '') {
return $this->getController()->getModel($modelName);
}
public function getView($viewName = '') {
return $this->getController()->getView($viewName);
}
/*public function setParams($params) {
if(!is_array($params)) {
if(empty($params))
$params = array();
else {
$params = json_decode ($params);
}
}
$this->_params = $params;
}*/
/*public function getParams($key = NULL) {
if(is_null($key))
return $this->_params;
else if(is_numeric($key) && isset($this->_params[ $key ])) {
return $this->_params[ $key ];
} else {
foreach($this->_params as $p) {
if(isset($p->$key))
return $p->$key;
}
return false;
}
}*/
/**
* Retrive one parameter using it's key, alias for getParams() method
*/
/*public function getParam($key) {
return $this->getParams($key);
}*/
public function install() {
}
public function uninstall() {
}
public function activate() {
}
/**
* Returns the available tabs
* @return array of tab
*/
public function getTabs() {
return array();
}
public function getConstant($name) {
$thisClassRefl = new ReflectionObject($this);
return $thisClassRefl->getConstant($name);
}
public function loadAssets() {}
public function loadAdminAssets() {}
}