예제 #1
0
 public function debug()
 {
     // Get debug view from parent :
     $view = parent::debug();
     // Add title :
     $title = 'Load set(s) ';
     foreach ($this->get_chain() as $command) {
         $sets[] = $command->trg_set->name();
     }
     $title .= implode(', ', $sets);
     $view->set('title', $title);
     return $view;
 }
예제 #2
0
 protected function debug_self()
 {
     return parent::debug_self()->set('src_set', $this->src_set->debug())->set('src_entity', $this->src_entity()->name())->set('relationship', $this->relationship->name());
 }