Guest User

Untitled

a guest
Jul 19th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. <?
  2. /**
  3. * view_data
  4. *
  5. * Enables you to set data that is persistent in all views
  6. *
  7. * @author CJ Lazell
  8. * @param array $data
  9. * @access public
  10. * @return void
  11. */
  12.  
  13. if ( ! function_exists('view_data'))
  14. {
  15. function view_data($data = array())
  16. {
  17. $vi = Ssc::instance();
  18. $vi->_ew->view_data = $data;
  19. }
  20. }
Add Comment
Please, Sign In to add comment