src/classes/CCPath.php
public static function get( $path, $prefix = '', $suffix = '' ) {
	
		if ( substr( $path, 0, 1 ) == '/' || substr( $path, 0, 3 ) == "::/" ) {
			return $path.$suffix;
		} 

		if ( strpos( $path, '::' ) === false ) {
			return \APPPATH.$prefix.$path.$suffix;
		}
		
		$name = explode( '::', $path );
		
		// do we have a namepsace
		if ( array_key_exists( $name[0], \CCFinder::$bundles ) ) 
		{
			return \CCFinder::$bundles[$name[0]].$prefix.$name[1].$suffix;
		}
		
		return false;
	}
public static function get( $path, $prefix = '', $suffix = '' ) {
	
		if ( substr( $path, 0, 1 ) == '/' || substr( $path, 0, 3 ) == "::/" ) {
			return $path.$suffix;
		} 

		if ( strpos( $path, '::' ) === false ) {
			return \APPPATH.$prefix.$path.$suffix;
		}
		
		$name = explode( '::', $path );
		
		// do we have a namepsace
		if ( array_key_exists( $name[0], \CCFinder::$bundles ) ) 
		{
			return \CCFinder::$bundles[$name[0]].$prefix.$name[1].$suffix;
		}
		
		return false;
	}
public static function get ( $ path , $ prefix = '' , $ suffix = '' ) { if ( substr ( $ path , 0 , 1 ) == '/' || substr ( $ path , 0 , 3 ) == "::/" ) { return $ path . $ suffix ; } if ( strpos ( $ path , '::' ) === false ) { return \ APPPATH . $ prefix . $ path . $ suffix ; } $ name = explode ( '::' , $ path ) ; // do we have a namepsace if ( array_key_exists ( $ name [ 0 ] , \ CCFinder :: $ bundles ) ) { return \ CCFinder :: $ bundles [ $ name [ 0 ] ] . $ prefix . $ name [ 1 ] . $ suffix ; } return false ; }
generate an path
an path can conatin an namespace for example "core"

if an path starts with an "/" only the suffix
will be added.

@param string		$path
@param string		$prefix
@param string		$sufix
generate an path an path can conatin an namespace for example core