Index: trunk/core/kernel/application.php =================================================================== diff -u -r932 -r935 --- trunk/core/kernel/application.php (.../application.php) (revision 932) +++ trunk/core/kernel/application.php (.../application.php) (revision 935) @@ -409,7 +409,7 @@ return $this->GetVar($var); } - function ExtractByMask($array, $mask, $key_id=1, $ret_mode=1) + /*function ExtractByMask($array, $mask, $key_id=1, $ret_mode=1) { $utils =& $this->recallObject('Utilities'); return $utils->ExtractByMask($array, $mask, $key_id, $ret_mode); @@ -425,7 +425,7 @@ { $http_query =& $this->recallObject('HTTPQuery'); return $http_query->GetSelectedIDsArray($mask, $value_mask); - } + }*/ /** * Returns configurtion option @@ -434,11 +434,11 @@ * @return string * @access public */ - function ConfigOption($option) + /*function ConfigOption($option) { $config =& $this->recallObject('Configuration'); return $config->Get($option); - } + }*/ /** * Sets configuration option @@ -448,37 +448,38 @@ * @return bool * @access public */ - function SetConfigOption($option,$value) + /*function SetConfigOption($option,$value) { $config =& $this->recallObject('Configuration'); return $config->Set($option, $value); - } + }*/ function AddBlock($name, $tpl) { $this->cache[$name] = $tpl; } - function SetTemplateBody($title, $body) + function SetTemplateBody($title,$body) { - $this->Templates->SetTemplateBody($title, $body); + $templates_cache =& $this->recallObject('TemplatesCache'); + $templates_cache->SetTemplateBody($title,$body); } function ProcessTag($tag_data) { - $a_tag = new Tag($tag_data, $this->Parser); + $a_tag = new Tag($tag_data,$this->Parser); return $a_tag->DoProcessTag(); } - function &GetProcessor($prefix) + /*function &GetProcessor($prefix) { $this->KernelDie('GetProcessor is DEPRICATED, use recallObject'); // return $this->Processors->GetProcessor($prefix, new Tag('empty', $this->Parser)); - } + }*/ /* DEFINETLY NEEDS TO BE MOVED AWAY!!!!! */ - var $email_body; + /*var $email_body; function Email($params) { $this->email_body = $this->ParseBlock($params); @@ -530,7 +531,7 @@ } mail($to, $subject, $this->email_body, $headers); } - } + }*/ /** * Return ADODB Connection object @@ -594,8 +595,6 @@ $ret.=implode('-',$tmp_string); } } - - } return $ret; @@ -626,11 +625,11 @@ exit; } - function UserError($msg) + /*function UserError($msg) { error_reporting(E_ALL); trigger_error($msg, E_USER_WARNING ); - } + }*/ function Phrase($label) {