Created
January 4, 2011 00:00
-
-
Save cj/764207 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<? | |
/** | |
* view_data | |
* | |
* Enables you to set data that is persistent in all views | |
* | |
* @author CJ Lazell | |
* @param array $data | |
* @access public | |
* @return void | |
*/ | |
if ( ! function_exists('view_data')) | |
{ | |
function view_data($data = array()) | |
{ | |
$vi = Ssc::instance(); | |
$vi->_ew->view_data = $data; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment