original_string: public function validateId($attribute, $params)
      {
          foreach (Yii::$app->user->getLoginPriority() as $item) {
              if ($item::validate($this->$attribute)) {
                  return;
              }
          }
          $this->addError($attribute, Yii::t('user', 'Incorrect ID.'));
      }
code: public function validateId($attribute, $params)
      {
          foreach (Yii::$app->user->getLoginPriority() as $item) {
              if ($item::validate($this->$attribute)) {
                  return;
              }
          }
          $this->addError($attribute, Yii::t('user', 'Incorrect ID.'));
      }
code_tokens: public function validateId ( $ attribute , $ params ) { foreach ( Yii :: $ app -> user -> getLoginPriority ( ) as $ item ) { if ( $ item :: validate ( $ this -> $ attribute ) ) { return ; } } $ this -> addError ( $ attribute , Yii :: t ( 'user' , 'Incorrect ID.' ) ) ; }
docstring: Validates the ID.
  
  @param $attribute
  @param $params
docstring_tokens: Validates the ID .