Source for file Ethna_Plugin_Validator_Regexp.php
Documentation is available at Ethna_Plugin_Validator_Regexp.php
// vim: foldmethod=marker
* Ethna_Plugin_Validator_Regexp.php
* @author ICHII Takashi <ichii386@schweetheart.jp>
* @license http://www.opensource.org/licenses/bsd-license.php The BSD License
// {{{ Ethna_Plugin_Validator_Regexp
* @author ICHII Takashi <ichii386@schweetheart.jp>
/** @var bool 配列を受け取るかフラグ */
* @param string $name フォームの名前
* @param mixed $var フォームの値
* @param array $params プラグインのパラメータ
function &validate($name, $var, $params)
if (isset
($params['regexp']) ==
false
if (isset
($params['error'])) {
$msg =
_et('Please input {form} properly.');
Documentation generated on Fri, 11 Nov 2011 04:00:43 +0900 by phpDocumentor 1.4.3