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
setUserId() setUserId(integer $userId) Set the ID of the user that is currently logged in. Parameters integer $userId ID of the currently logged in user
getUserId() getUserId() : integer Get the ID of the user that is currently logged in. Returns integer — ID of the currently logged in user
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