| 1 | <?php |
||
| 18 | class CakeLogEntry |
||
| 19 | { |
||
| 20 | /** |
||
| 21 | * Time |
||
| 22 | * |
||
| 23 | * @var string |
||
| 24 | */ |
||
| 25 | protected $_time; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * Time |
||
| 29 | * |
||
| 30 | * @var string |
||
| 31 | */ |
||
| 32 | protected $_type; |
||
| 33 | |||
| 34 | /** |
||
| 35 | * Message |
||
| 36 | * |
||
| 37 | * @var string |
||
| 38 | */ |
||
| 39 | protected $_message; |
||
| 40 | |||
| 41 | /** |
||
| 42 | * Detail |
||
| 43 | * |
||
| 44 | * @var string |
||
| 45 | */ |
||
| 46 | protected $_detail; |
||
| 47 | |||
| 48 | /** |
||
| 49 | * Constructor |
||
| 50 | * |
||
| 51 | * @param string $text log entry text |
||
| 52 | */ |
||
| 53 | public function __construct($text) |
||
| 70 | |||
| 71 | /** |
||
| 72 | * Gets log entry time |
||
| 73 | * |
||
| 74 | * @return string |
||
| 75 | */ |
||
| 76 | public function time() |
||
| 80 | |||
| 81 | /** |
||
| 82 | * Gets log entry type |
||
| 83 | * |
||
| 84 | * @return string |
||
| 85 | */ |
||
| 86 | public function type() |
||
| 90 | |||
| 91 | /** |
||
| 92 | * Gets log entry message |
||
| 93 | * |
||
| 94 | * @return string |
||
| 95 | */ |
||
| 96 | public function message() |
||
| 100 | |||
| 101 | /** |
||
| 102 | * Gets log entry details |
||
| 103 | * |
||
| 104 | * @return string |
||
| 105 | */ |
||
| 106 | public function details() |
||
| 110 | } |
||
| 111 |