PHP Classes

File: config/app.forms.php

Recommend this page to a friend!
  Classes of Fabrice Fesch   Melis Messenger   config/app.forms.php   Download  
File: config/app.forms.php
Role: Auxiliary script
Content type: text/plain
Description: Configuration script
Class: Melis Messenger
Exchange messages between Melis platform users
Author: By
Last change:
Date: 2 months ago
Size: 3,578 bytes
 

Contents

Class file image Download
<?php
return array(
   
'plugins' => array(
       
'melismessenger' => array(
           
'conf' => array(
               
'rightsDisplay' => 'none',
            ),
           
'forms' => array(
               
'melismessenger_conversation_form' => array(
                   
'attributes' => array(
                       
'name' => 'messengerform',
                       
'id' => 'sendMsgForm',
                       
'method' => 'POST',
                       
'action' => '',
                    ),
                   
'hydrator' => 'Laminas\Hydrator\ArraySerializableHydrator',
                   
'elements' => array(
                        array(
                           
'spec' => array(
                               
'name' => 'msgr_msg_id',
                               
'type' => 'hidden',
                               
'attributes' => array(
                                   
'id' => 'msgr_msg_id',
                                ),
                            ),
                        ),
                        array(
                           
'spec' => array(
                               
'name' => 'msgr_msg_cont_sender_id',
                               
'type' => 'hidden',
                               
'attributes' => array(
                                   
'id' => 'msgr_msg_cont_sender_id',
                                ),
                            ),
                        ),
                        array(
                           
'spec' => array(
                               
'name' => 'msgr_msg_cont_date',
                               
'type' => 'hidden',
                               
'attributes' => array(
                                   
'id' => 'msgr_msg_cont_date',
                                ),
                            ),
                        ),
                        array(
                           
'spec' => array(
                               
'name' => 'msgr_msg_cont_status',
                               
'type' => 'hidden',
                               
'attributes' => array(
                                   
'id' => 'msgr_msg_cont_status',
                                ),
                            ),
                        ),
                        array(
                           
'spec' => array(
                               
'name' => 'msgr_msg_cont_message',
                               
'type' => 'MelisMessengerInput',
                               
'attributes' => array(
                                   
'id' => 'msgr_msg_cont_message',
                                   
'value' => '',
                                ),
                            ),
                        ),
                    ),
                   
'input_filter' => array(
                       
'msgr_msg_cont_message' => array(
                           
'name' => 'msgr_msg_cont_message',
                           
'required' => true,
                           
'validators' => array(
                                array(
                                   
'name' => 'NotEmpty',
                                   
'options' => array(
                                       
'messages' => array(
                                            \
Laminas\Validator\NotEmpty::IS_EMPTY => 'tr_melistoolmesseger_tool_input_empty',
                                        ),
                                    ),
                                ),
                            ),
                           
'filters' => array(
                                array(
'name' => 'StringTrim'),
                            ),
                        ),
                    ),
                ),
            ),
        ),
    ),
);