public function __construct($values = Null, $dontInitAssocs = false, $newRecord = True)
 {
     if ($this->tableName == Null) {
         $this->tableName = SInflection::pluralize(strtolower(get_class($this)));
     }
     if (empty($this->attributes)) {
         $this->attributes = SActiveStore::getAttributes($this->tableName);
     } else {
         $this->initAttributes();
     }
     $this->initValues();
     if ($values != Null && is_array($values)) {
         $this->populate($values);
     }
     $this->newRecord = $newRecord;
     if (!$dontInitAssocs) {
         $this->initAssociations();
     }
 }