Changeset 454

Show
Ignore:
Timestamp:
11/16/08 23:04:43 (2 months ago)
Author:
arnaud
Message:

Librairies : Contact : ajout d'une methode pour ajouter le prénom avec encodage utf8 (sans strtolower après la conversion)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lib/model/Contact.php

    r413 r454  
    9191      $v = join("'", array_map('ucwords', explode("'", $v))); 
    9292      $v = join("-", array_map('ucwords', explode("-", $v))); 
     93      $this->firstname = $v; 
     94      $this->modifiedColumns[] = ContactPeer::FIRSTNAME; 
     95    } 
     96  } 
     97 
     98  public function setFirstnameWithEncode($v) 
     99  { 
     100    if ($this->firstname !== $v) { 
    93101      $this->firstname = $v; 
    94102      $this->modifiedColumns[] = ContactPeer::FIRSTNAME;