protected function fields()
    {
        if (isset($this->fillables)) {
            $this->output = (sizeof($this->fillables) > 0) ? implode($this->fillables, ',') : '*';
        } else {
            $this->output = '*';
        }

        return $this->output;
    }
protected function fields()
    {
        if (isset($this->fillables)) {
            $this->output = (sizeof($this->fillables) > 0) ? implode($this->fillables, ',') : '*';
        } else {
            $this->output = '*';
        }

        return $this->output;
    }
protected function fields ( ) { if ( isset ( $ this -> fillables ) ) { $ this -> output = ( sizeof ( $ this -> fillables ) > 0 ) ? implode ( $ this -> fillables , ',' ) : '*' ; } else { $ this -> output = '*' ; } return $ this -> output ; }
Get the fields to be fillables defined in the model

@return string
Get the fields to be fillables defined in the model