original_string: public function beforeValidate()
      {
          foreach ($this->attributes as $attribute) {
              $this->setMultilingualAttribute($this->getAttributeName($attribute, $this->_currentLanguage), $this->getMultilingualAttribute($attribute));
          }
      }
code: public function beforeValidate()
      {
          foreach ($this->attributes as $attribute) {
              $this->setMultilingualAttribute($this->getAttributeName($attribute, $this->_currentLanguage), $this->getMultilingualAttribute($attribute));
          }
      }
code_tokens: public function beforeValidate ( ) { foreach ( $ this -> attributes as $ attribute ) { $ this -> setMultilingualAttribute ( $ this -> getAttributeName ( $ attribute , $ this -> _currentLanguage ) , $ this -> getMultilingualAttribute ( $ attribute ) ) ; } }
docstring: Handle 'beforeValidate' event of the owner.
docstring_tokens: Handle beforeValidate event of the owner .