Свойство | Тип | Описание | |
---|---|---|---|
$contentString | string | The Content as string | |
$document | The passed Document Object | ||
$locale | Zend_Locale | ||
$params | array | All dynamic parameters which are passed to the Placeholder | |
$placeholderConfig | Zend_Config_Json | The config object passed from the placeholder If no config object was passed a empty \Zend_Config_Json is passed | |
$placeholderKey | string | The placeholder key passed to determine the dynamic parameter | |
$placeholderString | string | The placeholder string e.g "%Object(object_id,{"method" : "getName"})" |
Метод | Описание | |
---|---|---|
getContentString ( ) : null | string | returns the full content string | |
getDocument ( ) : |
Returns the Document | |
getEmptyValue ( ) : string | Will be used as replacement if the passed parameter is empty | |
getLanguage ( ) : string | Returns the current language | |
getLocale ( ) : Zend_Locale | Returns the current locale | |
getParam ( string $key ) : mixed | Returns a specific parameter | |
getParams ( ) : array | Returns the Parameters ob the Placeholder object | |
getPlaceholderConfig ( ) : Zend_Config_Json | Returns the Placeholder config object | |
getPlaceholderKey ( ) : string | Returns the Placehodler key | |
getPlaceholderString ( ) : string | ||
getReplacement ( ) : string | Has to return the placeholder with the corresponding value | |
getTestValue ( ) : string | Has to return an appropriate value for a test replacement | |
getValue ( ) : mixed | Returns the the value of the current Placeholder parameter | |
setContentString ( $contentString ) | ||
setDocument ( $document ) | ||
setLocale ( $locale = null ) | Try to set the locale from different sources | |
setParams ( $params ) | ||
setPlaceholderConfig ( Zend_Config_Json $config ) | ||
setPlaceholderKey ( $key ) | ||
setPlaceholderString ( $string ) |
public getContentString ( ) : null | string | ||
Результат | null | string |
public getDocument ( ) : |
||
Результат |
public getEmptyValue ( ) : string | ||
Результат | string |
public getLanguage ( ) : string | ||
Результат | string |
public getLocale ( ) : Zend_Locale | ||
Результат | Zend_Locale |
public getPlaceholderConfig ( ) : Zend_Config_Json | ||
Результат | Zend_Config_Json |
public getPlaceholderKey ( ) : string | ||
Результат | string |
abstract public getReplacement ( ) : string | ||
Результат | string |
abstract public getTestValue ( ) : string | ||
Результат | string |
public setLocale ( $locale = null ) | ||
$locale |
public setPlaceholderConfig ( Zend_Config_Json $config ) | ||
$config | Zend_Config_Json |
protected string $contentString | ||
Результат | string |
protected Document,Pimcore\Model|null $document | ||
Результат |
protected array $params | ||
Результат | array |
protected Zend_Config_Json $placeholderConfig | ||
Результат | Zend_Config_Json |
protected string $placeholderKey | ||
Результат | string |
protected string $placeholderString | ||
Результат | string |