IP.Board  3.3.0
adminBlockHelper_custom Class Reference
Inheritance diagram for adminBlockHelper_custom:
adminBlockHelper adminBlockHelperInterface

Public Member Functions

 __construct (ipsRegistry $registry)
 createWizardSession ($block)
 getBlockConfig ()
 getTags ($info)
 recacheBlock ($block, $return=false)
 returnNextStep ($session)

Protected Member Functions

 _parseBlock ($block)
 _saveBlock ($session)
 _storeSubmittedData ($session)

Constructor & Destructor Documentation

__construct ( ipsRegistry registry)

Constructor

public

Parameters:
objectRegistry reference
Returns:
void

Reimplemented from adminBlockHelper.


Member Function Documentation

_parseBlock ( block) [protected]

Parse block

protected

Parameters:
arrayBlock data
Returns:
string Parsed block content
_saveBlock ( session) [protected]

Save the block to the DB

protected

Parameters:
arraySession data
Returns:
array Block data
_storeSubmittedData ( session) [protected]

Store the data submitted for the last step

protected

Parameters:
arraySession data
Returns:
array Session data (updated)
createWizardSession ( block)

Store data to initiate a wizard session based on given block table data

public

Parameters:
arrayBlock data
Returns:
array Data to store for wizard session

Implements adminBlockHelperInterface.

Get configuration data. Allows for automatic block types.

public

Returns:
array Array( key, text )

Implements adminBlockHelperInterface.

getTags ( info)

Return the tag help for this block type

public

Parameters:
stringExtra block info (type)
Returns:
array
recacheBlock ( block,
return = false 
)

Recache this block to the database based on content type and cache settings.

public

Parameters:
arrayBlock data
boolReturn data instead of saving to database
Returns:
string New cached content
See Also:
http://community.invisionpower.com/tracker/issue-23660-php-tags-evaldexecuted-in-acp/

Implements adminBlockHelperInterface.

returnNextStep ( session)

Wizard launcher. Should determine the next step necessary and act appropriately.

public

Parameters:
arraySession data
Returns:
string HTML to output to screen

Implements adminBlockHelperInterface.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables