当前位置: 首页>>代码示例>>PHP>>正文


PHP Errors::display方法代码示例

本文整理汇总了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">
开发者ID:gfts,项目名称:1btcxe-frontend,代码行数:31,代码来源:open-orders.php

示例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>
开发者ID:alejandrozepeda,项目名称:dcorrido,代码行数:30,代码来源:Create.php

示例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);
 }
开发者ID:Nivl,项目名称:Ninaca_1,代码行数:6,代码来源:YamlErrors.class.php

示例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);
 }
开发者ID:Nivl,项目名称:Ninaca_1,代码行数:6,代码来源:FormErrors.class.php

示例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);
 }
开发者ID:Nivl,项目名称:Ninaca_1,代码行数:6,代码来源:TaskErrors.class.php

示例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);
 }
开发者ID:Nivl,项目名称:Ninaca_1,代码行数:6,代码来源:RuleError.class.php


注:本文中的Errors::display方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。