public function register($prefix, $path, $ext=null) {
        $this->_prefix = $prefix;
        $this->_path = $path;        
        if ($ext == null) {
            $this->_ext[] = array('xml');
        } else if (is_array($ext)) {
            $this->_ext[] = $ext;
        } else if (is_string($ext)) {
            $ext[] = array($ext);
        }
    }
public function register($prefix, $path, $ext=null) {
        $this->_prefix = $prefix;
        $this->_path = $path;        
        if ($ext == null) {
            $this->_ext[] = array('xml');
        } else if (is_array($ext)) {
            $this->_ext[] = $ext;
        } else if (is_string($ext)) {
            $ext[] = array($ext);
        }
    }
public function register ( $ prefix , $ path , $ ext = null ) { $ this -> _prefix = $ prefix ; $ this -> _path = $ path ; if ( $ ext == null ) { $ this -> _ext [ ] = array ( 'xml' ) ; } else if ( is_array ( $ ext ) ) { $ this -> _ext [ ] = $ ext ; } else if ( is_string ( $ ext ) ) { $ ext [ ] = array ( $ ext ) ; } }
Register Prefix, location and extension of MetaObject

@param string $prefix prefix of metaobject, like "Contact" for "Contact.form.ContactForm"
@param string $path location of metaobject with $prefix
@param array|string $ext array of string, collection of extension that support by prefix
@return null
@since OpenbizX CubiX
Register Prefix location and extension of MetaObject