Exemplo n.º 1
0
Arquivo: sql.php Projeto: 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 . '_';
 }
Exemplo n.º 2
0
 function __construct($outPath)
 {
     parent::__construct();
     $this->path = $outPath;
 }