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(); }
function __construct() { $this->_cPtr = new_TermExtent(); }