src/Alg/SgmlTagReader.php
public static function getNodeName( $string, $transform = 0 )
	{
		$data	= self::getTagData( $string );
		switch( $transform )
		{
			case self::TRANSFORM_LOWERCASE:	return strtolower( $data['nodename'] );
			case self::TRANSFORM_UPPERCASE:	return strtoupper( $data['nodename'] );
			default:					return $data['nodename'];
		}
	}
public static function getNodeName( $string, $transform = 0 )
	{
		$data	= self::getTagData( $string );
		switch( $transform )
		{
			case self::TRANSFORM_LOWERCASE:	return strtolower( $data['nodename'] );
			case self::TRANSFORM_UPPERCASE:	return strtoupper( $data['nodename'] );
			default:					return $data['nodename'];
		}
	}
public static function getNodeName ( $ string , $ transform = 0 ) { $ data = self :: getTagData ( $ string ) ; switch ( $ transform ) { case self :: TRANSFORM_LOWERCASE : return strtolower ( $ data [ 'nodename' ] ) ; case self :: TRANSFORM_UPPERCASE : return strtoupper ( $ data [ 'nodename' ] ) ; default : return $ data [ 'nodename' ] ; } }
Returns Node Name from Tag.
@access		public
@static
@param		string		$string			String containing exactly 1 SGML based Tag
@return		string
Returns Node Name from Tag .