00001 <?php
00002
00016
00017
00018
00022 class RTVersion {
00023
00025 var $versionId;
00026
00028 var $key;
00029
00031 var $locale;
00032
00034 var $title;
00035
00037 var $description;
00038
00040 var $contexts = array();
00041
00042
00047 function addContext($context) {
00048 array_push($this->contexts, $context);
00049 }
00050
00051 function &getContexts() {
00052 return $this->contexts;
00053 }
00054
00055 function setContexts(&$contexts) {
00056 $this->contexts = &$contexts;
00057 }
00058
00059 function setVersionId($versionId) {
00060 $this->versionId = $versionId;
00061 }
00062
00063 function getVersionId() {
00064 return $this->versionId;
00065 }
00066
00067 function setTitle($title) {
00068 $this->title = $title;
00069 }
00070
00071 function getTitle() {
00072 return $this->title;
00073 }
00074
00075 function setLocale($locale) {
00076 $this->locale = $locale;
00077 }
00078
00079 function getLocale() {
00080 return $this->locale;
00081 }
00082
00083 function setKey($key) {
00084 $this->key = $key;
00085 }
00086
00087 function getKey() {
00088 return $this->key;
00089 }
00090
00091 function setDescription($description) {
00092 $this->description = $description;
00093 }
00094
00095 function getDescription() {
00096 return $this->description;
00097 }
00098 }
00099
00103 class RTContext {
00104
00106 var $contextId;
00107
00109 var $versionId;
00110
00112 var $title;
00113
00115 var $abbrev;
00116
00118 var $description;
00119
00121 var $authorTerms = false;
00122
00124 var $geoTerms = false;
00125
00127 var $defineTerms = false;
00128
00130 var $citedBy = false;
00131
00133 var $order = 0;
00134
00136 var $searches = array();
00137
00138
00143 function addSearch($search) {
00144 array_push($this->searches, $search);
00145 }
00146
00147 function &getSearches() {
00148 return $this->searches;
00149 }
00150
00151 function setSearches(&$searches) {
00152 $this->searches = &$searches;
00153 }
00154
00155 function setContextId($contextId) {
00156 $this->contextId = $contextId;
00157 }
00158
00159 function getContextId() {
00160 return $this->contextId;
00161 }
00162
00163 function setVersionId($versionId) {
00164 $this->versionId = $versionId;
00165 }
00166
00167 function getVersionId() {
00168 return $this->versionId;
00169 }
00170
00171 function setTitle($title) {
00172 $this->title = $title;
00173 }
00174
00175 function getTitle() {
00176 return $this->title;
00177 }
00178
00179 function setAbbrev($abbrev) {
00180 $this->abbrev = $abbrev;
00181 }
00182
00183 function getAbbrev() {
00184 return $this->abbrev;
00185 }
00186
00187 function setDescription($description) {
00188 $this->description = $description;
00189 }
00190
00191 function getDescription() {
00192 return $this->description;
00193 }
00194
00195 function getCitedBy() {
00196 return $this->citedBy;
00197 }
00198
00199 function setCitedBy($citedBy) {
00200 $this->citedBy = $citedBy;
00201 }
00202
00203 function getAuthorTerms() {
00204 return $this->authorTerms;
00205 }
00206
00207 function setAuthorTerms($authorTerms) {
00208 $this->authorTerms = $authorTerms;
00209 }
00210
00211 function getGeoTerms() {
00212 return $this->geoTerms;
00213 }
00214
00215 function setGeoTerms($geoTerms) {
00216 $this->geoTerms = $geoTerms;
00217 }
00218
00219 function getDefineTerms() {
00220 return $this->defineTerms;
00221 }
00222
00223 function setDefineTerms($defineTerms) {
00224 $this->defineTerms = $defineTerms;
00225 }
00226
00227 function getOrder() {
00228 return $this->order;
00229 }
00230
00231 function setOrder($order) {
00232 $this->order = $order;
00233 }
00234 }
00235
00239 class RTSearch {
00240
00242 var $searchId;
00243
00245 var $contextId;
00246
00248 var $title;
00249
00251 var $description;
00252
00254 var $url;
00255
00257 var $searchUrl;
00258
00260 var $searchPost;
00261
00263 var $order = 0;
00264
00265
00266 function getSearchId() {
00267 return $this->searchId;
00268 }
00269
00270 function setSearchId($searchId) {
00271 $this->searchId = $searchId;
00272 }
00273
00274 function getContextId() {
00275 return $this->contextId;
00276 }
00277
00278 function setContextId($contextId) {
00279 $this->contextId = $contextId;
00280 }
00281
00282 function getTitle() {
00283 return $this->title;
00284 }
00285
00286 function setTitle($title) {
00287 $this->title = $title;
00288 }
00289
00290 function getDescription() {
00291 return $this->description;
00292 }
00293
00294 function setDescription($description) {
00295 $this->description = $description;
00296 }
00297
00298 function getUrl() {
00299 return $this->url;
00300 }
00301
00302 function setUrl($url) {
00303 $this->url = $url;
00304 }
00305
00306 function getSearchUrl() {
00307 return $this->searchUrl;
00308 }
00309
00310 function setSearchUrl($searchUrl) {
00311 $this->searchUrl = $searchUrl;
00312 }
00313
00314 function getSearchPost() {
00315 return $this->searchPost;
00316 }
00317
00318 function setSearchPost($searchPost) {
00319 $this->searchPost = $searchPost;
00320 }
00321
00322 function getOrder() {
00323 return $this->order;
00324 }
00325
00326 function setOrder($order) {
00327 $this->order = $order;
00328 }
00329 }
00330
00331 ?>