AdminPageFramework_Format_PageResource_Script::get PHP Метод

get() публичный Метод

public get ( )
    public function get()
    {
        return $this->_getFormatted($this->asSubject);
    }

Usage Example

 private function _enqueueAsset_script($asPageScript)
 {
     $_oFormatter = new AdminPageFramework_Format_PageResource_Script($asPageScript);
     $_aPageScript = $_oFormatter->get();
     $_sSRC = $_aPageScript['src'];
     if ($this->isResourcePath($_sSRC)) {
         return $this->oFactory->enqueueScript($_sSRC, $this->sCurrentPageSlug, $this->sCurrentTabSlug, $_aPageScript);
     }
     $this->aScripts[] = $_sSRC;
 }
AdminPageFramework_Format_PageResource_Script