/** * Creates table for displaying unused files. * * @returns AssetTableField */ protected function getAssetList() { $where = $this->folder->getUnusedFilesListFilter(); $assetList = new AssetTableField($this->folder, "AssetList", "File", array("Title" => _t('Folder.TITLE', "Title"), "LinkedURL" => _t('Folder.FILENAME', "Filename")), "", $where); $assetList->setPopupCaption(_t('Folder.VIEWASSET', "View Asset")); $assetList->setPermissions(array("show", "delete")); $assetList->Markable = false; return $assetList; }
/** * Creates table for displaying unused files. * * @returns AssetTableField */ private function getAssetList() { $where = $this->getUsedFilesList(); $assetList = new AssetTableField($this, "AssetList", "File", array("Title" => _t('AssetAdmin.TITLE', "Title"), "LinkedURL" => _t('AssetAdmin.FILENAME', "Filename")), "", $where); $assetList->setPopupCaption(_t('AssetAdmin.VIEWASSET', "View Asset")); $assetList->setPermissions(array("show", "delete")); $assetList->Markable = false; return $assetList; }