예제 #1
0
파일: sql.php 프로젝트: Sywooch/dump
 function __construct(PDO $pdo, $tablePrefix = '')
 {
     parent::__construct();
     $this->engine = phpMorphy_Dict_Writer_Sql_Engine::create($pdo, strlen($tablePrefix) ? array($this, 'rewriteTableName_ByPrefix') : null, array($this, 'log'));
     $this->table_prefix = $tablePrefix . '_';
 }
예제 #2
0
 function __construct($outPath)
 {
     parent::__construct();
     $this->path = $outPath;
 }