'package'); /** * * Initialize new object. * * @return void */ public function __construct() { // Initialize parent! parent::__construct(); // Add actions. $this->registryAction('getReadmeFile'); $this->registryAction('getLicenseFile'); } /** * put your comment there... * */ protected function getReadmeFileAction() { // Get package model. $model =& $this->model; // Set action parameter. $model->setParam('file', 'readme'); // Load view. parent::displayAction(); } /** * put your comment there... * */ protected function getLicenseFileAction() { // Get package model. $model =& $this->model; // Set action parameter. $model->setParam('file', 'license'); // Load view. parent::displayAction(); } } // End class.