framework/gii/CCodeModel.php
public function sticky($attribute,$params)
	{
		if(!$this->hasErrors())
			$this->_stickyAttributes[$attribute]=$this->$attribute;
	}
public function sticky($attribute,$params)
	{
		if(!$this->hasErrors())
			$this->_stickyAttributes[$attribute]=$this->$attribute;
	}
public function sticky ( $ attribute , $ params ) { if ( ! $ this -> hasErrors ( ) ) $ this -> _stickyAttributes [ $ attribute ] = $ this -> $ attribute ; }
The "sticky" validator.
This validator does not really validate the attributes.
It actually saves the attribute value in a file to make it sticky.
@param string $attribute the attribute to be validated
@param array $params the validation parameters
The sticky validator . This validator does not really validate the attributes . It actually saves the attribute value in a file to make it sticky .