|
|
WakpkgClass
wakPkg class reference
Description
This is the class for Packages instances. It gives access to package Resources such as Services and Libraries.
Public Static Methods
- wakPkg &getSingleton(string $path): return singleton instance for path.
Public Instance Methods
global
- string getPath(): returns package's absolute path.
- bool isRequestHandler(): tells wether package is able to handle requests. See RequestHandler.
- bool serveRequest(): handles client http request if able to.
resources
See Resources, Libraries, Services.
- wakResource & getResourceInstance(string $id): return resource instance if available
- mixed & getResource(string $id): get resource instance if available, and then call back its getForUse() method.
Sign in to add a comment
