Changeset 12726

Show
Ignore:
Timestamp:
10/09/07 22:39:22 (1 year ago)
Author:
w_i
Message:

removed unneeded debugs

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/midcom/midcom.helper.datamanager2/exec/chooser_handler.php

    r12725 r12726  
    1111 
    1212debug_push_class('midcom_helper_datamanager2_widget_chooser_handler', 'initialize'); 
    13  
    14 debug_print_r('_REQUEST',  $_REQUEST); 
     13// debug_print_r('_REQUEST',  $_REQUEST); 
    1514 
    1615// Common variables 
     
    5251foreach ($map as $map_key) 
    5352{ 
    54     debug_add("map extras :: checking map_key {$map_key}"); 
     53    // debug_add("map extras :: checking map_key {$map_key}"); 
    5554    if (   isset($extra_params[$map_key]) 
    5655        && !empty($extra_params[$map_key])) 
    5756    { 
    58         debug_add("found"); 
     57        // debug_add("found"); 
    5958        $$map_key = $extra_params[$map_key]; 
    6059    } 
    6160    else 
    6261    { 
    63         debug_add("Not found"); 
     62        // debug_add("Not found"); 
    6463        $$map_key = false; 
    6564    } 
     
    123122else 
    124123{ 
    125     debug_add("Using component: {$component}"); 
    126     debug_add("Using class: {$class}"); 
     124    // debug_add("Using component: {$component}"); 
     125    // debug_add("Using class: {$class}"); 
    127126     
    128127    // Load component if required 
     
    150149        exit(); 
    151150    } 
    152  
    153     // if (!empty($reflector_key)) 
    154     // { 
    155     //     $qb = new midgard_query_builder($class); 
    156     // } 
    157     // else 
    158     // { 
    159     //     $qb = call_user_func(array($class, 'new_query_builder')); 
    160     // } 
    161151     
    162152    $qb = @call_user_func(array($class, 'new_query_builder')); 
  • trunk/midcom/midcom.helper.datamanager2/widget/chooser.php

    r12723 r12726  
    460460    function _check_callback() 
    461461    { 
    462         debug_push_class(__CLASS__, __FUNCTION__);         
    463         debug_add("Checking callback class {$this->_callback_class}"); 
     462        // debug_push_class(__CLASS__, __FUNCTION__);         
     463        // debug_add("Checking callback class {$this->_callback_class}"); 
    464464         
    465465        if (! class_exists($this->_callback_class)) 
     
    486486        $this->_callback = new $this->_callback_class($this->_callback_args); 
    487487         
    488         debug_pop(); 
     488        // debug_pop(); 
    489489         
    490490        if (is_callable(array($this->_callback, 'initialize'))) 
     
    11391139    function _object_to_jsdata(&$object) 
    11401140    { 
    1141         debug_push_class(__CLASS__, __FUNCTION__);         
    1142         debug_add("converting object with id {$object->id} to jsdata"); 
     1141        // debug_push_class(__CLASS__, __FUNCTION__);         
     1142        // debug_add("converting object with id {$object->id} to jsdata"); 
    11431143         
    11441144        $id = @$object->id; 
     
    11681168                $value = @$object->$item_name; 
    11691169                $value = rawurlencode($value); 
    1170                 debug_add("adding header item: name={$item_name} value={$value}"); 
     1170                // debug_add("adding header item: name={$item_name} value={$value}"); 
    11711171                $jsdata .= "{$item_name}: '{$value}'"; 
    11721172                 
     
    11821182        $jsdata .= "}"; 
    11831183         
    1184         debug_pop(); 
     1184        // debug_pop(); 
    11851185         
    11861186        return $jsdata; 
     
    11891189    function _get_key_data($key, $in_render_mode=false) 
    11901190    { 
    1191         debug_push_class(__CLASS__, __FUNCTION__);         
    1192         debug_add("get_key_data for key: {$key}"); 
     1191        // debug_push_class(__CLASS__, __FUNCTION__);         
     1192        // debug_add("get_key_data for key: {$key}"); 
    11931193         
    11941194        if ($this->_callback) 
     
    12091209            } 
    12101210             
    1211             debug_pop(); 
     1211            // debug_pop(); 
    12121212             
    12131213            if ($this->_renderer_callback) 
     
    13121312         // debug_pop(); 
    13131313          
    1314          return Array($this->name => $defaults); 
     1314         return array($this->name => $defaults); 
    13151315     } 
    13161316