1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-17 20:01:47 +02:00

Shortcode parser: fixed number of errors, more major changes, getScBatch will now auto-register batch (no need of registerShortcode() call), added new example of sc handler usage (news), work in progress

This commit is contained in:
secretr
2010-04-25 13:52:14 +00:00
parent 6b7a4f7242
commit e0c8e76f70
6 changed files with 299 additions and 165 deletions

View File

@@ -2131,6 +2131,16 @@ class e_vars
{
return empty($this->vars);
}
/**
* Check if given data key is set
* @param string $key
* @return boolean
*/
public function isVar($key)
{
return isset($this->vars[$key]);
}
/**
* Magic setter
@@ -2171,7 +2181,7 @@ class e_vars
*/
public function __isset($key)
{
return isset($this->vars[$key]);
return $this->isVar($key);
}
/**