[ Index ] |
|
Code source de LifeType 1.2.4 |
1 <?php 2 3 lt_include( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" ); 4 5 /** 6 * \ingroup View 7 * @private 8 * 9 * Shows an error message to the user 10 */ 11 class AdminErrorView extends AdminTemplatedView 12 { 13 14 /** 15 * This initializes the class, but normally we'll only have to initialize the parent 16 */ 17 function AdminErrorView( $blogInfo ) 18 { 19 $this->AdminTemplatedView( $blogInfo, "error" ); 20 } 21 22 /** 23 * Sets the error message. This method is equivalent of typing 24 * $errorView->setValue( "message", "whatever-message-..." ), but using this we 25 * type less :) 26 * 27 * @param message The message we are going to show. 28 */ 29 function setMessage( $message ) 30 { 31 $this->setValue( "message", $message ); 32 } 33 } 34 ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Mon Nov 26 21:04:15 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |