<?php
-/* This file is part of Syj, Copyright (c) 2010 Arnaud Renevier,
+/* This file is part of Syj, Copyright (c) 2010-2011 Arnaud Renevier,
and is published under the AGPL license. */
class Syj_Model_User extends Syj_Model_Generic
protected $_password;
protected $_email;
protected $_lang;
- protected $_creation_addr;
public function setId($id) {
$this->_id = (int) $id;
return $this->_lang;
}
- public function setCreationAddr($creation_addr) {
- $this->_creation_addr = (string) $creation_addr;
- return $this;
- }
-
- public function getCreationAddr() {
- return $this->_creation_addr;
- }
-
public function notifyPendings() {
$pendingMapper = new Syj_Model_PendingMapper();
$pendings = $pendingMapper->fetchForUser($this);