source: cpc/trunk/project/lib/model/doctrine/Citoyen.class.php @ 878

Last change on this file since 878 was 878, checked in by teymour, 12 years ago

résolution du problème d'encodage

File size: 337 bytes
Line 
1<?php
2
3/**
4 * This class has been auto-generated by the Doctrine ORM Framework
5 */
6class Citoyen extends BaseCitoyen
7{
8  public function isPasswordCorrect($password) {
9    return ($this->password == sha1($password));
10  }
11  public function setPassword($password) {
12    return $this->_set('password', sha1($password));
13  }
14}
Note: See TracBrowser for help on using the repository browser.