framework/gii/CCodeGenerator.php
public function getViewPath()
	{
		if($this->_viewPath===null)
		{
			$class=new ReflectionClass(get_class($this));
			$this->_viewPath=dirname($class->getFileName()).DIRECTORY_SEPARATOR.'views';
		}
		return $this->_viewPath;
	}
public function getViewPath()
	{
		if($this->_viewPath===null)
		{
			$class=new ReflectionClass(get_class($this));
			$this->_viewPath=dirname($class->getFileName()).DIRECTORY_SEPARATOR.'views';
		}
		return $this->_viewPath;
	}
public function getViewPath ( ) { if ( $ this -> _viewPath === null ) { $ class = new ReflectionClass ( get_class ( $ this ) ) ; $ this -> _viewPath = dirname ( $ class -> getFileName ( ) ) . DIRECTORY_SEPARATOR . 'views' ; } return $ this -> _viewPath ; }
Returns the view path of the generator.
The "views" directory under the directory containing the generator class file will be returned.
@return string the view path of the generator
Returns the view path of the generator . The views directory under the directory containing the generator class file will be returned .