public function injectFileGenerator(\App\Model\FileGenerator $fileGenerator) { \Tracy\Debugger::bardump($fileGenerator); $this->_fileGenerator1 = $fileGenerator; $this->_fileGenerator2 = clone $fileGenerator; $this->_fileGenerator1->setFile('file_gen_1.txt'); $this->_fileGenerator2->setFile('file_gen_2.txt'); }
public function renderAdd() { $this->template->setFile(__DIR__ . "/templates/Course/courseform.latte"); $this->template->cps = []; for ($i = 0; $i < self::NUMCP_NEW; $i++) { $this->template->cps[] = []; } $this->template->title = "Nová trať"; Debugger::bardump($this['courseForm']); }
public function update($entryid, $values) { $values['start'] = self::empty2Null($values['start']); $values['si_number'] = self::empty2Null($values['si_number']); if ($entryid) { Debugger::bardump($values); $this->listAll()->get($entryid)->update($values); } else { $this->listAll()->insert($values); } }
public function renderDefault($raceid) { $this->raceid = $raceid; $this->template->raceid = $this->raceid; $this->template->race = $this->race->getRaceInfo(); Debugger::bardump($this->template->race); $this->template->courses = $this->race->listCourses()->order('name')->limit(10); $this->template->categories = $this->race->listCategories()->order('name')->limit(10); $p = $this->race->listEntries(); $this->template->entry_count = count($p); $this->template->entries = $p->order('lname')->limit(10); }
/** */ public function setFile($file_name) { try { $this->_fh = @fopen(__DIR__ . '/../files/' . $file_name, 'r'); if (!$this->_fh) { throw new \Exception("Error Processing Request", 1); } } catch (Exception $e) { \Tracy\Debugger::bardump($e); die; } }
public function injectModel($data, \TestClient $client) { \Tracy\Debugger::bardump($data); \Tracy\Debugger::bardump($client->doDummy()); }
public function __construct(\App\Model\FeedsModel $model) { \Tracy\Debugger::bardump($model); }
public function injectFeedModel(\App\Model\FeedModel $model) { \Tracy\Debugger::bardump($model); }