No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

DbSqlMapClient.php 359B

1234567891011121314
  1. <?php
  2. class LtDbSqlMapClient
  3. {
  4. public $configHandle;
  5. public $dbh;
  6. public function execute($mapId, $bind = null)
  7. {
  8. $sqlMap = $this->configHandle->get($this->dbh->group . "." . $mapId);
  9. $forceUseMaster = isset($sqlMap["force_use_master"]) ? $sqlMap["force_use_master"] : false;
  10. return $this->dbh->query($sqlMap["sql"], $bind, $forceUseMaster);
  11. }
  12. }