public function pickRandom($n)
	{
		$rows = $this->rows;

		shuffle($rows);
		$randomRows = array_slice($rows, 0, $n);
		$rowsObject = new self($randomRows);

		return $rowsObject;
	}
public function pickRandom($n)
	{
		$rows = $this->rows;

		shuffle($rows);
		$randomRows = array_slice($rows, 0, $n);
		$rowsObject = new self($randomRows);

		return $rowsObject;
	}
public function pickRandom ( $ n ) { $ rows = $ this -> rows ; shuffle ( $ rows ) ; $ randomRows = array_slice ( $ rows , 0 , $ n ) ; $ rowsObject = new self ( $ randomRows ) ; return $ rowsObject ; }
Selects a number of randomly selected rows

@param   integer  $n  The number of rows to randomly select
@return  Rows
@since   2.1.13
Selects a number of randomly selected rows