PHP Classes

File: config/toolsSite/properties.tools.php

Recommend this page to a friend!
  Classes of Fabrice Fesch   Melis CMS   config/toolsSite/properties.tools.php   Download  
File: config/toolsSite/properties.tools.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Melis CMS
Content management system that provides its tools
Author: By
Last change:
Date: 1 year ago
Size: 22,102 bytes
 

Contents

Class file image Download
<?php return array( 'plugins' => array( 'meliscms' => array( 'tools' => array( 'meliscms_tool_sites' => array( 'forms' => array( 'meliscms_tool_sites_properties_form' => array( 'attributes' => array( 'name' => 'meliscms_tool_sites_properties_form', 'id' => 'meliscms_tool_sites_properties_form', 'method' => 'POST', 'action' => '', ), 'hydrator' => 'Laminas\Hydrator\ArraySerializableHydrator', 'elements' => array( array( 'spec' => array( 'name' => 'site_id', 'type' => 'hidden', 'options' => array( 'label' => 'tr_melis_cms_sites_site_id', ), 'attributes' => array( 'id' => 'site_id', 'value' => '', 'placeholder' => 'tr_melis_cms_sites_site_id', ), ), ), array( 'spec' => array( 'name' => 'site_id_disp', 'type' => 'MelisText', 'options' => array( 'label' => 'tr_melis_cms_sites_site_id', 'tooltip' => 'tr_melis_cms_sites_site_id tooltip', ), 'attributes' => array( 'id' => 'site_id_disp', 'value' => '', 'disabled' => 'true', 'read-only' => 'true', 'placeholder' => 'tr_melis_cms_sites_site_id', ), ), ), array( 'spec' => array( 'name' => 'site_label', 'type' => 'MelisText', 'options' => array( 'label' => 'tr_melis_cms_sites_site_label', 'tooltip' => 'tr_melis_cms_sites_site_label tooltip', ), 'attributes' => array( 'id' => 'site_label', 'value' => '', 'placeholder' => 'tr_melis_cms_sites_site_label', 'required' => 'required' ), ), ), array( 'spec' => array( 'name' => 'site_name', 'type' => 'MelisText', 'options' => array( 'label' => 'tr_melis_cms_sites_site_name', 'tooltip' => 'tr_melis_cms_sites_site_name tooltip', ), 'attributes' => array( 'id' => 'site_name', 'value' => '', 'placeholder' => 'tr_melis_cms_sites_site_name', 'required' => 'required' ), ), ), array( 'spec' => array( 'name' => 's404_page_id', 'type' => 'MelisText', 'options' => array( 'label' => 'tr_melis_cms_sites_s404_page_id', 'tooltip' => 'tr_melis_cms_sites_s404_page_id tooltip', 'button' => 'fa fa-sitemap', 'button-id' => 's404_page_id_button', ), 'attributes' => array( 'id' => 's404_page_id', 'value' => '', 'placeholder' => 'tr_melis_cms_sites_s404_page_id', 'required' => 'required' ), ), ), array( 'spec' => array( 'name' => 'site_main_page_id', 'type' => 'MelisText', 'options' => array( 'label' => 'tr_melis_cms_sites_site_main_page_id', 'tooltip' => 'tr_melis_cms_sites_site_main_page_id tooltip', 'button' => 'fa fa-sitemap', 'button-id' => 'site_main_page_id_button', ), 'attributes' => array( 'id' => 'site_main_page_id', 'value' => '', 'placeholder' => 'tr_melis_cms_sites_site_main_page_id', 'required' => 'required' ), ), ), ), 'input_filter' => array( 'site_id' => array( 'name' => 'site_id', 'required' => false, 'validators' => array( array( 'name' => 'IsInt', 'options' => array( 'messages' => array( \Laminas\I18n\Validator\IsInt::NOT_INT => 'tr_melis_cms_sites_field_digits', \Laminas\I18n\Validator\IsInt::INVALID => 'tr_melis_cms_sites_field_digits', ) ) ), ), 'filters' => array( array('name' => 'StripTags'), array('name' => 'StringTrim'), ), ), 'site_id_disp' => array( 'name' => 'site_id_disp', 'required' => false, 'validators' => array(), 'filters' => array( array('name' => 'StripTags'), array('name' => 'StringTrim'), ), ), 'site_label' => array( 'name' => 'site_label', 'required' => true, 'validators' => array( array( 'name' => 'NotEmpty', 'options' => array( 'messages' => array( \Laminas\Validator\NotEmpty::IS_EMPTY => 'tr_melis_cms_sites_field_empty', ), ), ), ), 'filters' => array( array('name' => 'StripTags'), array('name' => 'StringTrim'), ), ), 'site_name' => array( 'name' => 'site_name', 'required' => true, 'validators' => array( array( 'name' => 'NotEmpty', 'options' => array( 'messages' => array( \Laminas\Validator\NotEmpty::IS_EMPTY => 'tr_melis_cms_sites_field_empty', ), ), ), ), 'filters' => array( array('name' => 'StripTags'), array('name' => 'StringTrim'), ), ), 's404_page_id' => array( 'name' => 's404_page_id', 'required' => true, 'validators' => array( array( 'name' => 'NotEmpty', 'options' => array( 'messages' => array( \Laminas\Validator\NotEmpty::IS_EMPTY => 'tr_melis_cms_sites_field_empty', ), ), 'break_chain_on_failure' => true, ), array( 'name' => 'IsInt', 'options' => array( 'messages' => array( \Laminas\I18n\Validator\IsInt::NOT_INT => 'tr_melis_cms_sites_field_digits', \Laminas\I18n\Validator\IsInt::INVALID => 'tr_melis_cms_sites_field_digits', ) ) ), ), 'filters' => array( array('name' => 'StripTags'), array('name' => 'StringTrim'), ), ), 'site_main_page_id' => array( 'name' => 'site_main_page_id', 'required' => true, 'validators' => array( array( 'name' => 'NotEmpty', 'options' => array( 'messages' => array( \Laminas\Validator\NotEmpty::IS_EMPTY => 'tr_melis_cms_sites_field_empty', ), ), 'break_chain_on_failure' => true, ), array( 'name' => 'IsInt', 'options' => array( 'messages' => array( \Laminas\I18n\Validator\IsInt::NOT_INT => 'tr_melis_cms_sites_field_digits', \Laminas\I18n\Validator\IsInt::INVALID => 'tr_melis_cms_sites_field_digits', ) ) ), ), 'filters' => array( array('name' => 'StripTags'), array('name' => 'StringTrim'), ), ), ), ), 'meliscms_tool_sites_properties_homepage_form' => array( 'attributes' => array( 'name' => 'meliscms_tool_sites_properties_homepage_form', 'id' => 'meliscms_tool_sites_properties_homepage_form', 'method' => 'POST', 'action' => '', ), 'hydrator' => 'Laminas\Hydrator\ArraySerializableHydrator', 'elements' => array( array( 'spec' => array( 'name' => 'shome_id', 'type' => 'hidden', 'options' => array( 'label' => 'tr_melis_cms_sites_shome_id', ), 'attributes' => array( 'id' => 'shome_id', 'value' => '', 'placeholder' => 'tr_melis_cms_sites_shome_id', ), ), ), array( 'spec' => array( 'name' => 'shome_lang_id', 'type' => 'hidden', 'options' => array( 'label' => 'tr_melis_cms_sites_shome_lang_id', ), 'attributes' => array( 'id' => 'shome_lang_id', 'value' => '', 'placeholder' => 'tr_melis_cms_sites_shome_lang_id', ), ), ), array( 'spec' => array( 'name' => 'shome_site_id', 'type' => 'hidden', 'options' => array( 'label' => 'tr_melis_cms_sites_shome_site_id', ), 'attributes' => array( 'id' => 'shome_site_id', 'value' => '', 'placeholder' => 'tr_melis_cms_sites_sshome_site_id', ), ), ), array( 'spec' => array( 'name' => 'shome_page_id', 'type' => 'MelisText', 'options' => array( 'label' => 'tr_melis_cms_sites_shome_page_id', 'tooltip' => 'tr_melis_cms_sites_shome_page_id tooltip', 'button' => 'fa fa-sitemap', 'button-id' => '', 'button-class' => 'pageSelect', ), 'attributes' => array( 'id' => 'shome_page_id', 'value' => '', 'placeholder' => 'tr_melis_cms_sites_shome_page_id', 'required' => 'required' ), ), ), ), 'input_filter' => array( 'shome_id' => array( 'name' => 'shome_id', 'required' => false, 'validators' => array(), 'filters' => array( array('name' => 'StripTags'), array('name' => 'StringTrim'), ), ), 'shome_site_id' => array( 'name' => 'shome_site_id', 'required' => false, 'validators' => array(), 'filters' => array( array('name' => 'StripTags'), array('name' => 'StringTrim'), ), ), 'shome_lang_id' => array( 'name' => 'shome_lang_id', 'required' => false, 'validators' => array(), 'filters' => array( array('name' => 'StripTags'), array('name' => 'StringTrim'), ), ), 'shome_page_id' => array( 'name' => 'shome_page_id', 'required' => true, 'validators' => array( array( 'name' => 'NotEmpty', 'options' => array( 'messages' => array( \Laminas\Validator\NotEmpty::IS_EMPTY => 'tr_melis_cms_sites_field_empty', ), ), 'break_chain_on_failure' => true, ), array( 'name' => 'IsInt', 'options' => array( 'messages' => array( \Laminas\I18n\Validator\IsInt::NOT_INT => 'tr_melis_cms_sites_field_digits', \Laminas\I18n\Validator\IsInt::INVALID => 'tr_melis_cms_sites_field_digits', ) ) ), ), 'filters' => array( array('name' => 'StripTags'), array('name' => 'StringTrim'), ), ), ), ), ), ), // end Melis CMS Site Tool ), ), ), );