You are here

class views_oai_pmh_error_exclusive_argument in Views OAI-PMH 7.3

Views OAI-PMH error exclusive argument.

Hierarchy

Expanded class hierarchy of views_oai_pmh_error_exclusive_argument

File

includes/error.inc, line 84
Base class for an OAI-PMH error.

View source
class views_oai_pmh_error_exclusive_argument extends views_oai_pmh_error {

  /**
   * Constructor.
   */
  public function __construct($argument) {
    parent::__construct('badArgument', $argument);
  }

  /**
   * Return the message.
   */
  public function get_message() {
    return t("The usage of '@arg' as an argument allows no other arguments.", array(
      '@arg' => $this->argument,
    ));
  }

}

Members