Esempio n. 1
0
 /**
  *
  * @param type $list
  */
 public static function dump($list = '__null__')
 {
     //
     Functions::gridDump(static::getTable(), $list != '__null__' ? $list : static::all());
 }
Esempio n. 2
0
 /**
  *
  *
  */
 public function dump($model = null)
 {
     //
     if ($model) {
         //
         $all = $this->all($model);
         //
         Functions::gridDump($model, $all);
     } else {
         $this->dumpSchema();
     }
 }
Esempio 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);
 }