Location: PHPKode > projects > Thought Push PHP Framework > system/utilities/system/Page.php
<?
///Used for getting data from utilities called in the controller to templates
class Page{
	static $in;
	static $errors;
	static $messages;
	static function setError($message,$name=null,$context='default'){
		Arrays::addOnKey($name,$message,self::$errors[$context]);
	}
	static function setMessage($message,$name=null,$context='default'){
		Arrays::addOnKey($name,$message,self::$messages[$context]);
	}
}
Page::$in = array_merge($_GET ? $_GET : array(), $_POST ? $_POST : array());
Return current item: Thought Push PHP Framework