ossn.lib.route.php File Reference

Go to the source code of this file.

Namespaces

 Informatikon\com
 

Functions

 arrayObject ($array, $class= 'stdClass')
 
 forceObject (&$object)
 
 ossn_route ()
 
 current_url ($uport= '')
 

Function Documentation

arrayObject (   $array,
  $class = 'stdClass' 
)

Ossn Convert arrays to Object

Parameters
array$arrayArrays
string$classclass name ,else it will be object of stdClass
Returns
object

Definition at line 20 of file ossn.lib.route.php.

current_url (   $uport = '')

Get current url

Parameters
string$uportWant port or not? default will be disable
Returns
object

Definition at line 89 of file ossn.lib.route.php.

forceObject ( $object)

Force Object Sometimes php can't get object class , so we need to make sure that object have class name

Parameters
object$objectObject
Returns
object

Definition at line 46 of file ossn.lib.route.php.

ossn_route ( )

Get system directory paths

Returns
object

Definition at line 58 of file ossn.lib.route.php.