public function fields($table, $fields = null) { if ($table && $fields) { $this->_fields[$table] = $fields; } return $this->_fields[$table]; }