Skip to content

Instantly share code, notes, and snippets.

@cwage
Created August 23, 2010 21:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cwage/546335 to your computer and use it in GitHub Desktop.
Save cwage/546335 to your computer and use it in GitHub Desktop.
generator:
class: sfDoctrineGenerator
param:
model_class: School
theme: textbook
non_verbose_templates: true
with_show: false
singular: ~
plural: ~
route_prefix: school
with_doctrine_route: true
actions_base_class: sfActions
config:
actions:
new:
credentials: admin
create:
credentials: admin
save:
credentials: admin
save_and_add:
credentials: admin
delete:
credentials: admin
edit:
credentials: admin
fields:
commission: { credentials: [ [admin], [testperm]] }
list:
display: [name, sales, commission, payout]
actions: []
object_actions: []
batch_actions:
_delete:
credentials: admin
filter: ~
form: ~
edit:
display:
- name
new:
display:
- name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment