Development

#4837 (Doc Chapter 14 Admin Generator, generator.yml uses "filter" in plural or singular?)

You must first sign up to be able to contribute.

Ticket #4837 (closed documentation: fixed)

Opened 8 months ago

Last modified 8 months ago

Doc Chapter 14 Admin Generator, generator.yml uses "filter" in plural or singular?

Reported by: rschumacher Assigned to: fabien
Priority: minor Milestone: 1.2.0 BETA2
Component: generator Version: 1.2.0 BETA1
Keywords: filter Cc:
Qualification: Unreviewed

Description

Referring to the Symfony 1.2 documentation, chapter 14 on admin generation, configuration in generator.yml, specification of filters:

The term "filter" appears both in plural form as well as in singular form, i.e. sometimes "filters" & "filter" at the same place in generator.yml.

-> (1) which is the right term to use, plural of singular? Taken from the doc:

Listing 14-5 - Default Generator Configuration:
    config:
      actions: ~
      list:    ~
      filter:  ~
      form:    ~
      edit:    ~
      new:     ~

or

 Listing 14-23:
  filters:
    display: [article_id, author, created_at]

-> (2) or, at wich place is which form to be used? (I have remarked that filter configurations in generator.yml can occur on general level (its own section) as well within the "list" section?)

Listing 14-24 - Using a Partial Filter:
config:
  list:
    filters: [date, _state]

With my first 1.2b1 admin gen trials I couldn't figure out which form is correct (I'm not not yet a pro on SF, to come...). This means that there may be other problems with admin filters as well, however in any case there is this inconsistency in the documentation.

Change History

11/09/08 12:01:44 changed by fabien

  • status changed from new to closed.
  • resolution set to fixed.

(In [12817]) [doc] [1.2] fixed typos (closes #4837)

11/09/08 12:01:50 changed by fabien

  • milestone changed from 1.2.0 to 1.2.0 BETA2.

The Sensio Labs Network

Since 1998, Sensio Labs has been promoting the Open-Source software movement by providing quality web application development, training, consulting, and supporting several large Open-Source projects.