PHP Class DrugSetAdminController

(C) Moorfields Eye Hospital NHS Foundation Trust, 2008-2011 (C) OpenEyes Foundation, 2011-2015 This file is part of OpenEyes. OpenEyes is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. OpenEyes is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenEyes in a file titled COPYING. If not, see .
Author: OpenEyes ([email protected])
Inheritance: extends BaseAdminController
Afficher le fichier Open project: openeyes/openeyes

Méthodes publiques

Свойство Type Description
$itemsPerPage integer

Méthodes publiques

Méthode Description
actionDelete ( ) Deletes rows for the model.
actionDrugSets ( ) Render the basic drug set admin page.
actionEdit ( boolean | integer $id = false ) Edits or adds drug sets.
actionSaveDrugSet ( ) Save drug set data from the admin interface.

Méthodes protégées

Méthode Description
initAdmin ( boolean $id = false ) : Admin Init the edit admin page, because we have a custom save URL, so we need to use Admin in more then 1 function.

Method Details

actionDelete() public méthode

Deletes rows for the model.
public actionDelete ( )

actionDrugSets() public méthode

Render the basic drug set admin page.
public actionDrugSets ( )

actionEdit() public méthode

Edits or adds drug sets.
public actionEdit ( boolean | integer $id = false )
$id boolean | integer

actionSaveDrugSet() public méthode

Save drug set data from the admin interface.
public actionSaveDrugSet ( )

initAdmin() protected méthode

Init the edit admin page, because we have a custom save URL, so we need to use Admin in more then 1 function.
protected initAdmin ( boolean $id = false ) : Admin
$id boolean
Résultat Admin

Property Details

$itemsPerPage public_oe property

public int $itemsPerPage
Résultat integer