diff options
| author | Jams H Thompson <jht001@users.sourceforge.net> | 2006-08-26 21:12:01 +0000 |
|---|---|---|
| committer | Jams H Thompson <jht001@users.sourceforge.net> | 2006-08-26 21:12:01 +0000 |
| commit | 48779ea62e3926ad27cf03f94a47e23fad832972 (patch) | |
| tree | abcadda30324e4566b276de8b4a34ef73719205f /LibertySystem.php | |
| parent | 68dd10a2bdd44738e39dc2f99375d7f51ffc1fe8 (diff) | |
| download | liberty-48779ea62e3926ad27cf03f94a47e23fad832972.tar.gz liberty-48779ea62e3926ad27cf03f94a47e23fad832972.tar.bz2 liberty-48779ea62e3926ad27cf03f94a47e23fad832972.zip | |
Make more information available to plugins
Diffstat (limited to 'LibertySystem.php')
| -rwxr-xr-x | LibertySystem.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/LibertySystem.php b/LibertySystem.php index 9d2a316..fb7bcf0 100755 --- a/LibertySystem.php +++ b/LibertySystem.php @@ -3,7 +3,7 @@ * System class for handling the liberty package * * @package liberty -* @version $Header: /cvsroot/bitweaver/_bit_liberty/LibertySystem.php,v 1.39 2006/08/20 22:39:22 hash9 Exp $ +* @version $Header: /cvsroot/bitweaver/_bit_liberty/LibertySystem.php,v 1.40 2006/08/26 21:12:00 jht001 Exp $ * @author spider <spider@steelsun.com> */ @@ -454,7 +454,7 @@ class LibertySystem extends LibertyBase { * @access public * @return TRUE on success, FALSE on failure - mErrors will contain reason for failure */ -function parse_data_plugins( &$data, &$preparsed, &$noparsed, &$pParser ) { +function parse_data_plugins( &$data, &$preparsed, &$noparsed, &$pParser, &$pCommonObject ) { global $gLibertySystem; // Find the plugins // note: $curlyTags[0] is the complete match, $curlyTags[1] is plugin name, $curlyTags[2] is plugin arguments @@ -551,7 +551,7 @@ function parse_data_plugins( &$data, &$preparsed, &$noparsed, &$pParser ) { $arguments = parse_xml_attributes( $paramString ); } - if( $ret = $loadFunc( $plugin_data, $arguments ) ) { + if( $ret = $loadFunc( $plugin_data, $arguments, $pCommonObject ) ) { // temporarily replace end of lines so tables and other things render properly // $ret = preg_replace( "/\n/", '#EOL', $ret ); |
