public function getPreviousSuccessToken()
    {
        $prev = $this->getPreviousToken();

        while ($prev && (! $prev->hasSuccesCode())) {
            $prev = $prev->getPreviousToken();
        }

        return $prev;
    }
public function getPreviousSuccessToken()
    {
        $prev = $this->getPreviousToken();

        while ($prev && (! $prev->hasSuccesCode())) {
            $prev = $prev->getPreviousToken();
        }

        return $prev;
    }
public function getPreviousSuccessToken ( ) { $ prev = $ this -> getPreviousToken ( ) ; while ( $ prev && ( ! $ prev -> hasSuccesCode ( ) ) ) { $ prev = $ prev -> getPreviousToken ( ) ; } return $ prev ; }
Returns the previous token that has succes in this track

@return \Gems_Tracker_Token
Returns the previous token that has succes in this track