PHP 8.1.33
Preview: CUnsafeValidator.php Size: 987 B
/home/jambtst2015/www/framework/validators/CUnsafeValidator.php

<?php
/**
 * CUnsafeValidator class file.
 *
 * @author Qiang Xue <qiang.xue@gmail.com>
 * @link http://www.yiiframework.com/
 * @copyright 2008-2013 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 <qiang.xue@gmail.com>
 * @package system.validators
 * @since 1.0
 */
class CUnsafeValidator extends CValidator
{
	/**
	 * @var boolean whether attributes listed with this validator should be considered safe for massive assignment.
	 * Defaults to false.
	 * @since 1.1.4
	 */
	public $safe=false;
	/**
	 * Validates the attribute of the object.
	 * This validator does not do any validation as it is meant
	 * to only mark attributes as unsafe.
	 * @param CModel $object the object being validated
	 * @param string $attribute the attribute being validated
	 */
	protected function validateAttribute($object,$attribute)
	{
	}
}

Directory Contents

Dirs: 0 × Files: 22

Name Size Perms Modified Actions
3.33 KB lrw-r--r-- 2024-11-22 17:53:16
Edit Download
3.80 KB lrw-r--r-- 2024-11-22 17:53:16
Edit Download
7.72 KB lrw-r--r-- 2024-11-22 17:53:16
Edit Download
2.49 KB lrw-r--r-- 2024-11-22 17:53:16
Edit Download
1.43 KB lrw-r--r-- 2024-11-22 17:53:16
Edit Download
6.73 KB lrw-r--r-- 2024-11-22 17:53:16
Edit Download
4.29 KB lrw-r--r-- 2024-11-22 17:53:16
Edit Download
11.75 KB lrw-r--r-- 2024-11-22 17:53:16
Edit Download
1.56 KB lrw-r--r-- 2024-11-22 17:53:16
Edit Download
2.57 KB lrw-r--r-- 2024-11-22 17:53:16
Edit Download
5.42 KB lrw-r--r-- 2024-11-22 17:53:16
Edit Download
3.47 KB lrw-r--r-- 2024-11-22 17:53:16
Edit Download
3.41 KB lrw-r--r-- 2024-11-22 17:53:16
Edit Download
3.92 KB lrw-r--r-- 2024-11-22 17:53:16
Edit Download
746 B lrw-r--r-- 2024-11-22 17:53:16
Edit Download
5.59 KB lrw-r--r-- 2024-11-22 17:53:16
Edit Download
5.00 KB lrw-r--r-- 2024-11-22 17:53:16
Edit Download
5.24 KB lrw-r--r-- 2024-11-22 17:53:16
Edit Download
987 B lrw-r--r-- 2024-11-22 17:53:16
Edit Download
6.00 KB lrw-r--r-- 2024-11-22 17:53:16
Edit Download
9.58 KB lrw-r--r-- 2024-11-22 17:53:16
Edit Download
102.27 KB lrw-r--r-- 2025-11-03 06:34:55
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).