* @link http://www.yiiframework.com/ * @copyright Copyright © 2008-2009 Yii Software LLC * @license http://www.yiiframework.com/license/ */ /** * CUnsafeValidator marks the associated attributes to be unsafe so that they cannot be massively assigned. * * @author Qiang Xue * @version $Id$ * @package system.validators * @since 1.0 */ class CUnsafeValidator extends CValidator { /** * Validates the attribute of the object. * If there is any error, the error message is added to the object. * @param CModel the object being validated * @param string the attribute being validated */ protected function validateAttribute($object,$attribute) { } }