lib/ezutils/classes/ezmodule.php
function attribute( $attr )
    {
        switch( $attr )
        {
            case "uri":
                return $this->uri();
                break;
            case "functions":
                return $this->Functions;
            case "views":
                return $this->Functions;
            case "name":
                return $this->Name;
            case "path":
                return $this->Path;
            case "info":
                return $this->Module;
            case 'aviable_functions':
            case 'available_functions':
                return $this->FunctionList;
            default:
            {
                eZDebug::writeError( "Attribute '$attr' does not exist", __METHOD__ );
                return null;
            }
            break;
        }
    }
function attribute( $attr )
    {
        switch( $attr )
        {
            case "uri":
                return $this->uri();
                break;
            case "functions":
                return $this->Functions;
            case "views":
                return $this->Functions;
            case "name":
                return $this->Name;
            case "path":
                return $this->Path;
            case "info":
                return $this->Module;
            case 'aviable_functions':
            case 'available_functions':
                return $this->FunctionList;
            default:
            {
                eZDebug::writeError( "Attribute '$attr' does not exist", __METHOD__ );
                return null;
            }
            break;
        }
    }
function attribute ( $ attr ) { switch ( $ attr ) { case "uri" : return $ this -> uri ( ) ; break ; case "functions" : return $ this -> Functions ; case "views" : return $ this -> Functions ; case "name" : return $ this -> Name ; case "path" : return $ this -> Path ; case "info" : return $ this -> Module ; case 'aviable_functions' : case 'available_functions' : return $ this -> FunctionList ; default : { eZDebug :: writeError ( "Attribute '$attr' does not exist" , __METHOD__ ) ; return null ; } break ; } }
Returns the value of an attribute

@param string $attr Attribute name

@return mixed The attribute value. If the attribute doesn't exist, a
warning is thrown, and false is returned
Returns the value of an attribute