Symfony 1.4 で admin ジェネレーターを使用しており、カスタム アクションが必要です。アクション名を指定できる generator.yml で指定object_actions
できますが、別のモジュール名を指定する方法はありますか?
generator.yml
generator:
class: sfDoctrineGenerator
param:
model_class: MasterIndex
theme: admin
non_verbose_templates: true
with_show: false
singular: ~
plural: ~
route_prefix: master_index
with_doctrine_route: true
actions_base_class: sfActions
config:
actions: ~
fields: ~
list:
actions: {}
display: [=last_name, =first_name, =email, _number_poems, is_contestant, is_admin, is_disabled]
object_actions:
payInvoice: {label: Enter Payment, action: payInvoice} // how to specify a different module?
_edit: ~
filter:
display: [last_name, first_name, email, is_admin, is_contestant, is_disabled]
form: ~
edit: ~
new: ~
キーを追加しようとしmodule: payment
ましたpayInvoice
が、効果がありません。これは実行可能ですか?