Exemplo n.º 1
0
 /**
  * Define hidden conditions
  *
  * @return array
  */
 protected function defineHiddenConditions()
 {
     return parent::defineHiddenConditions() + array('customerName' => array(static::CONDITION_CLASS => 'XLite\\View\\FormField\\Input\\Text', \XLite\View\FormField\AFormField::PARAM_LABEL => static::t('Customer name')), 'accessLevel' => array(static::CONDITION_CLASS => 'XLite\\View\\FormField\\Select\\Order\\CustomerAccessLevel', \XLite\View\FormField\AFormField::PARAM_LABEL => static::t('Customer access level')), 'zipcode' => array(static::CONDITION_CLASS => 'XLite\\View\\FormField\\Input\\Text', \XLite\View\FormField\AFormField::PARAM_LABEL => static::t('Customer zip/postal code')), 'transactionID' => array(static::CONDITION_CLASS => 'XLite\\View\\FormField\\Input\\Text', \XLite\View\FormField\AFormField::PARAM_LABEL => static::t('Payment transaction ID')));
 }
Exemplo n.º 2
0
 /**
  * Define hidden conditions
  *
  * @return array
  */
 protected function defineHiddenConditions()
 {
     return parent::defineHiddenConditions() + array('customerName' => array(static::CONDITION_CLASS => 'XLite\\View\\FormField\\Input\\Text\\Profile', \XLite\View\FormField\AFormField::PARAM_LABEL => static::t('Customer'), \XLite\View\FormField\Input\AInput::PARAM_PLACEHOLDER => static::t('Customer name'), \XLite\View\FormField\Input\Text\Profile::PARAM_PROFILE_ID => $this->getCondition('profileId'), \XLite\View\FormField\Input\Text\Profile::PARAM_AUTOCOMPLETE => true), 'accessLevel' => array(static::CONDITION_CLASS => 'XLite\\View\\FormField\\Select\\Order\\CustomerAccessLevel', \XLite\View\FormField\AFormField::PARAM_LABEL => static::t('Customer access level')), 'zipcode' => array(static::CONDITION_CLASS => 'XLite\\View\\FormField\\Input\\Text', \XLite\View\FormField\AFormField::PARAM_LABEL => static::t('Customer zip/postal code')), 'transactionID' => array(static::CONDITION_CLASS => 'XLite\\View\\FormField\\Input\\Text', \XLite\View\FormField\AFormField::PARAM_LABEL => static::t('Payment transaction ID')));
 }