本文整理匯總了PHP中TYPO3\CMS\Core\Resource\Folder::getReadablePath方法的典型用法代碼示例。如果您正苦於以下問題:PHP Folder::getReadablePath方法的具體用法?PHP Folder::getReadablePath怎麽用?PHP Folder::getReadablePath使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類TYPO3\CMS\Core\Resource\Folder
的用法示例。
在下文中一共展示了Folder::getReadablePath方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: start
/**
* Initialization of class
*
* @param Folder $folderObject The folder to work on
* @param int $pointer Pointer
* @param bool $sort Sorting column
* @param bool $sortRev Sorting direction
* @param bool $clipBoard
* @param bool $bigControlPanel Show clipboard flag
* @return void
*/
public function start(Folder $folderObject, $pointer, $sort, $sortRev, $clipBoard = FALSE, $bigControlPanel = FALSE)
{
$this->script = BackendUtility::getModuleUrl('file_list');
$this->folderObject = $folderObject;
$this->counter = 0;
$this->totalbytes = 0;
$this->JScode = '';
$this->HTMLcode = '';
$this->path = $folderObject->getReadablePath();
$this->sort = $sort;
$this->sortRev = $sortRev;
$this->firstElementNumber = $pointer;
$this->clipBoard = $clipBoard;
$this->bigControlPanel = $bigControlPanel;
// Setting the maximum length of the filenames to the user's settings or minimum 30 (= $this->fixedL)
$this->fixedL = max($this->fixedL, $this->getBackendUser()->uc['titleLen']);
$this->getLanguageService()->includeLLFile('EXT:lang/locallang_common.xlf');
$this->resourceFactory = ResourceFactory::getInstance();
}