Ejemplo n.º 1
0
 /**
  *
  */
 protected function _loadAdminJs()
 {
     $adminJsPath = $this->_pathinfo->getRootJs() . 'admin.js';
     if (file_exists($adminJsPath)) {
         $handle = $this->getId() . '-' . 'admin-js';
         IfwPsn_Wp_Proxy_Script::loadAdmin($handle, $this->_env->getUrlJs() . 'admin.js', array(), $this->getVersion());
     }
 }