Property | Type | Description | |
---|---|---|---|
$Locations | array | ||
$TestMode | Whether or not to display test items for all pockets. |
Property | Type | Description | |
---|---|---|---|
$StateLoaded | boolean | ||
$_Counters | Counters for the various locations. | ||
$_PocketNames | array | ||
$_Pockets | All of the pockets indexed by location. |
Method | Description | |
---|---|---|
__construct ( ) | PocketsPlugin constructor. | |
addPocket ( Pocket $Pocket ) | Add a pocket to the plugin's array of pockets to process. | |
base_BeforeRenderAsset_Handler ( $Sender ) | ||
base_GetAppSettingsMenuItems_Handler ( $Sender ) | Adds "Media" menu option to the Forum menu on the dashboard. | |
base_afterRenderAsset_handler ( $Sender ) | ||
base_beforeCommentDisplay_handler ( $Sender ) | ||
base_betweenDiscussion_handler ( $Sender ) | ||
base_betweenRenderAsset_handler ( $Sender ) | ||
base_render_before ( $Sender ) | Add test mode to every page. | |
getLocationsArray ( ) : array | ||
getPockets ( $Name ) : mixed | ||
pocketString ( $Name, null $Data = null ) : mixed | string | ||
pocketStringCb ( null $Match = null, boolean | false $SetArgs = false ) : string | ||
processPockets ( $Sender, $Location, null $CountHint = null ) | ||
settingsController_pockets_create ( $Sender, array $Args = [] ) : mixed | Main list for a pocket management. | |
setup ( ) | Runs on enable. | |
structure ( ) | Runs on utility/update. | |
testData ( $Sender ) | derp? |
Method | Description | |
---|---|---|
_Edit ( $Sender, $PocketID ) : mixed | ||
_add ( $Sender ) : mixed | ||
_addEdit ( $Sender, boolean | false $PocketID = false ) : mixed | ||
_delete ( $Sender, $PocketID ) : boolean | ||
_index ( $Sender, $Args ) | ||
_loadState ( boolean | false $Force = false ) | ||
_saveState ( ) | derp? | |
_var ( $Name, $Value ) : string |
protected _loadState ( boolean | false $Force = false ) | ||
$Force | boolean | false |
public addPocket ( Pocket $Pocket ) | ||
public base_BeforeRenderAsset_Handler ( $Sender ) | ||
$Sender |
public base_GetAppSettingsMenuItems_Handler ( $Sender ) | ||
$Sender |
public base_afterRenderAsset_handler ( $Sender ) | ||
$Sender |
public base_beforeCommentDisplay_handler ( $Sender ) | ||
$Sender |
public base_betweenDiscussion_handler ( $Sender ) | ||
$Sender |
public base_betweenRenderAsset_handler ( $Sender ) | ||
$Sender |
public base_render_before ( $Sender ) | ||
$Sender |
public processPockets ( $Sender, $Location, null $CountHint = null ) | ||
$Sender | ||
$Location | ||
$CountHint | null |
public settingsController_pockets_create ( $Sender, array $Args = [] ) : mixed | ||
$Args | array | |
return | mixed |