1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-11 00:54:49 +02:00

more e107 class & API cahnges:

- magic __get() added to e107 and e_parse classes;
- resolved sch_load() related issues;
- more object getter;
This commit is contained in:
secretr
2009-07-23 15:29:07 +00:00
parent 27c85b32f9
commit 9c219f52a9
5 changed files with 198 additions and 61 deletions

View File

@@ -12,9 +12,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_handlers/shortcode_handler.php,v $
| $Revision: 1.27 $
| $Date: 2009-07-21 06:31:23 $
| $Author: e107coders $
| $Revision: 1.28 $
| $Date: 2009-07-23 15:29:07 $
| $Author: secretr $
+----------------------------------------------------------------------------+
*/
@@ -22,9 +22,8 @@ if (!defined('e107_INIT')) { exit; }
function register_shortcode($classFunc, $codes, $path='', $force=false)
{
$e107 = e107::getInstance();
$sc = &$e107->tp->e_sc;
$sc = e107::getScParser();
//If codes is set to true, let's go get a list of shortcode methods
if(is_bool($codes) && $codes === true)
{