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
* @version $Id: Ethna_Plugin_Validator_Regexp.php 318 2006-08-11 10:26:00Z ichii386 $
// {{{ 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 =
"{form}を正しく入力してください";
Documentation generated on Thu, 08 May 2008 00:15:22 +0900 by phpDocumentor 1.4.2