Tutorial Extension
1.0.0
SellerDeck Extensions - Tutorial Extension
|
Public Member Functions | |
__call ($sName, $aArguments) | |
__construct () | |
Run () | |
SetOutputFormat ($nOutputFormat=FORMAT_JSON) | |
GetStandardResponse ($sAction= '', $sStatus=STATUS_SUCCESS, $aData=[], $sView= '') | |
GetOutput ($nOutputFormat=null) | |
Protected Attributes | |
$m_sAction = "" | |
$m_aResponse = [] | |
$m_nOutputFormat = FORMAT_JSON | |
Definition at line 14 of file CControllerBase.php.
__construct | ( | ) |
__construct - Run process
public
$aInput | array Input data |
Definition at line 47 of file CControllerBase.php.
GetOutput | ( | $nOutputFormat = null | ) |
GetOutput - Get Output
public
Definition at line 123 of file CControllerBase.php.
GetStandardResponse | ( | $sAction = '' , |
|
$sStatus = STATUS_SUCCESS , |
|||
$aData = [] , |
|||
$sView = '' |
|||
) |
GetStandardResponse - Get Standard Response
public
$sAction | string Action name |
$sStatus | string Status |
$aData | array Data |
$sView | string View |
Definition at line 107 of file CControllerBase.php.
Run | ( | ) |
SetOutputFormat | ( | $nOutputFormat = FORMAT_JSON | ) |
SetOutputFormat - Set Output Format
public
Definition at line 92 of file CControllerBase.php.