private function getColumnsFillable (array $columns, bool $translations = false)
    {
        $names = [];

        foreach ($columns as $column) {
            if ($translations) {
                if (!in_array ($column->Field, $this->getTranslationsAutoFill ()))
                    array_push ($names, $column->Field);
            } else
                if (!in_array ($column->Field, $this->getAutoFill ()))
                    array_push ($names, $column->Field);
        }

        return '[\'' . implode ('\', \'', $names) . '\']';
    }
private function getColumnsFillable (array $columns, bool $translations = false)
    {
        $names = [];

        foreach ($columns as $column) {
            if ($translations) {
                if (!in_array ($column->Field, $this->getTranslationsAutoFill ()))
                    array_push ($names, $column->Field);
            } else
                if (!in_array ($column->Field, $this->getAutoFill ()))
                    array_push ($names, $column->Field);
        }

        return '[\'' . implode ('\', \'', $names) . '\']';
    }
private function getColumnsFillable ( array $ columns , bool $ translations = false ) { $ names = [ ] ; foreach ( $ columns as $ column ) { if ( $ translations ) { if ( ! in_array ( $ column -> Field , $ this -> getTranslationsAutoFill ( ) ) ) array_push ( $ names , $ column -> Field ) ; } else if ( ! in_array ( $ column -> Field , $ this -> getAutoFill ( ) ) ) array_push ( $ names , $ column -> Field ) ; } return '[\'' . implode ( '\', \'' , $ names ) . '\']' ; }
Get models fillable fields

@param array $columns
@param bool $translations
@return string
Get models fillable fields