}
// be sure it's an integer
- $this->id = IntVal($this->id);
+ $this->id = intval($this->id);
if($this->id) {
// By ID
function getId() { return $this->id; }
function setId($id) {
- $this->id = IntVal($id);
+ $this->id = intval($id);
$this->dataLoaded = false;
}