private function __construct($id) { $this->DAO = TXFactory::create('userDAO'); if ($id !== NULL) { $this->_data = $this->DAO->getByPk($id); $this->_pk = $id; } }