generator.yml 1.05 KB
Newer Older
Игорь's avatar
init    
Игорь committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
generator:
  class: sfDoctrineGenerator
  param:
    model_class:           Page
    theme:                 admin
    non_verbose_templates: true
    with_show:             false
    singular:              ~
    plural:                ~
    route_prefix:          page
    with_doctrine_route:   true
    actions_base_class:    sfActions
    order: 13000
    hr: true
    skip: true

    config:
      actions: ~
      fields:
        title: {label: Заголовок}
        body: {label: Текст страницы}
        images: {label: Изображения}
        is_activated: {label: Опубликована}
        alias: {label: Алиас}
      list:
        layout: ~
        title: Страницы
        display: [=title, is_activated]
        params: |
          %%%% %%title%%
        max_per_page: 30
        object_actions:
          _delete: ~
          _edit: ~
      filter:
        class: false
      form:    ~
      edit:
        title: Редактирование страницы
      new:
        title: Новая страница