plugin/exo/Library/Model/AttemptParametersTrait.php
public function setMaxAttemptsPerDay($maxAttemptsPerDay)
    {
        if ($maxAttemptsPerDay > $this->maxAttempts) {
            //we can't try more times per day than the maximum allowed attempts defined
            $this->maxAttemptsPerDay = $this->maxAttempts;
        }

        $this->maxAttemptsPerDay = $maxAttemptsPerDay;
    }
public function setMaxAttemptsPerDay($maxAttemptsPerDay)
    {
        if ($maxAttemptsPerDay > $this->maxAttempts) {
            //we can't try more times per day than the maximum allowed attempts defined
            $this->maxAttemptsPerDay = $this->maxAttempts;
        }

        $this->maxAttemptsPerDay = $maxAttemptsPerDay;
    }
public function setMaxAttemptsPerDay ( $ maxAttemptsPerDay ) { if ( $ maxAttemptsPerDay > $ this -> maxAttempts ) { //we can't try more times per day than the maximum allowed attempts defined $ this -> maxAttemptsPerDay = $ this -> maxAttempts ; } $ this -> maxAttemptsPerDay = $ maxAttemptsPerDay ; }
Sets max attempts.

@param int $maxAttemptsPerDay
Sets max attempts .