ossn.lib.page.php File Reference

Go to the source code of this file.

Namespaces

 Informatikon\com
 

Functions

 ossn_register_page ($handler, $function)
 
 ossn_unregister_page ($handler)
 
 ossn_load_page ($handler, $page)
 
 ossn_set_page_owner_guid ($guid)
 
 ossn_get_page_owner_guid ()
 

Function Documentation

ossn_get_page_owner_guid ( )

Get page owner guid

Returns
(int)

Definition at line 100 of file ossn.lib.page.php.

ossn_load_page (   $handler,
  $page 
)

Output a page.

If page is not registered then user will see a 404 page;

Parameters
(string)$handler Page handler name;
(string)$page handler/page; edit: $arsalanshah : Initial;
Returns
mix|null data private

Definition at line 53 of file ossn.lib.page.php.

ossn_register_page (   $handler,
  $function 
)

Register a page handler; : $handler = page; : $function = function which handles page;

Parameters
string$handler
string$functionedit: $arsalanshah : Initial;

Definition at line 22 of file ossn.lib.page.php.

ossn_set_page_owner_guid (   $guid)

Set page owner guid, this is very useful

Parameters
(int)$guid Guid of owner
Returns
void

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

ossn_unregister_page (   $handler)

Unregister a page from syste,

Parameters
(string)$handler Page handler name;

edit: $arsalanshah

Returns
void;

Definition at line 34 of file ossn.lib.page.php.