yii\base\Arrayable::extraFields PHP Method

extraFields() public method

This method is similar to Arrayable::fields except that the list of fields declared by this method are not returned by default by Arrayable::toArray. Only when a field in the list is explicitly requested, will it be included in the result of Arrayable::toArray.
See also: toArray()
See also: fields()
public extraFields ( ) : array
return array the list of expandable field names or field definitions. Please refer to [[fields()]] on the format of the return value.
    public function extraFields();