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 . '_'; }
function __construct($outPath) { parent::__construct(); $this->path = $outPath; }