adminerrorview.class.php
来自「一个用PHP编写的」· PHP 代码 · 共 35 行
PHP
35 行
<?php lt_include( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" ); /** * \ingroup View * @private * * Shows an error message to the user */ class AdminErrorView extends AdminTemplatedView { /** * This initializes the class, but normally we'll only have to initialize the parent */ function AdminErrorView( $blogInfo ) { $this->AdminTemplatedView( $blogInfo, "error" ); } /** * Sets the error message. This method is equivalent of typing * $errorView->setValue( "message", "whatever-message-..." ), but using this we * type less :) * * @param message The message we are going to show. */ function setMessage( $message ) { $this->setValue( "message", $message ); } }?>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?