本文整理汇总了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();
}