コード例 #1
0
 public function __construct()
 {
     if (!self::$_msql) {
         self::$_msql = SafeMySQL::getInstance();
     }
     $this->setIsNewRecord(TRUE);
     $this->relations = $this->relations();
     $this->modelName = strtolower(get_class($this));
     $this->init();
 }