/** * Constructor. * * @param array An optional associative array of configuration settings. * * @see JController */ public function __construct($config = array()) { $this->service = AKHelper::_('api.getSDK', $this->option); parent::__construct($config); }
/** * Method to duplicate items. * * @param array &$pks An array of primary key IDs. * * @return boolean True if successful. * @throws Exception */ public function duplicate(&$pks = null) { // make keys to array $pks = $this->_getPrimaryKeys($pks); // Execute parent $result = parent::duplicate($pks); // Build Return Object return $this->_setReturnValue($result); }
/** * Get fields group. * * @return array Fields groups. */ public function getFieldsGroup() { $fields = parent::getFieldsGroup(); return $fields; }