Пример #1
0
 /**
  * Get DBInstance Response Data.
  *
  * @param array|struct $config       Array config data
  * @param string       $sql          String SQL query
  * @param int|null     $limit        Integer Result limit
  * @param int|null     $offset       Integer Result offset
  * @param bool|null    $single       Run SQL Queries as a single statement
  * @param string|null  $key          String authentication key
  * @param string|null  $responseType String response type (array, json)
  *
  * @return array|struct
  */
 public function getResult(array $config = array(), $sql = '', $limit = 0, $offset = 0, $single = false, $key = null, $responseType = null)
 {
     return parent::getResult($config, $sql, intval($limit), intval($offset), (bool) $single, $key, $responseType);
 }
Пример #2
0
 /**
  * [__construct description].
  *
  * @param AuthenticationInterface $authentication    [description]
  * @param array                   $connectionStrings [description]
  */
 public function __construct(AuthenticationInterface $authentication, array $connectionStrings = array(), $logDir = null)
 {
     parent::__construct($authentication, $connectionStrings, $logDir = null);
 }