src/Thybag/Service/QueryObjectService.php
public function getCAML () {
		// Start with empty string
		$xml = '';

		// Add where
		if (!empty($this->where_caml)) {
			$xml = '<Where>' . $this->where_caml . '</Where>';
		}

		// add sort
		if (!empty($this->sort_caml)) {
			$xml .= $this->sort_caml;
		}

		return $xml;
	}
public function getCAML () {
		// Start with empty string
		$xml = '';

		// Add where
		if (!empty($this->where_caml)) {
			$xml = '<Where>' . $this->where_caml . '</Where>';
		}

		// add sort
		if (!empty($this->sort_caml)) {
			$xml .= $this->sort_caml;
		}

		return $xml;
	}
public function getCAML ( ) { // Start with empty string $ xml = '' ; // Add where if ( ! empty ( $ this -> where_caml ) ) { $ xml = '<Where>' . $ this -> where_caml . '</Where>' ; } // add sort if ( ! empty ( $ this -> sort_caml ) ) { $ xml .= $ this -> sort_caml ; } return $ xml ; }
getCAML
Combine and return the raw CAML data for the query operation that has been specified.
@return CAML Code (XML)
getCAML Combine and return the raw CAML data for the query operation that has been specified .