CodeBlockController::json
Returns a json encoded array of CodeBlock dataobjects in the format: (ID, Name) Note: only objects with AdvertType of 'Embed Javascript' and Status of 'Active' are returned
Signature
public function json(SS_HTTPRequest
$request )
Parameters
$request
— SS_HTTPRequest
Returns
- SS_HTTPResonse
- A http response containing a json encoded array