'0', 'templateid' => '', 'styleid' => '', 'variable' => '', 'content' => '', 'description' => '', ); public function getAllByStyleid($styleid) { global $_W; return $this->query->where('uniacid', $_W['uniacid'])->where('styleid', $styleid)->getall('variable'); } }