File: /var/www/vhosts/enlugo.es/httpdocs/wp-content/plugins/google-maps-ready/modules/marker/mod.php
<?php
class markerGmp extends moduleGmp {
public function init() {
dispatcherGmp::addFilter('adminOptionsTabs', array($this, 'addOptionsTab'));
dispatcherGmp::addAction('tplHeaderBegin',array($this,'showFavico'));
dispatcherGmp::addAction('tplBodyEnd',array($this,'GoogleAnalitics'));
dispatcherGmp::addAction('in_admin_footer',array($this,'showPluginFooter'));
}
public function addOptionsTab($tabs){
if(frameGmp::_()->isAdminPlugPage()){
frameGmp::_()->addScript('adminMetaOptions',$this->getModPath().'js/admin.marker.js',array(),false,true);
}
return $tabs;
}
public function connectAssets() {
frameGmp::_()->addScript('marker', $this->getModPath(). 'js/marker.js');
}
public function getAnimationList() {
return array(
0 => langGmp::_('None'),
1 => langGmp::_('Drop'), //DROP
2 => langGmp::_('Bounce'), //BOUNCE
);
}
}