Exemple #1
0
 public function __construct($res = null)
 {
     if (is_resource($res) && get_resource_type($res) === '_p_indri__parse__TermExtent') {
         $this->_cPtr = $res;
         return;
     }
     $this->_cPtr = new_TermExtent();
 }
Exemple #2
0
 function __construct()
 {
     $this->_cPtr = new_TermExtent();
 }