ossn.lib.plugins.php File Reference

Go to the source code of this file.

Namespaces

 Informatikon\com
 

Functions

 ossn_register_plugins_by_path ($path)
 
 ossn_plugin_view ($plugin= '', $vars=array(), $type= 'default')
 
 ossn_uregister_plugin_view ($plugin)
 
 ossn_plugins_cache_paths ()
 
 ossn_plugin_set ()
 

Function Documentation

ossn_plugin_set ( )

If cache enabled then load paths for cache

Returns
void;

Definition at line 109 of file ossn.lib.plugins.php.

ossn_plugin_view (   $plugin = '',
  $vars = array(),
  $type = 'default' 
)

View a plugin Plugins are registered using ossn_register_plugins_by_path()

Parameters
string$pluginA valid plugin name;
array | object$varsA valid arrays or object
Returns
void|mixed

Definition at line 67 of file ossn.lib.plugins.php.

ossn_plugins_cache_paths ( )

Generate a paths for plugins for cache

Returns
string|false

Definition at line 96 of file ossn.lib.plugins.php.

ossn_register_plugins_by_path (   $path)

Register a plugins by path This will help us to override components files easily.

Parameters
string$pathA valid path;
Returns
boolean

Definition at line 18 of file ossn.lib.plugins.php.

ossn_uregister_plugin_view (   $plugin)

Unregister a plugin view We need this if we want to disable a plugin view.

Parameters
string$pluginA valid plugin name;
Returns
void

Definition at line 85 of file ossn.lib.plugins.php.