public function setActualFields($group = UNDEFINED)
    {
        if (is_array($group)) {
            $this->actual_fields = $group;

            return $this;
        }
        if ($group === UNDEFINED) {
            $group = 'all';
        }
        $this->actual_fields = $this->getGroupField($group);

        return $this;
    }
public function setActualFields($group = UNDEFINED)
    {
        if (is_array($group)) {
            $this->actual_fields = $group;

            return $this;
        }
        if ($group === UNDEFINED) {
            $group = 'all';
        }
        $this->actual_fields = $this->getGroupField($group);

        return $this;
    }
public function setActualFields ( $ group = UNDEFINED ) { if ( is_array ( $ group ) ) { $ this -> actual_fields = $ group ; return $ this ; } if ( $ group === UNDEFINED ) { $ group = 'all' ; } $ this -> actual_fields = $ this -> getGroupField ( $ group ) ; return $ this ; }
Set the actual fields of this model.
You can use an array to set the list of fields or a string to
use the grouping.

@param array|string $group string or array

@return $this
Set the actual fields of this model . You can use an array to set the list of fields or a string to use the grouping .