1 <?php
2 /*
3 Copyright (c) 2012, University of Cambridge Computing Service
4
5 This file is part of the Lookup/Ibis client library.
6
7 This library is free software: you can redistribute it and/or modify
8 it under the terms of the GNU Lesser General Public License as published
9 by the Free Software Foundation, either version 3 of the License, or
10 (at your option) any later version.
11
12 This library is distributed in the hope that it will be useful, but
13 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
14 or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
15 License for more details.
16
17 You should have received a copy of the GNU Lesser General Public License
18 along with this library. If not, see <http://www.gnu.org/licenses/>.
19 */
20
21 require_once "IbisDto.php";
22
23 /**
24 * Class representing a web page referred to by an institution contact row,
25 * for use by the web service API.
26 *
27 * @author Dean Rasheed (dev-group@ucs.cam.ac.uk)
28 */
29 class IbisContactWebPage extends IbisDto
30 {
31 /* Properties marked as @XmlElement in the JAXB class */
32 protected static $xmlElems = array("url", "label");
33
34 /** @var string The web page's URL. */
35 public $url;
36
37 /** @var string The web page's label (link text) if set. */
38 public $label;
39 }
40