public function execute() {
		$results = ArrayList::create();
		foreach($this->classes as $c) {

			if($this->isOmitted($c)) continue;

			$list = DataList::create($c)
						->filter('ClassName', $c)
						->limit($this->getLimitFor($c))
						->sort("RAND()");

			foreach($list as $record) {
				$results->push($record);
			}
		}

		return $results;		
	}
public function execute() {
		$results = ArrayList::create();
		foreach($this->classes as $c) {

			if($this->isOmitted($c)) continue;

			$list = DataList::create($c)
						->filter('ClassName', $c)
						->limit($this->getLimitFor($c))
						->sort("RAND()");

			foreach($list as $record) {
				$results->push($record);
			}
		}

		return $results;		
	}
public function execute ( ) { $ results = ArrayList :: create ( ) ; foreach ( $ this -> classes as $ c ) { if ( $ this -> isOmitted ( $ c ) ) continue ; $ list = DataList :: create ( $ c ) -> filter ( 'ClassName' , $ c ) -> limit ( $ this -> getLimitFor ( $ c ) ) -> sort ( "RAND()" ) ; foreach ( $ list as $ record ) { $ results -> push ( $ record ) ; } } return $ results ; }
Executes the query, gets the samples
@return ArrayList
Executes the query gets the samples