Exemplo n.º 1
0
 /**
  *
  * @param type $list
  */
 public static function dump($list = '__null__')
 {
     //
     Functions::gridDump(static::getTable(), $list != '__null__' ? $list : static::all());
 }
Exemplo n.º 2
0
 /**
  *
  *
  */
 public function dump($model = null)
 {
     //
     if ($model) {
         //
         $all = $this->all($model);
         //
         Functions::gridDump($model, $all);
     } else {
         $this->dumpSchema();
     }
 }
Exemplo n.º 3
0
 /**
  * Trigger a connection-with-database error.
  *
  * @param object $exception Exception catched with try-catch
  */
 public function errorConnect($exception)
 {
     //
     Functions::triggerError($exception, $this->_trace, 0);
 }