Example #1
0
 function __construct($slot_, $str_ = null, $prefix_ = true)
 {
     if (is_resource($slot_) && get_resource_type($slot_) === '_p_Xapian__StringValueRangeProcessor') {
         $this->_cPtr = $slot_;
         return;
     }
     switch (func_num_args()) {
         case 1:
             $this->_cPtr = new_StringValueRangeProcessor($slot_);
             break;
         default:
             $this->_cPtr = new_StringValueRangeProcessor($slot_, $str_, $prefix_);
     }
 }
Example #2
0
 function __construct($valno_)
 {
     $this->_cPtr = new_StringValueRangeProcessor($valno_);
 }