liberty
[ class tree: liberty ] [ index: liberty ] [ all elements ]

Source for file format.bithtml.php

Documentation is available at format.bithtml.php

  1. <?php
  2. /**
  3.  * @version  $Revision$
  4.  * @package  liberty
  5.  * @subpackage plugins_format
  6.  */
  7. global $gLibertySystem;
  8.  
  9. /**
  10.  * definitions
  11.  */
  12. define'PLUGIN_GUID_BITHTML''bithtml' );
  13.  
  14. $pluginParams array (
  15.     'load_function'   => 'bithtml_parse_data',
  16.     'verify_function' => 'bithtml_verify_data',
  17.     'description'     => 'HTML Syntax Format Parser',
  18.     'edit_label'      => 'HTML',
  19.     'edit_field'      => PLUGIN_GUID_BITHTML,
  20.     'help_page'       => 'HTMLSyntax',
  21.     'plugin_type'     => FORMAT_PLUGIN,
  22.     'linebreak'       => '<br />'
  23. );
  24.  
  25. $gLibertySystem->registerPluginPLUGIN_GUID_BITHTML$pluginParams );
  26.  
  27. function bithtml_verify_data&$pParamHash {
  28.     $pParamHash['content_store']['data'$pParamHash['edit'];
  29. }
  30.  
  31. function bithtml_parse_data&$pParseHash&$pCommonObject {
  32.     return $pParseHash['data'];
  33. }
  34. ?>

Documentation generated on Wed, 29 Jul 2015 13:56:35 +0000 by phpDocumentor 1.5.0-lsces