Example #1
0
 /**
  * Set a data value that can be retrieved in future requests. Useful for setting status messages.
  * @param string $msg
  * @param string $bucket Optional grouping of flash messages. Used to avoid retrieving all messages at once.
  * @return void
  */
 public static function flash($msg, $bucket = 0)
 {
     View::flash($msg, $bucket);
 }
Example #2
0
View::link('Contacts', 'page/contacts');
?>
</li>
	<li><?php 
View::link('Members', 'member');
?>
</li>
	<li><?php 
View::link('Register', 'member/_new');
?>
</li>
	<li><?php 
View::link('Sing-in', 'session/_new');
?>
</li>
</ul><br />
<?php 
View::flash();
?>
<br />
	<?php 
View::yield();
?>
	<div style="border:3px double #F00;margin-top:30px">
	<?php 
echo Registry::getDebug();
?>
	</div>
</body>
</html>