original_string: protected function validateLogOrder()
      {
          if (mb_strlen($this->getSubmitted('log')) > 255) {
              $this->setErrorLengthRange('log', $this->translation->text('Log'), 0, 255);
              return false;
          }
  
          return true;
      }
code: protected function validateLogOrder()
      {
          if (mb_strlen($this->getSubmitted('log')) > 255) {
              $this->setErrorLengthRange('log', $this->translation->text('Log'), 0, 255);
              return false;
          }
  
          return true;
      }
code_tokens: protected function validateLogOrder ( ) { if ( mb_strlen ( $ this -> getSubmitted ( 'log' ) ) > 255 ) { $ this -> setErrorLengthRange ( 'log' , $ this -> translation -> text ( 'Log' ) , 0 , 255 ) ; return false ; } return true ; }
docstring: Validates a log message
  @return boolean|null
docstring_tokens: Validates a log message