src/bbn/mvc/controller.php
public function incl($file_name){
		if ( $this->exists() ){
			$d = dirname($this->file).'/';
			if ( substr($file_name, -4) !== '.php' ){
				$file_name .= '.php';
			}
			if ( (strpos($file_name, '..') === false) && file_exists($d.$file_name) ){
				$bbn_path = $d.$file_name;
				$ctrl =& $this;
				unset($d, $file_name);
				include($bbn_path);
			}
		}
		return $this;
	}
public function incl($file_name){
		if ( $this->exists() ){
			$d = dirname($this->file).'/';
			if ( substr($file_name, -4) !== '.php' ){
				$file_name .= '.php';
			}
			if ( (strpos($file_name, '..') === false) && file_exists($d.$file_name) ){
				$bbn_path = $d.$file_name;
				$ctrl =& $this;
				unset($d, $file_name);
				include($bbn_path);
			}
		}
		return $this;
	}
public function incl ( $ file_name ) { if ( $ this -> exists ( ) ) { $ d = dirname ( $ this -> file ) . '/' ; if ( substr ( $ file_name , - 4 ) !== '.php' ) { $ file_name .= '.php' ; } if ( ( strpos ( $ file_name , '..' ) === false ) && file_exists ( $ d . $ file_name ) ) { $ bbn_path = $ d . $ file_name ; $ ctrl = & $ this ; unset ( $ d , $ file_name ) ; include ( $ bbn_path ) ; } } return $ this ; }
This will include a file from within the controller's path. Chainable

@param string $file_name If .php is ommited it will be added
@return $this
This will include a file from within the controller s path . Chainable