Functions | Variables

global_functions.php File Reference

Functions

 isEmail ($value)
 checks if given value is a valid email address
 isEmpty ($var)
 checks if a variable is empty, needs to be used to check class methods
 redirectBack ()
 redirects back to the referer page
 redirectHome (array $query=array())
 redirects the browser to index.php

Variables

 return

Function Documentation

isEmail ( value  ) 

checks if given value is a valid email address

Returns:
true if the value has e-mail syntax

Referenced by createCustomerRegistration(), WOOrder::mailDetails(), and WOCustomer::resetPassword().

isEmpty ( var  ) 

checks if a variable is empty, needs to be used to check class methods

Referenced by createOrderOverview().

redirectBack (  ) 

redirects back to the referer page

References redirectHome().

redirectHome ( array $  query = array()  ) 

Variable Documentation