src/bootstrap.php
public static function get_library($name) {
	if (class_exists('\\alsvanzelf\\fem\\'.$name) == false) {
		throw new exception('library does not exist in fem');
	}
	
	if (isset(self::$custom_libraries[$name])) {
		return self::$custom_libraries[$name];
	}
	
	return '\\alsvanzelf\\fem\\'.$name;
}
public static function get_library($name) {
	if (class_exists('\\alsvanzelf\\fem\\'.$name) == false) {
		throw new exception('library does not exist in fem');
	}
	
	if (isset(self::$custom_libraries[$name])) {
		return self::$custom_libraries[$name];
	}
	
	return '\\alsvanzelf\\fem\\'.$name;
}
public static function get_library ( $ name ) { if ( class_exists ( '\\alsvanzelf\\fem\\' . $ name ) == false ) { throw new exception ( 'library does not exist in fem' ) ; } if ( isset ( self :: $ custom_libraries [ $ name ] ) ) { return self :: $ custom_libraries [ $ name ] ; } return '\\alsvanzelf\\fem\\' . $ name ; }
get the class name which should be used for a certain fem library
used internally to determine whether a custom library has been set
returns the fem class name if no custom library is set

@param  string $name the name of the fem class, i.e. 'page'
@return string       the (fully qualified) name of the class which should be used
get the class name which should be used for a certain fem library used internally to determine whether a custom library has been set returns the fem class name if no custom library is set