Skip to content
Snippets Groups Projects

full plugin mod for multiselection

Compare and Show latest version
6 files
+ 371
35
Preferences
Compare changes
Files
6
@@ -23,22 +23,24 @@
class Admin_CustomFieldsController extends ZendAfi_Controller_Action {
public function getRessourceDefinitions() {
return [
'model' => [
'class' => 'Class_CustomField',
'name' => 'custom_fields',
'order' => 'id',
'scope' => 'model'],
'messages' => [
'successful_save' => $this->_('Champ personnalisé "%s" sauvegardé'),
'successful_add' => $this->_('Champ personnalisé "%s" ajouté')],
'actions' => [
'add' => ['title' => $this->_('Nouveau champ personnalisé')],
'edit' => ['title' => $this->_('Modifier un champ personnalisé')],
'index' => ['title' => $this->_('Champs personnalisés')]],
'form_class_name' => 'ZendAfi_Form_Admin_CustomFields_CustomFieldModel'];
'model' => [
'class' => 'Class_CustomField',
'name' => 'custom_fields',
'order' => 'id',
'scope' => 'model'],
'messages' => [
'successful_save' => $this->_('Champ personnalisé "%s" sauvegardé'),
'successful_add' => $this->_('Champ personnalisé "%s" ajouté')],
'actions' => [
'add' => ['title' => $this->_('Nouveau champ personnalisé')],
'edit' => ['title' => $this->_('Modifier un champ personnalisé')],
'index' => ['title' => $this->_('Champs personnalisés')]],
'form_class_name' => 'ZendAfi_Form_Admin_CustomFields_CustomFieldModel',
'plugins' => ['ZendAfi_Controller_Plugin_Manager_CustomField']];
}