original_string: public function getQueuedStateText()
      {
          switch ((int)$this->getAttribute('queue_state')) {
              case self::QUEUE_NA:
                  return '';
              case self::QUEUE_DONE:
                  return 'done';
              case self::QUEUE_WAITING:
                  return 'waiting';
              case self::QUEUE_WORKING:
                  return 'working';
              default:
                  return 'unknown';
          }
      }
code: public function getQueuedStateText()
      {
          switch ((int)$this->getAttribute('queue_state')) {
              case self::QUEUE_NA:
                  return '';
              case self::QUEUE_DONE:
                  return 'done';
              case self::QUEUE_WAITING:
                  return 'waiting';
              case self::QUEUE_WORKING:
                  return 'working';
              default:
                  return 'unknown';
          }
      }
code_tokens: public function getQueuedStateText ( ) { switch ( ( int ) $ this -> getAttribute ( 'queue_state' ) ) { case self :: QUEUE_NA : return '' ; case self :: QUEUE_DONE : return 'done' ; case self :: QUEUE_WAITING : return 'waiting' ; case self :: QUEUE_WORKING : return 'working' ; default : return 'unknown' ; } }
docstring: Get queue state text.
  
  @return string
docstring_tokens: Get queue state text .