/** * Returns an associative array of the raw data * * @param boolean If TRUE, only return the modified data. Default FALSE * @return array */ public function getData($modified = false) { $result = parent::getData($modified); //Gets the usergroups $result['usergroups'] = $this->usergroups->getData(); return $result; }
public function getData($modified = false) { $data = parent::getData($modified); if (isset($data['parameters'])) { $data['parameters'] = $this->parameters->getData(); } return $data; }