示例#1
0
 /**
  *
  *
  */
 public function dump($model = null)
 {
     //
     if ($model) {
         //
         $all = $this->all($model);
         //
         Functions::gridDump($model, $all);
     } else {
         $this->dumpSchema();
     }
 }
示例#2
0
 /**
  *
  * @param type $list
  */
 public static function dump($list = '__null__')
 {
     //
     Functions::gridDump(static::getTable(), $list != '__null__' ? $list : static::all());
 }