public function confirmed($isConfirmed = true)
    {
        $model = $this->noInitModel;
        if (!is_string($model->confirmationAttribute)) {
            return $this;
        }
        return $this->andWhere([$model->confirmationAttribute => $isConfirmed]);
    }
public function confirmed($isConfirmed = true)
    {
        $model = $this->noInitModel;
        if (!is_string($model->confirmationAttribute)) {
            return $this;
        }
        return $this->andWhere([$model->confirmationAttribute => $isConfirmed]);
    }
public function confirmed ( $ isConfirmed = true ) { $ model = $ this -> noInitModel ; if ( ! is_string ( $ model -> confirmationAttribute ) ) { return $ this ; } return $ this -> andWhere ( [ $ model -> confirmationAttribute => $ isConfirmed ] ) ; }
Specify confirmation.
@param boolean $isConfirmed
@return $this
Specify confirmation .