[ Index ] |
|
Code source de LifeType 1.2.4 |
1 <?php 2 3 4 5 /** 6 * Layout provides a customizable way to format data for an appender. A Layout specifies 7 * the format of the messages that are going to be written to a target via an appender. 8 * 9 * @see Appender 10 * @see Logger 11 * @see LoggerManager 12 * \ingroup logger 13 */ 14 class Layout 15 { 16 /** 17 * Create a new Layout instance. 18 */ 19 function Layout() 20 { 21 // nuttin' :) 22 } 23 24 /** 25 * Format a message. 26 * 27 * <br/><br/> 28 * 29 * <note> 30 * This should never be called manually. 31 * </note> 32 * 33 * @param Message A LoggedMessage instance. 34 */ 35 function &format (&$message) 36 { 37 throw(new Exception("Layout::format(&$message) must be overridden")); 38 die(); 39 } 40 } 41 42 ?>
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 |
![]() |