function getName()
  	{
  		$name = $this->_name;

  		if (empty($name)) {
  			$r = null;
  			if (! preg_match( '/Com(.*)/i', get_class( $this ), $r)) {
                throw new AnErrorException(
                    "Can't get or parse the class name ",
                    AnHttpResponse::INTERNAL_SERVER_ERROR
                );
  			}
  			$name = strtolower($r[1]);
  		}

  		return $name;
  	}
function getName()
  	{
  		$name = $this->_name;

  		if (empty($name)) {
  			$r = null;
  			if (! preg_match( '/Com(.*)/i', get_class( $this ), $r)) {
                throw new AnErrorException(
                    "Can't get or parse the class name ",
                    AnHttpResponse::INTERNAL_SERVER_ERROR
                );
  			}
  			$name = strtolower($r[1]);
  		}

  		return $name;
  	}
function getName ( ) { $ name = $ this -> _name ; if ( empty ( $ name ) ) { $ r = null ; if ( ! preg_match ( '/Com(.*)/i' , get_class ( $ this ) , $ r ) ) { throw new AnErrorException ( "Can't get or parse the class name " , AnHttpResponse :: INTERNAL_SERVER_ERROR ) ; } $ name = strtolower ( $ r [ 1 ] ) ; } return $ name ; }
Method to get the application name

The dispatcher name by default parsed using the classname, or it can be set
by passing a $config['name'] in the class constructor

@access	public
@return	string The name of the dispatcher
Method to get the application name