/**
* Validate that this argument works. By default, all arguments are valid.
*/
public function validateArgument($arg) { // By using % in URLs, arguments could be validated twice; this eases
// that pain.
if (isset($this->argument_validated
)) { return $this->argument_validated;
} if ($this->
isException($arg)) { return $this->argument_validated = TRUE;
} $plugin =
$this->
getPlugin('argument_validator'
);
return $this->argument_validated =
$plugin->
validateArgument($arg);
} /**
* Called by the menu system to validate an argument.
*
* This checks to see if this is a 'soft fail', which means that if the
* argument fails to validate, but there is an action to take anyway,
* then validation cannot actually fail.
*/