PHP 클래스 Contao\Backend

Provide methods to manage back end controllers.
상속: extends Controller
파일 보기 프로젝트 열기: contao/core-bundle 1 사용 예제들

공개 메소드들

메소드 설명
addFileMetaInformationToRequest ( string $strUuid, string $strPtable, integer $intPid ) Add the file meta information to the request
addFilesBreadcrumb ( string $strKey = 'tl_files_node' ) Add a breadcrumb menu to the file tree
addPageIcon ( array $row, string $label, DataContainer $dc = null, string $imageAttribute = '', boolean $blnReturnImage = false, boolean $blnProtected = false ) : string Add an image to each page in the tree
addPagesBreadcrumb ( string $strKey = 'tl_page_node' ) Add a breadcrumb menu to the page tree
addToUrl ( string $strRequest, boolean $blnAddRef = true, array $arrUnset = [] ) : string Add the request token to the URL
createFileList ( string $strFilter = '', boolean $filemount = false ) : string Get all allowed files and return them as string
createPageList ( ) : string Get all allowed pages and return them as string
findSearchablePages ( integer $pid, string $domain = '', boolean $blnIsSitemap = false ) : array Get all searchable pages and return them as array
getAceType ( string $ext ) : string Get the Ace code editor type from a file extension
getSystemMessages ( ) : string Return the system messages as HTML
getTheme ( ) : string Return the current theme as string
getThemes ( ) : array Return the back end themes as array
getTinyMceLanguage ( ) : string Return the TinyMCE language
getTinyTemplates ( ) : string Return a list of TinyMCE templates as JSON string
handleRunOnce ( ) Handle "runonce" files

보호된 메소드들

메소드 설명
__construct ( ) Load the database object
doCreateFileList ( string $strFolder = null, integer $level, string $strFilter = '' ) : string Recursively get all allowed files and return them as string
doCreatePageList ( integer $intId, integer $level ) : string Recursively get all allowed pages and return them as string
getBackendModule ( string $module ) : string Open a back end module and return it as HTML

메소드 상세

__construct() 보호된 메소드

Load the database object
protected __construct ( )

addFileMetaInformationToRequest() 공개 정적인 메소드

Add the file meta information to the request
public static addFileMetaInformationToRequest ( string $strUuid, string $strPtable, integer $intPid )
$strUuid string
$strPtable string
$intPid integer

addFilesBreadcrumb() 공개 정적인 메소드

Add a breadcrumb menu to the file tree
public static addFilesBreadcrumb ( string $strKey = 'tl_files_node' )
$strKey string

addPageIcon() 공개 정적인 메소드

Add an image to each page in the tree
public static addPageIcon ( array $row, string $label, DataContainer $dc = null, string $imageAttribute = '', boolean $blnReturnImage = false, boolean $blnProtected = false ) : string
$row array
$label string
$dc DataContainer
$imageAttribute string
$blnReturnImage boolean
$blnProtected boolean
리턴 string

addPagesBreadcrumb() 공개 정적인 메소드

Add a breadcrumb menu to the page tree
public static addPagesBreadcrumb ( string $strKey = 'tl_page_node' )
$strKey string

addToUrl() 공개 정적인 메소드

Add the request token to the URL
public static addToUrl ( string $strRequest, boolean $blnAddRef = true, array $arrUnset = [] ) : string
$strRequest string
$blnAddRef boolean
$arrUnset array
리턴 string

createFileList() 공개 메소드

Get all allowed files and return them as string
public createFileList ( string $strFilter = '', boolean $filemount = false ) : string
$strFilter string
$filemount boolean
리턴 string

createPageList() 공개 메소드

Get all allowed pages and return them as string
public createPageList ( ) : string
리턴 string

doCreateFileList() 보호된 메소드

Recursively get all allowed files and return them as string
protected doCreateFileList ( string $strFolder = null, integer $level, string $strFilter = '' ) : string
$strFolder string
$level integer
$strFilter string
리턴 string

doCreatePageList() 보호된 메소드

Recursively get all allowed pages and return them as string
protected doCreatePageList ( integer $intId, integer $level ) : string
$intId integer
$level integer
리턴 string

findSearchablePages() 공개 정적인 메소드

Get all searchable pages and return them as array
public static findSearchablePages ( integer $pid, string $domain = '', boolean $blnIsSitemap = false ) : array
$pid integer
$domain string
$blnIsSitemap boolean
리턴 array

getAceType() 공개 정적인 메소드

Get the Ace code editor type from a file extension
public static getAceType ( string $ext ) : string
$ext string
리턴 string

getBackendModule() 보호된 메소드

Open a back end module and return it as HTML
protected getBackendModule ( string $module ) : string
$module string
리턴 string

getSystemMessages() 공개 정적인 메소드

Return the system messages as HTML
public static getSystemMessages ( ) : string
리턴 string The messages HTML markup

getTheme() 공개 정적인 메소드

Return the current theme as string
public static getTheme ( ) : string
리턴 string The name of the theme

getThemes() 공개 정적인 메소드

Return the back end themes as array
public static getThemes ( ) : array
리턴 array An array of available back end themes

getTinyMceLanguage() 공개 정적인 메소드

Return the TinyMCE language
public static getTinyMceLanguage ( ) : string
리턴 string

getTinyTemplates() 공개 정적인 메소드

Return a list of TinyMCE templates as JSON string
public static getTinyTemplates ( ) : string
리턴 string

handleRunOnce() 공개 정적인 메소드

Handle "runonce" files
public static handleRunOnce ( )