예제 #1
0
 public function __construct($db_connection = null)
 {
     if ($db_connection == null) {
         $this->db = Db::get();
     } else {
         $this->db = $db_connection;
     }
 }