Celini Links
From MirrorMed
Celini has a very simple way of creating a link inside a template that intellegently accesses portions of the Controller structure that Celini provides.
To create a celini link the call is
Cellini::link($action, $controller, $pagetype, $default_arg, $manager_arg, $base_path);
- $action is essentially what function you want to be called on a controller.
- $controller is which controller you want, defaults to self
- $pagetype is the pagetype you want
- $default_arg is the default arguements
- $manager_arg is manager arguments
- $base_path is the path to put at the front of the link.
Normally you just want to target an action on a controller, which allows you to bounce around MirrorMed with simple URLS. For instance to edit the patient record...
Cellini::link('edit','Patient');

