Esempio n. 1
0
 /**
  * Make sure the other value is visible in the request
  **/
 function get_cleanup_rules()
 {
     $rules = parent::get_cleanup_rules();
     if ($this->add_other) {
         return array_merge($rules, array($this->name . '_other' => array('function' => 'turn_into_string')));
     } else {
         return $rules;
     }
 }