本文整理汇总了PHP中Errors::display方法的典型用法代码示例。如果您正苦于以下问题:PHP Errors::display方法的具体用法?PHP Errors::display怎么用?PHP Errors::display使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Errors
的用法示例。
在下文中一共展示了Errors::display方法的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
</a> <i>/</i> <a href="account.php"><?php
echo Lang::string('account');
?>
</a> <i>/</i> <a href="open-orders.php"><?php
echo $page_title;
?>
</a></div>
</div>
</div>
<div class="container">
<div class="content_right">
<?php
Messages::display();
?>
<?php
Errors::display();
?>
<div class="filters">
<input type="hidden" id="open_orders_user" value="1" />
<input type="hidden" id="uniq" value="<?php
echo $_SESSION["openorders_uniq"];
?>
" />
<form id="filters" method="GET" action="open-orders.php">
<ul class="list_empty">
<li>
<label for="graph_orders_currency"><?php
echo Lang::string('orders-filter-currency');
?>
</label>
<select id="graph_orders_currency" name="currency">
示例2:
">
</div>
<div class="input-field col s6">
<i class="material-icons prefix">today</i>
<select name="dias[]" multiple>
<option value="0" disabled selected>Selecciona</option>
<option value="Lunes">Lunes</option>
<option value="Martes">Martes</option>
<option value="Miércoles">Miércoles</option>
<option value="Jueves">Jueves</option>
<option value="Viernes">Viernes</option>
<option value="Sábado">Sábado</option>
<option value="Domingo">Domingo</option>
</select>
<label>Días</label>
</div>
</div>
<div class="row">
<div class="col s12 m12 l12 right-align">
<button class="btn waves-effect waves-light redcorrido" type="submit" name="submit">Agregar</button>
</div>
</div>
</form>
<?php
echo Errors::display($error, 'card-panel redcorrido white-text');
?>
</div>
</div>
</div>
</div>
示例3: fileNotWritable
public static function fileNotWritable($name)
{
$msg = _('The YAML file %s cannot been modified or created, the path is ' . 'not writable.');
$msg = sprintf($msg, $name);
parent::display($msg);
}
示例4: fieldNotExists
public static function fieldNotExists($field, $trace)
{
$msg = _('The field %s called in %s at line %d does not exists.');
$msg = sprintf($msg, $field, $trace[0], $trace[1]);
parent::display($msg);
}
示例5: tooManyArguments
public static function tooManyArguments($nb_arg)
{
$msg = _('You gave too many arguments, this task only takes %d.');
$msg = sprintf($msg, $nb_arg);
parent::display($msg);
}
示例6: notExists
public static function notExists($rule)
{
$msg = _("The rule ({$rule}) you tried to use does not exists.");
$msg = sprintf($msg, $rule);
parent::display($msg);
}