프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$arrCache | array | Cache | |
$arrImageSizes | array | Available image sizes | |
$arrLanguageFiles | array | Loaded language files | |
$arrLanguages | array | Available languages | |
$arrObjects | array | Default libraries | |
$arrStaticObjects | array | Static objects | |
$objContainer | Symfony\Component\DependencyInjection\ContainerInterface | Container |
메소드 | 설명 | |
---|---|---|
__get ( string $strKey ) : mixed | null | Get an object property | |
addToUrl ( string $strRequest ) : string | Add a request string to the current URL | |
anonymizeIp ( string $strIp ) : string | Anonymize an IP address by overriding the last chunk | |
convertXlfToPhp ( string $strName, string $strLanguage, boolean $blnLoad = false ) : string | Convert an .xlf file into a PHP language file | |
disableModule ( ) : boolean | Disable a back end module | |
enableModule ( ) : boolean | Enable a back end module | |
getContainer ( ) : Symfony\Component\DependencyInjection\ContainerInterface | Return the container object | |
getCountries ( ) : array | Return the countries as array | |
getFormattedNumber ( mixed $varNumber, integer $intDecimals = 2 ) : mixed | Format a number | |
getImageSizes ( ) : array | Return all image sizes as array | |
getIndexFreeRequest ( boolean $blnAmpersand = true ) : string | Return the request string without the script name | |
getLanguages ( boolean $blnInstalledOnly = false ) : array | Return the available languages as array | |
getModelClassFromTable ( string $strTable ) : string | Compile a Model class name from a table name (e.g. tl_form_field becomes FormFieldModel) | |
getReadableSize ( integer $intSize, integer $intDecimals = 1 ) : string | Convert a byte value into a human readable format | |
getReferer ( boolean $blnEncodeAmpersands = false, string $strTable = null ) : string | Return the referer URL and optionally encode ampersands | |
getSessionHash ( string $strCookie ) : string | Return the session hash | |
getTimeZones ( ) : array | Return the timezones as array | |
importStatic ( string $strClass, string $strKey = null, boolean $blnForce = false ) : object | Import a library in non-object context | |
isInstalledLanguage ( boolean $strLanguage ) : boolean | Check whether a language is installed | |
loadLanguageFile ( string $strName, boolean $strLanguage = null, boolean $blnNoCache = false ) | Load a set of language files | |
log ( string $strText, string $strFunction, string $strCategory ) | Add a log entry to the database | |
parseDate ( string $strFormat, integer $intTstamp = null ) : string | Parse a date format string and translate textual representations | |
redirect ( string $strLocation, integer $intStatus = 303 ) | Redirect to another page | |
reload ( ) | Reload the current page | |
setContainer ( Symfony\Component\DependencyInjection\ContainerInterface $container ) | Set the container object | |
setCookie ( string $strName, mixed $varValue, integer $intExpires, string $strPath = null, string $strDomain = null, boolean $blnSecure = false, boolean $blnHttpOnly = false ) | Set a cookie | |
splitFriendlyName ( string $strEmail ) : array | Split a friendly-name e-address and return name and e-mail as array | |
urlEncode ( string $strPath ) : string | Urlencode a file path preserving slashes |
메소드 | 설명 | |
---|---|---|
__construct ( ) | Import the Config and Session instances | |
addConfirmationMessage ( string $strMessage ) | Add a confirmation message | |
addErrorMessage ( string $strMessage ) | Add an error message | |
addInfoMessage ( string $strMessage ) | Add an info message | |
addMessage ( string $strMessage, string $strType ) | Add a message | |
addNewMessage ( string $strMessage ) | Add a new message | |
addRawMessage ( string $strMessage ) | Add an unformatted message | |
getMessageTypes ( ) : array | Return all available message types | |
getMessages ( string $strScope = TL_MODE ) : string | Return all messages as HTML | |
idnaDecode ( string $strDomain ) : string | Decode an internationalized domain name | |
idnaEncode ( string $strDomain ) : string | Encode an internationalized domain name | |
idnaEncodeEmail ( string $strEmail ) : string | Encode the domain in an e-mail address | |
idnaEncodeUrl ( string $strUrl ) : string | Encode the domain in an URL | |
import ( string $strClass, string $strKey = null, boolean $blnForce = false ) | Import a library and make it accessible by its name or an optional key | |
isValidEmailAddress ( string $strEmail ) : boolean | Validate an e-mail address | |
readPhpFileWithoutTags ( string $strName ) : string | Read the contents of a PHP file, stripping the opening and closing PHP tags | |
resetMessages ( ) | Reset the message system |
protected addConfirmationMessage ( string $strMessage ) | ||
$strMessage | string | The confirmation |
protected addErrorMessage ( string $strMessage ) | ||
$strMessage | string | The error message |
protected addInfoMessage ( string $strMessage ) | ||
$strMessage | string | The info message |
protected addMessage ( string $strMessage, string $strType ) | ||
$strMessage | string | The message |
$strType | string | The message type |
protected addNewMessage ( string $strMessage ) | ||
$strMessage | string | The new message |
protected addRawMessage ( string $strMessage ) | ||
$strMessage | string | The unformatted message |
public static anonymizeIp ( string $strIp ) : string | ||
$strIp | string | The IP address |
리턴 | string | The encoded IP address |
public static disableModule ( ) : boolean | ||
리턴 | boolean | True if the module was disabled |
public static enableModule ( ) : boolean | ||
리턴 | boolean | True if the module was enabled |
public static getContainer ( ) : Symfony\Component\DependencyInjection\ContainerInterface | ||
리턴 | Symfony\Component\DependencyInjection\ContainerInterface | The container object |
public static getCountries ( ) : array | ||
리턴 | array | An array of country names |
public static getImageSizes ( ) : array | ||
리턴 | array | The available image sizes |
public static getIndexFreeRequest ( boolean $blnAmpersand = true ) : string | ||
$blnAmpersand | boolean | If true, ampersands will be encoded |
리턴 | string | The request string |
public static getLanguages ( boolean $blnInstalledOnly = false ) : array | ||
$blnInstalledOnly | boolean | If true, return only installed languages |
리턴 | array | An array of languages |
protected getMessageTypes ( ) : array | ||
리턴 | array | An array of message types |
protected getMessages ( string $strScope = TL_MODE ) : string | ||
$strScope | string | An optional message scope |
리턴 | string | The messages HTML markup |
public static getModelClassFromTable ( string $strTable ) : string | ||
$strTable | string | The table name |
리턴 | string | The model class name |
public static getSessionHash ( string $strCookie ) : string | ||
$strCookie | string | The cookie name |
리턴 | string | The session hash |
public static getTimeZones ( ) : array | ||
리턴 | array | An array of timezones |
protected idnaDecode ( string $strDomain ) : string | ||
$strDomain | string | The domain name |
리턴 | string | The decoded domain name |
protected idnaEncode ( string $strDomain ) : string | ||
$strDomain | string | The domain name |
리턴 | string | The encoded domain name |
protected idnaEncodeEmail ( string $strEmail ) : string | ||
$strEmail | string | The e-mail address |
리턴 | string | The encoded e-mail address |
protected idnaEncodeUrl ( string $strUrl ) : string | ||
$strUrl | string | The URL |
리턴 | string | The encoded URL |
public static isInstalledLanguage ( boolean $strLanguage ) : boolean | ||
$strLanguage | boolean | The language code |
리턴 | boolean | True if the language is installed |
protected isValidEmailAddress ( string $strEmail ) : boolean | ||
$strEmail | string | The e-mail address |
리턴 | boolean | True if it is a valid e-mail address |
protected static readPhpFileWithoutTags ( string $strName ) : string | ||
$strName | string | The name of the PHP file |
리턴 | string | The PHP code without the PHP tags |
public static setContainer ( Symfony\Component\DependencyInjection\ContainerInterface $container ) | ||
$container | Symfony\Component\DependencyInjection\ContainerInterface | The container object |
public static setCookie ( string $strName, mixed $varValue, integer $intExpires, string $strPath = null, string $strDomain = null, boolean $blnSecure = false, boolean $blnHttpOnly = false ) | ||
$strName | string | The cookie name |
$varValue | mixed | The cookie value |
$intExpires | integer | The expiration date |
$strPath | string | An optional path |
$strDomain | string | An optional domain name |
$blnSecure | boolean | If true, the secure flag will be set |
$blnHttpOnly | boolean | If true, the http-only flag will be set |
public static splitFriendlyName ( string $strEmail ) : array | ||
$strEmail | string | A friendly-name e-mail address |
리턴 | array | An array with name and e-mail address |
protected static array $arrImageSizes | ||
리턴 | array |
protected static array $arrLanguageFiles | ||
리턴 | array |
protected static array $arrStaticObjects | ||
리턴 | array |