ngresttest\models\Table::ngRestAttributeTypes PHP Метод

ngRestAttributeTypes() публичный Метод

public ngRestAttributeTypes ( ) : array
Результат array An array define the field types of each field
    public function ngRestAttributeTypes()
    {
        return ['image' => 'link', 'imageArray' => 'textarea', 'file' => 'textarea', 'fileArray' => 'textarea', 'text' => 'textarea', 'textarea' => 'textarea', 'selectArray' => 'textarea', 'checkboxList' => 'textarea', 'checkboxRelation' => 'textarea', 'color' => 'textarea', 'date' => 'textarea', 'datetime' => 'textarea', 'decimal' => 'textarea', 'number' => 'textarea', 'password' => 'textarea', 'selectClass' => 'textarea', 'toggleStatus' => 'textarea', 'sortRelationArray' => 'textarea', 'sortRelationModel' => 'textarea', 'i18n_image' => 'textarea', 'i18n_imageArray' => 'textarea', 'i18n_file' => 'textarea', 'i18n_fileArray' => 'textarea', 'i18n_text' => 'textarea', 'i18n_textarea' => 'textarea', 'i18n_selectArray' => 'textarea', 'i18n_checkboxList' => 'textarea', 'i18n_checkboxRelation' => 'textarea', 'i18n_color' => 'textarea', 'i18n_date' => 'textarea', 'i18n_datetime' => 'textarea', 'i18n_decimal' => 'textarea', 'i18n_number' => 'textarea', 'i18n_password' => 'textarea', 'i18n_selectClass' => 'textarea', 'i18n_toggleStatus' => 'textarea', 'i18n_sortRelationArray' => 'textarea', 'i18n_sortRelationModel' => 'textarea'];
    }