/var-www-hotglue/hotglue.org-test/dev/module_text.inc.php File Reference

Go to the source code of this file.

Functions

 _include_woff_font ($font_family, $style_to_include= '')
 _is_woff_font ($font_family)
 _text_render_content ($s, $name)
 _woff_fonts ()
 text_alter_save ($args)
 text_alter_render_early ($args)
 text_render_object ($args)
 text_render_page_early ($args)
 text_save_state ($args)

Function Documentation

_include_woff_font ( font_family,
style_to_include = '' 
)

include the font-face css for a woff-font

Parameters:
string $font_family font family to include
string $style_to_include style to include (normal, italic, bold, bolditalic) (default: include all styles)
Returns:
true if successful, false if not

Definition at line 32 of file module_text.inc.php.

_is_woff_font ( font_family  ) 

return if the font-family includes a woff-font

Parameters:
string $font_family font family
Returns:
true if there is a woff-font, false if not

Definition at line 87 of file module_text.inc.php.

_text_render_content ( s,
name 
)

helper function for rendering the content of a text object for use in editing (outside the textarea) and viewing

Parameters:
string $s content
string $name object name
Returns:
html-encoded content

Definition at line 106 of file module_text.inc.php.

_woff_fonts (  ) 

return an array of all available woff-fonts

Returns:
array

Definition at line 130 of file module_text.inc.php.

text_alter_render_early ( args  ) 

Definition at line 259 of file module_text.inc.php.

text_alter_save ( args  ) 

Definition at line 156 of file module_text.inc.php.

text_render_object ( args  ) 

Definition at line 362 of file module_text.inc.php.

text_render_page_early ( args  ) 

Definition at line 384 of file module_text.inc.php.

text_save_state ( args  ) 

Definition at line 411 of file module_text.inc.php.

Generated on Wed Jul 11 19:43:16 2012 for hotglue by  doxygen 1.6.3