ossn.lib.css.php File Reference

Go to the source code of this file.

Namespaces

 Informatikon\com
 

Functions

 ossn_css ()
 
 ossn_css_pagehandler ($css)
 
 ossn_new_css ($name, $file)
 
 ossn_unlink_new_css ($name, $file)
 
 ossn_html_css ($args)
 
 ossn_load_css ($name, $type= 'site')
 
 ossn_unload_css ($name, $type= 'site')
 
 ossn_css_site ()
 
 ossn_css_admin ()
 
 ossn_css_trigger ($hook, $type, $value, $params)
 
 ossn_new_external_css ($name, $file, $type=true)
 
 ossn_unlink_external_css ($name)
 
 ossn_load_external_css ($name, $type= 'site')
 
 ossn_unload_external_css ($name, $type= 'site')
 

Function Documentation

ossn_css ( )

Initialize the css library

Returns
void

Definition at line 17 of file ossn.lib.css.php.

ossn_css_admin ( )

Load registered css to system for admin

Returns
html.tag

Definition at line 171 of file ossn.lib.css.php.

ossn_css_pagehandler (   $css)

Add css page handler

Returns
false|null

Definition at line 29 of file ossn.lib.css.php.

ossn_css_site ( )

Load registered css to system for site

Returns
html.tag

Definition at line 137 of file ossn.lib.css.php.

ossn_css_trigger (   $hook,
  $type,
  $value,
  $params 
)

Check if the requested css is registered then load css

Returns
string|false

Definition at line 204 of file ossn.lib.css.php.

ossn_html_css (   $args)

Get a tag for inserting css

array $args array()

Returns
string

Definition at line 94 of file ossn.lib.css.php.

ossn_load_css (   $name,
  $type = 'site' 
)

Load css to system

string $name = name of css $type site or admin

Returns
void

Definition at line 114 of file ossn.lib.css.php.

ossn_load_external_css (   $name,
  $type = 'site' 
)

Load registered css to system for site

Returns
html.tag

Definition at line 253 of file ossn.lib.css.php.

ossn_new_css (   $name,
  $file 
)

Register a new css to system

Parameters
string$nameThe name of the css $file path to css file
Returns
void

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

ossn_new_external_css (   $name,
  $file,
  $type = true 
)

Register a new external css to system

Parameters
string$nameThe name of the css $file complete url path to css file
Returns
void

Definition at line 228 of file ossn.lib.css.php.

ossn_unlink_external_css (   $name)

Remove a external css from system

Parameters
string$nameThe name of the css $file complete url path to css file
Returns
void

Definition at line 244 of file ossn.lib.css.php.

ossn_unlink_new_css (   $name,
  $file 
)

Remove a css from system

This will not remove css file it will just unregister it

Parameters
string$nameThe name of the css
Returns
void

Definition at line 80 of file ossn.lib.css.php.

ossn_unload_css (   $name,
  $type = 'site' 
)

Ossn system unloads css from head

Parameters
string$nameThe name of the css
Returns
void

Definition at line 125 of file ossn.lib.css.php.

ossn_unload_external_css (   $name,
  $type = 'site' 
)

Ossn system unloads css from head

Parameters
string$nameThe name of the css
Returns
void

Definition at line 264 of file ossn.lib.css.php.