public function addAllFields($includeHasOne = false)
    {
        $fields = $this->allFieldsFromDataObject($includeHasOne);

        return $this->addFields($fields);
    }
public function addAllFields($includeHasOne = false)
    {
        $fields = $this->allFieldsFromDataObject($includeHasOne);

        return $this->addFields($fields);
    }
public function addAllFields ( $ includeHasOne = false ) { $ fields = $ this -> allFieldsFromDataObject ( $ includeHasOne ) ; return $ this -> addFields ( $ fields ) ; }
Adds all db fields, and optionally has_one.

@param bool $includeHasOne

@return $this
Adds all db fields and optionally has_one .