/karibou2/class/smarty/SmartyValidate/plugins/validate_criteria.isPrice.php

Description

Project: SmartyValidate: Form Validator for the Smarty Template Engine File: validate_criteria.isPrice.php Author: Monte Ohrt <monte at newdigitalgroup dot com>

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

Functions
smarty_validate_criteria_isPrice (line 37)

test if a value is a price

void smarty_validate_criteria_isPrice (string $value, boolean $empty, array &$params, array &$formvars)
  • string $value: the value being tested
  • boolean $empty: if field can be empty
  • array &$params: params validate parameter values
  • array &$formvars: formvars form var values

Documentation generated on Sat, 17 Feb 2007 02:55:21 +0100 by phpDocumentor 1.3.0RC3