framework/gii/CCodeModel.php
public function loadStickyAttributes()
	{
		$this->_stickyAttributes=array();
		$path=$this->getStickyFile();
		if(is_file($path))
		{
			$result=@include($path);
			if(is_array($result))
			{
				$this->_stickyAttributes=$result;
				foreach($this->_stickyAttributes as $name=>$value)
				{
					if(property_exists($this,$name) || $this->canSetProperty($name))
						$this->$name=$value;
				}
			}
		}
	}
public function loadStickyAttributes()
	{
		$this->_stickyAttributes=array();
		$path=$this->getStickyFile();
		if(is_file($path))
		{
			$result=@include($path);
			if(is_array($result))
			{
				$this->_stickyAttributes=$result;
				foreach($this->_stickyAttributes as $name=>$value)
				{
					if(property_exists($this,$name) || $this->canSetProperty($name))
						$this->$name=$value;
				}
			}
		}
	}
public function loadStickyAttributes ( ) { $ this -> _stickyAttributes = array ( ) ; $ path = $ this -> getStickyFile ( ) ; if ( is_file ( $ path ) ) { $ result = @ include ( $ path ) ; if ( is_array ( $ result ) ) { $ this -> _stickyAttributes = $ result ; foreach ( $ this -> _stickyAttributes as $ name => $ value ) { if ( property_exists ( $ this , $ name ) || $ this -> canSetProperty ( $ name ) ) $ this -> $ name = $ value ; } } } }
Loads sticky attributes from a file and populates them into the model.
Loads sticky attributes from a file and populates them into the model .