Exemple #1
0
 function populate($data)
 {
     // Populate normally
     parent::populate($data);
     // Remap values data to real properties
     $values = $this->value;
     foreach ($values as $property => $data) {
         $this->{$property} = stripslashes_deep($data);
     }
     unset($this->value);
 }