本文整理汇总了PHP中Tracy\Debugger::bardump方法的典型用法代码示例。如果您正苦于以下问题:PHP Debugger::bardump方法的具体用法?PHP Debugger::bardump怎么用?PHP Debugger::bardump使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Tracy\Debugger
的用法示例。
在下文中一共展示了Debugger::bardump方法的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: injectFileGenerator
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');
}
示例2: renderAdd
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']);
}
示例3: update
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);
}
}
示例4: renderDefault
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);
}
示例5: setFile
/**
*/
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;
}
}
示例6: injectModel
public function injectModel($data, \TestClient $client)
{
\Tracy\Debugger::bardump($data);
\Tracy\Debugger::bardump($client->doDummy());
}
示例7: __construct
public function __construct(\App\Model\FeedsModel $model)
{
\Tracy\Debugger::bardump($model);
}
示例8: injectFeedModel
public function injectFeedModel(\App\Model\FeedModel $model)
{
\Tracy\Debugger::bardump($model);
}