PHP code example of reg2005 / oc-jsonable
1. Go to this page and download the library: Download reg2005/oc-jsonable library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
reg2005 / oc-jsonable example snippets
public $jsonable = ['config'];
public function registerFormWidgets()
{
return [
'reg2005\Widgets\Jsonable' => [
'label' => 'jsonable',
'code' => 'jsonable'
]
];
}