Subversion Repositories oidplus

Rev

Rev 1414 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1414 Rev 1457
Line 50... Line 50...
50
         */
50
         */
51
        public function __construct() {
51
        public function __construct() {
52
                // NOTES:
52
                // NOTES:
53
                // - XML_SCHEMA_URN must be equal to the string in the .xsd file!
53
                // - XML_SCHEMA_URN must be equal to the string in the .xsd file!
54
                // - the schema file names and draft version are also written in OIDplusPagePublicWhois.class.php
54
                // - the schema file names and draft version are also written in OIDplusPagePublicWhois.class.php
55
                $this->XML_SCHEMA_URN  = 'urn:ietf:id:draft-viathinksoft-oidip-06';
55
                $this->XML_SCHEMA_URN  = 'urn:ietf:id:draft-viathinksoft-oidip-07';
56
                $this->XML_SCHEMA_URL  = OIDplus::webpath(__DIR__,OIDplus::PATH_ABSOLUTE_CANONICAL).'whois/draft-viathinksoft-oidip-06.xsd';
56
                $this->XML_SCHEMA_URL  = OIDplus::webpath(__DIR__,OIDplus::PATH_ABSOLUTE_CANONICAL).'whois/draft-viathinksoft-oidip-07.xsd';
57
                $this->JSON_SCHEMA_URN = 'urn:ietf:id:draft-viathinksoft-oidip-06';
57
                $this->JSON_SCHEMA_URN = 'urn:ietf:id:draft-viathinksoft-oidip-07';
58
                $this->JSON_SCHEMA_URL = OIDplus::webpath(__DIR__,OIDplus::PATH_ABSOLUTE_CANONICAL).'whois/draft-viathinksoft-oidip-06.json';
58
                $this->JSON_SCHEMA_URL = OIDplus::webpath(__DIR__,OIDplus::PATH_ABSOLUTE_CANONICAL).'whois/draft-viathinksoft-oidip-07.json';
59
        }
59
        }
60
 
60
 
61
        /**
61
        /**
62
         * @param string $query
62
         * @param string $query
63
         * @return array
63
         * @return array