public function GetCurrentViewDirectory () {
		$result = $this->GetCurrentViewFullPath();
		$lastSlashPos = mb_strrpos($result, '/');
		if ($lastSlashPos !== FALSE) {
			$result = mb_substr($result, 0, $lastSlashPos);
		}
		return $result;
	}
public function GetCurrentViewDirectory () {
		$result = $this->GetCurrentViewFullPath();
		$lastSlashPos = mb_strrpos($result, '/');
		if ($lastSlashPos !== FALSE) {
			$result = mb_substr($result, 0, $lastSlashPos);
		}
		return $result;
	}
public function GetCurrentViewDirectory ( ) { $ result = $ this -> GetCurrentViewFullPath ( ) ; $ lastSlashPos = mb_strrpos ( $ result , '/' ) ; if ( $ lastSlashPos !== FALSE ) { $ result = mb_substr ( $ result , 0 , $ lastSlashPos ) ; } return $ result ; }
Get currently rendered view file directory full path.
If this method is called outside of rendering process, `NULL` is returned.
@return string|NULL
Get currently rendered view file directory full path . If this method is called outside of rendering process NULL is returned .