public
Created

  • Download Gist
view.php
PHP
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
<?
/**
* 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;
}
}

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.