private function getOrderAndSeed($order)
    {
        @list($order, $seed) = explode(':', $order, 2);

        if (empty($seed)) {
            $seed = $this->getRandomSeed();
        }

        if (!is_numeric($seed)) {
            $this->showError("Could not use '$seed' as seed.");
        }

        return array($order, $seed);
    }
private function getOrderAndSeed($order)
    {
        @list($order, $seed) = explode(':', $order, 2);

        if (empty($seed)) {
            $seed = $this->getRandomSeed();
        }

        if (!is_numeric($seed)) {
            $this->showError("Could not use '$seed' as seed.");
        }

        return array($order, $seed);
    }
private function getOrderAndSeed ( $ order ) { @ list ( $ order , $ seed ) = explode ( ':' , $ order , 2 ) ; if ( empty ( $ seed ) ) { $ seed = $ this -> getRandomSeed ( ) ; } if ( ! is_numeric ( $ seed ) ) { $ this -> showError ( "Could not use '$seed' as seed." ) ; } return array ( $ order , $ seed ) ; }
Parses arguments to know if random order is desired, and if seed was chosen.

@param  string $order String from command line parameter.
@return array
Parses arguments to know if random order is desired and if seed was chosen .