Ubiquity 2.5.2
php rapid development framework
Loading...
Searching...
No Matches
UToken.php
Go to the documentation of this file.
1<?php
3
4class UToken {
5
10 private $id;
11
16 private $value;
17
18 public function __construct($id = null, $value = null) {
19 $this->id = $id;
20 $this->value = $value;
21 }
22
27 public function getId() {
28 return $this->id;
29 }
30
35 public function getValue() {
36 return $this->value;
37 }
38
43 public function setId($id) {
44 $this->id = $id;
45 }
46
51 public function setValue($value) {
52 $this->value = $value;
53 }
54
55 public function __toString() {
56 return $this->value;
57 }
58}
59
__construct($id=null, $value=null)
Definition UToken.php:18