Because of `DatabaseObject::getObjectID()`, you don't need to implement such a method when implementing `IRouteController`.
return $value;
}
- /**
- * @see wcf\system\request\IRouteController::getID()
- */
- public function getID() {
- return $this->categoryID;
- }
-
/**
* Returns the category object type of the category.
*
return 'user_table';
}
- /**
- * @see wcf\system\request\IRouteController::getID()
- */
- public function getID() {
- return $this->userID;
- }
-
/**
* @see wcf\system\request\IRouteController::getTitle()
*/
*/
interface IRouteController extends ITitledDatabaseObject {
/**
- * Returns the object id.
+ * Returns the id of the object.
*
* @return integer
*/
- public function getID();
+ public function getObjectID();
}
}
if ($parameters['object'] instanceof IRouteController) {
- $parameters['id'] = $parameters['object']->getID();
+ $parameters['id'] = $parameters['object']->getObjectID();
$parameters['title'] = $parameters['object']->getTitle();
}