当前位置: 首页>>代码示例>>PHP>>正文


PHP Zend_Validate_EmailAddress::__construct方法代码示例

本文整理汇总了PHP中Zend_Validate_EmailAddress::__construct方法的典型用法代码示例。如果您正苦于以下问题:PHP Zend_Validate_EmailAddress::__construct方法的具体用法?PHP Zend_Validate_EmailAddress::__construct怎么用?PHP Zend_Validate_EmailAddress::__construct使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Zend_Validate_EmailAddress的用法示例。


在下文中一共展示了Zend_Validate_EmailAddress::__construct方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: __construct

 public function __construct($options = array())
 {
     parent::__construct($options);
     $this->_messageTemplates[self::INVALID] = trlKwfStatic("'%value%' is not a valid email address");
     $this->_messageTemplates[self::INVALID_HOSTNAME] = trlKwfStatic("'%hostname%' is not a valid hostname for email address '%value%'");
     $this->_messageTemplates[self::INVALID_MX_RECORD] = trlKwfStatic("'%hostname%' does not appear to have a valid MX record for the email address '%value%'");
     $this->_messageTemplates[self::DOT_ATOM] = trlKwfStatic("'%localPart%' not matched against dot-atom format");
     $this->_messageTemplates[self::QUOTED_STRING] = trlKwfStatic("'%localPart%' not matched against quoted-string format");
     $this->_messageTemplates[self::INVALID_LOCAL_PART] = trlKwfStatic("'%localPart%' is not a valid local part for email address '%value%'");
 }
开发者ID:xiaoguizhidao,项目名称:koala-framework,代码行数:10,代码来源:EmailAddress.php

示例2: __construct

 public function __construct($options = array())
 {
     parent::__construct($options);
     $this->_messageTemplates[self::NON_WHITELISTED_DOMAIN] = "Domain '%value%' is not whitelisted.";
 }
开发者ID:knatorski,项目名称:SMS,代码行数:5,代码来源:EmailAddressInDomain.php

示例3: __construct

 /**
  * Instantiates hostname validator for local use
  *
  * The following option keys are supported:
  * 'hostname' => A hostname validator, see Zend_Validate_Hostname
  * 'allow'    => Options for the hostname validator, see Zend_Validate_Hostname::ALLOW_*
  * 'mx'       => If MX check should be enabled, boolean
  * 'deep'     => If a deep MX check should be done, boolean
  *
  * @param array|Zend_Config $options OPTIONAL
  * @return void
  */
 public function __construct($options = array())
 {
     parent::__construct($options);
 }
开发者ID:bokultis,项目名称:kardiomedika,代码行数:16,代码来源:EmailAddress.php

示例4: __construct

 public function __construct($options = array())
 {
     parent::__construct($options);
     $this->setMailValidatorMessage();
 }
开发者ID:niavok,项目名称:syj,代码行数:5,代码来源:EmailAddress.php


注:本文中的Zend_Validate_EmailAddress::__construct方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。