2016-06-28 12 views

답변

1

나를 위해 일한 솔루션이 있습니다 내가

DB::connection()->getPdo()->PARAM_STR 

하지만

을 시도

나를 위해 작동하지 않습니다 .. ..

static function db() 
    { 
     try { 
      $db = DB::connection()->getPdo(); 
     } 
     catch (PDOException $e) { 
      self::fatal(
       "An error occurred while connecting to the database. ". 
       "The error reported by the server was: ".$e->getMessage() 
      ); 
     } 
     return $db; 
    } 

호출하여 ..

$db=self::db(); 

$db::PARAM_STR 

해결되었습니다. 모든 내부 클래스 & 방법