some switched off debug messages

This commit is contained in:
Ralf Becker 2009-11-24 10:56:41 +00:00
parent a70df0ddbb
commit 86e1dfa7c7

View File

@ -195,6 +195,7 @@ class etemplate_request
{ {
if (!$form_name || !$type) return; if (!$form_name || !$type) return;
//echo '<p>'.__METHOD__."($form_name,$type,".array2string($data).")</p>\n";
$data['type'] = $type; $data['type'] = $type;
$this->data['to_process'][$form_name] = $data; $this->data['to_process'][$form_name] = $data;
@ -211,6 +212,7 @@ class etemplate_request
*/ */
public function set_to_process_attribute($form_name,$attribute,$value,$add_to_array=false) public function set_to_process_attribute($form_name,$attribute,$value,$add_to_array=false)
{ {
//echo '<p>'.__METHOD__."($form_name,$attribute,$value,$add_to_array)</p>\n";
if (!$form_name) return; if (!$form_name) return;
if ($add_to_array) if ($add_to_array)
@ -231,6 +233,7 @@ class etemplate_request
*/ */
public function unset_to_process($form_name) public function unset_to_process($form_name)
{ {
//echo '<p>'.__METHOD__."($form_name) isset_to_process($form_name)=".$this->isset_to_process($form_name)."</p>\n";
unset($this->data['to_process'][$form_name]); unset($this->data['to_process'][$form_name]);
$this->data_modified = true; $this->data_modified = true;
} }
@ -243,6 +246,7 @@ class etemplate_request
*/ */
public function get_to_process($form_name=null) public function get_to_process($form_name=null)
{ {
//echo '<p>'.__METHOD__."($form_name)</p>\n";
return $form_name ? $this->data['to_process'][$form_name] : $this->data['to_process']; return $form_name ? $this->data['to_process'][$form_name] : $this->data['to_process'];
} }
@ -254,6 +258,7 @@ class etemplate_request
*/ */
public function isset_to_process($form_name) public function isset_to_process($form_name)
{ {
//echo '<p>'.__METHOD__."($form_name) = ".array2string(isset($this->data['to_process'][$form_name]))."</p>\n";
return isset($this->data['to_process'][$form_name]); return isset($this->data['to_process'][$form_name]);
} }