includes/eduadmin-api-client/odata-client.php
public function Search( $select = null, $filter = null, $expand = null, $orderby = null, $top = null, $skip = null, $count = false, $use_cache = true ) {
		$params = array();
		if ( isset( $select ) && ! empty( $select ) ) {
			$params['$select'] = $select;
		}
		if ( isset( $filter ) && ! empty( $filter ) ) {
			$params['$filter'] = $filter;
		}
		if ( isset( $expand ) && ! empty( $expand ) ) {
			$params['$expand'] = $expand;
		}
		if ( isset( $orderby ) && ! empty( $orderby ) ) {
			$params['$orderby'] = $orderby;
		}
		if ( isset( $top ) && ! empty( $top ) ) {
			$params['$top'] = $top;
		}
		if ( isset( $skip ) && ! empty( $skip ) ) {
			$params['$skip'] = $skip;
		}

		if ( ! empty( $use_cache ) && ! $use_cache ) {
			$params['cache'] = 'false';
		}

		$params['$count'] = $count ? 'true' : 'false';

		return parent::GET( '', $params, get_called_class() . '|' . __FUNCTION__ );
	}
public function Search( $select = null, $filter = null, $expand = null, $orderby = null, $top = null, $skip = null, $count = false, $use_cache = true ) {
		$params = array();
		if ( isset( $select ) && ! empty( $select ) ) {
			$params['$select'] = $select;
		}
		if ( isset( $filter ) && ! empty( $filter ) ) {
			$params['$filter'] = $filter;
		}
		if ( isset( $expand ) && ! empty( $expand ) ) {
			$params['$expand'] = $expand;
		}
		if ( isset( $orderby ) && ! empty( $orderby ) ) {
			$params['$orderby'] = $orderby;
		}
		if ( isset( $top ) && ! empty( $top ) ) {
			$params['$top'] = $top;
		}
		if ( isset( $skip ) && ! empty( $skip ) ) {
			$params['$skip'] = $skip;
		}

		if ( ! empty( $use_cache ) && ! $use_cache ) {
			$params['cache'] = 'false';
		}

		$params['$count'] = $count ? 'true' : 'false';

		return parent::GET( '', $params, get_called_class() . '|' . __FUNCTION__ );
	}
public function Search ( $ select = null , $ filter = null , $ expand = null , $ orderby = null , $ top = null , $ skip = null , $ count = false , $ use_cache = true ) { $ params = array ( ) ; if ( isset ( $ select ) && ! empty ( $ select ) ) { $ params [ '$select' ] = $ select ; } if ( isset ( $ filter ) && ! empty ( $ filter ) ) { $ params [ '$filter' ] = $ filter ; } if ( isset ( $ expand ) && ! empty ( $ expand ) ) { $ params [ '$expand' ] = $ expand ; } if ( isset ( $ orderby ) && ! empty ( $ orderby ) ) { $ params [ '$orderby' ] = $ orderby ; } if ( isset ( $ top ) && ! empty ( $ top ) ) { $ params [ '$top' ] = $ top ; } if ( isset ( $ skip ) && ! empty ( $ skip ) ) { $ params [ '$skip' ] = $ skip ; } if ( ! empty ( $ use_cache ) && ! $ use_cache ) { $ params [ 'cache' ] = 'false' ; } $ params [ '$count' ] = $ count ? 'true' : 'false' ; return parent :: GET ( '' , $ params , get_called_class ( ) . '|' . __FUNCTION__ ) ; }
@param string|null $select
@param string|null $filter
@param string|null $expand
@param string|null $orderby
@param int|null $top
@param int|null $skip
@param bool $count
@param bool $use_cache

@return mixed
@param string|null $select @param string|null $filter @param string|null $expand @param string|null $orderby @param int|null $top @param int|null $skip @param bool $count @param bool $use_cache