/**
* Custom validation.
*
- * @throws coding_exception
+ * @throws \coding_exception
* @return void
*/
protected function validate_data() {
if (!isset($this->relateduserid)) {
- throw new coding_exception('relateduserid is a mandatory property.');
+ throw new \coding_exception('relateduserid is a mandatory property.');
}
}
}
/**
* Custom validation.
*
- * @throws coding_exception
+ * @throws \coding_exception
* @return void
*/
protected function validate_data() {
if (!isset($this->other['markerid'])) {
- throw new coding_exception('markerid must be set in $other.');
+ throw new \coding_exception('markerid must be set in $other.');
} else if (!isset($this->relateduserid)) {
- throw new coding_exception('relateduserid must be set.');
+ throw new \coding_exception('relateduserid must be set.');
}
}
}
/**
* Custom validation.
*
- * @throws coding_exception
+ * @throws \coding_exception
* @return void
*/
protected function validate_data() {
if (!isset($this->relateduserid)) {
- throw new coding_exception('relateduserid is a mandatory property.');
+ throw new \coding_exception('relateduserid is a mandatory property.');
}
}
}
/**
* Custom validation.
*
- * @throws coding_exception
+ * @throws \coding_exception
* @return void
*/
protected function validate_data() {
if (!isset($this->relateduserid)) {
- throw new coding_exception('relateduserid is a mandatory property.');
+ throw new \coding_exception('relateduserid is a mandatory property.');
}
}
}
/**
* Custom validation.
*
- * @throws coding_exception
+ * @throws \coding_exception
* @return void
*/
protected function validate_data() {
if (!isset($this->other['newstatus'])) {
- throw new coding_exception('newstatus must be set in $other.');
+ throw new \coding_exception('newstatus must be set in $other.');
}
}
}
/**
* Custom validation.
*
- * @throws coding_exception
+ * @throws \coding_exception
* @return void
*/
protected function validate_data() {
if (!isset($this->relateduserid)) {
- throw new coding_exception('relateduserid is a mandatory property.');
+ throw new \coding_exception('relateduserid is a mandatory property.');
}
}
}
/**
* Custom validation.
*
- * @throws coding_exception
+ * @throws \coding_exception
* @return void
*/
protected function validate_data() {
if (!isset($this->other['newstate'])) {
- throw new coding_exception('newstate must be set in $other.');
+ throw new \coding_exception('newstate must be set in $other.');
} else if (!isset($this->relateduserid)) {
- throw new coding_exception('relateduserid must be set.');
+ throw new \coding_exception('relateduserid must be set.');
}
}
}