PHP 클래스 DmitryDulepov\Realurl\Utility

저자: Dmitry Dulepov ([email protected])
파일 보기 프로젝트 열기: dmitryd/typo3-realurl 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$configuration DmitryDulepov\Realurl\Configuration\ConfigurationReader
$csConvertor TYPO3\CMS\Core\Charset\CharsetConverter

공개 메소드들

메소드 설명
__construct ( ConfigurationReader $configuration ) Initializes the class.
checkAndPerformRequiredUpdates ( ) : void Checks if required update should run and runs it if necessary.
convertToSafeString ( string $processedTitle, string $spaceCharacter = '-', boolean $strToLower = true ) : string Converts a given string to a string that can be used as a URL segment.
getCache ( ) : DmitryDulepov\Realurl\Cache\CacheInterface Returns the cache to use.
getCurrentHost ( ) : string Obtains the current host.

메소드 상세

__construct() 공개 메소드

Initializes the class.
public __construct ( ConfigurationReader $configuration )
$configuration DmitryDulepov\Realurl\Configuration\ConfigurationReader

checkAndPerformRequiredUpdates() 공개 정적인 메소드

Checks if required update should run and runs it if necessary.
public static checkAndPerformRequiredUpdates ( ) : void
리턴 void

convertToSafeString() 공개 메소드

The result is not url-encoded.
public convertToSafeString ( string $processedTitle, string $spaceCharacter = '-', boolean $strToLower = true ) : string
$processedTitle string
$spaceCharacter string
$strToLower boolean
리턴 string

getCache() 공개 메소드

Returns the cache to use.
public getCache ( ) : DmitryDulepov\Realurl\Cache\CacheInterface
리턴 DmitryDulepov\Realurl\Cache\CacheInterface

getCurrentHost() 공개 메소드

Obtains the current host.
public getCurrentHost ( ) : string
리턴 string

프로퍼티 상세

$configuration 보호되어 있는 프로퍼티

protected ConfigurationReader,DmitryDulepov\Realurl\Configuration $configuration
리턴 DmitryDulepov\Realurl\Configuration\ConfigurationReader

$csConvertor 보호되어 있는 프로퍼티

protected CharsetConverter,TYPO3\CMS\Core\Charset $csConvertor
리턴 TYPO3\CMS\Core\Charset\CharsetConverter