Property | Type | Description | |
---|---|---|---|
$Body | $var string The text to display in the pocket. | ||
$Disabled | Whether or not the pocket is disabled. The pocket can also be in testing-mode. | ||
$EmbeddedNever | $var bool Whether to disable the pocket for embedded comments. * | ||
$Format | The format of the pocket. | ||
$Location | $var string The location on the page to display the pocket. | ||
$MobileNever | $var array The repeat frequency. | ||
$MobileOnly | $var array The repeat frequency. | ||
$Name | $var string A descriptive name for the pocket to help keep it organized. | ||
$NameTranslations | array | ||
$Page | $var string The name of the page to put the pocket on. | ||
$RepeatFrequency | $var array The repeat frequency. | ||
$RepeatType | $var string How the pocket repeats on the page. | ||
$ShowInDashboard | boolean | ||
$Type | $var string Pocket type |
Method | Description | |
---|---|---|
__construct ( string $Location = '' ) | Pocket constructor. | |
canRender ( array $Data ) : boolean | Whether or not this pocket should be processed based on its state. | |
isAd ( ) : boolean | Determine whether the pocket is of type 'ad'. | |
load ( array $Data ) | Load the pocket's data from an array. | |
pageName ( null $NameOrObject = null ) : mixed | null | string | ||
parseRepeat ( $Repeat ) : array | ||
render ( array $Data = NULL ) | Render the pocket to the page. | |
repeat ( string $Type, integer | array $Frequency ) | Set the repeat of the pocket. | |
toString ( null $Data = NULL ) : mixed | string | ||
touch ( $Name, $Value ) |
public __construct ( string $Location = '' ) | ||
$Location | string |
public static parseRepeat ( $Repeat ) : array | ||
$Repeat | ||
return | array |
public $Disabled |
public $EmbeddedNever |
public $Location |
public $Name |