load() load(string $componentName) Load the class of a Component. Parameters string $componentName Name of the Component to load Throws \nre\exceptions\ComponentNotFoundException \nre\exceptions\ComponentNotValidException
factory() factory(string $componentName) Instantiate a Component (Factory Pattern). Parameters string $componentName Name of the Component to instantiate
addNotification() addNotification(string $type, string $message, string $link = null, string $image = null) Add a notification. Parameters string $type Type of notification string $message Message to display string $link Optional URL to link to string $image Optional URL of image to display
getNotifications() getNotifications() : array Get all registered notifiactions and clear them. Returns array — List of existing notifications
getClassName() getClassName(string $componentName) : string Determine the classname for the given Component name. Parameters string $componentName Component name to get classname of Returns string — Classname for the Component name