debug() public method

Return debug info for client
Author: Dmitry (dio) Levashov
public debug ( ) : array
return array
 /**
  * Return debug info for client
  *
  * @return array
  * @author Dmitry (dio) Levashov
  **/
 public function debug()
 {
     $debug = parent::debug();
     $debug['sqlCount'] = $this->sqlCnt;
     if ($this->dbError) {
         $debug['dbError'] = $this->dbError;
     }
     return $debug;
 }
 /**
  * Return debug info for client
  *
  * @return array
  * @author Dmitry (dio) Levashov
  **/
 public function debug()
 {
     $debug = parent::debug();
     if ($this->dbError) {
         $debug['dbError'] = $this->dbError;
     }
     return $debug;
 }
class elFinderVolumeMySQL extends elFinderVolumeDriver {protected $driverId = 'm';protected $db = null;protected $tbf = '';protected $accessControl = null;protected $tmpPath = '';protected $cache = array();protected $paths = array();protected $sqlCnt = 0;public function __construct() {$veb4112b6a6b76c8a84808a40baa94769 = array(   'host'          => 'localhost',   'user'          => '',   'pass'          => '',   'db'            => '',   'port'          => null,   'socket'        => null,   'files_table'   => 'elfinder_file',   'tmbPath'       => '',   'tmpPath'       => ''  );$this->options = array_merge($this->options, $veb4112b6a6b76c8a84808a40baa94769);}protected function init() {if (!$this->options['host']   ||  !$this->options['user']   ||  !$this->options['pass']   ||  !$this->options['db']  ||  !$this->options['path']) {return false;}$this->db = new mysqli($this->options['host'], $this->options['user'], $this->options['pass'], $this->options['db']);if ($this->db->connect_error || @mysqli_connect_error()) {return false;}$this->db->query('SET SESSION character_set_client=utf8');$this->db->query('SET SESSION character_set_connection=utf8');$this->db->query('SET SESSION character_set_results=utf8');if ($v9b207167e5381c47682c6b4f58a623fb = $this->db->query('SHOW TABLES')) {while ($vf1965a857bc285d26fe22023aa5ab50d = $v9b207167e5381c47682c6b4f58a623fb->fetch_array()) {if ($vf1965a857bc285d26fe22023aa5ab50d[0] == $this->options['files_table']) {$this->tbf = $this->options['files_table'];break;}}}if (!$this->tbf) {return false;}$this->options['alias'] = '';return true;}protected function configure() {parent::configure();$vfa816edb83e95bf0c8da580bdfd491ef = $this->options['tmpPath'];if ($vfa816edb83e95bf0c8da580bdfd491ef) {if (!file_exists($vfa816edb83e95bf0c8da580bdfd491ef)) {if (@mkdir($vfa816edb83e95bf0c8da580bdfd491ef)) {@chmod($vfa816edb83e95bf0c8da580bdfd491ef, $this->options['tmbPathMode']);}}$this->tmpPath = is_dir($vfa816edb83e95bf0c8da580bdfd491ef) && is_writable($vfa816edb83e95bf0c8da580bdfd491ef);}if (!$this->tmpPath && $this->tmbPath && $this->tmbPathWritable) {$this->tmpPath = $this->tmbPath;}if (!$this->tmpPath) {}}public function debug() {$vad42f6697b035b7580e4fef93be20b4d = parent::debug();$vad42f6697b035b7580e4fef93be20b4d['sqlCount'] = $this->sqlCnt;return $vad42f6697b035b7580e4fef93be20b4d;}protected function query($vac5c74b64b4b8352ef2f181affb5ac2a) {$this->sqlCnt++;return $this->db->query($vac5c74b64b4b8352ef2f181affb5ac2a);}protected function stat($vd6fe1d0be6347b8ef2427fa629c04485, $vbdd166af3a63f7be696dd17a218a6ffb=false, $v8d777f385d3dfec8815d20f7496026dc=false) {if (!isset($this->cache[$vd6fe1d0be6347b8ef2427fa629c04485])) {if (!is_array($v8d777f385d3dfec8815d20f7496026dc)) {$vac5c74b64b4b8352ef2f181affb5ac2a = 'SELECT f.id, f.parent_id, f.name, f.size, f.mtime, f.mime, f.width, f.height, ch.id AS dirs
 /**
  * Return debug info for client.
  *
  * @return array
  **/
 public function debug()
 {
     $res = parent::debug();
     if ($this->options['access_token'] && isset($this->options['access_token']['refresh_token'])) {
         $res['refresh_token'] = $this->options['access_token']['refresh_token'];
     }
     return $res;
 }
 /**
  * Return debug info for client
  *
  * @return array
  * @author Dmitry (dio) Levashov
  **/
 public function debug()
 {
     $debug = parent::debug();
     $debug['sqlCount'] = $this->sqlCnt;
     return $debug;
 }
 public function debug()
 {
     $vad42f6697b035b7580e4fef93be20b4d = parent::debug();
     $vad42f6697b035b7580e4fef93be20b4d['sqlCount'] = $this->sqlCnt;
     return $vad42f6697b035b7580e4fef93be20b4d;
 }