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 phone number held on an institution contact row, for
25 * use by the web service API.
26 *
27 * @author Dean Rasheed (dev-group@ucs.cam.ac.uk)
28 */
29 class IbisContactPhoneNumber extends IbisDto
30 {
31 /* Properties marked as @XmlAttribte in the JAXB class */
32 protected static $xmlAttrs = array("phoneType");
33
34 /* Properties marked as @XmlElement in the JAXB class */
35 protected static $xmlElems = array("number", "comment");
36
37 /** @var string The phone number's type. */
38 public $phoneType;
39
40 /** @var string The phone number. */
41 public $number;
42
43 /** @var string Any comment associated with the phone number. */
44 public $comment;
45 }
46