Displays a form for editing Service bodies. Only Server Admins can create and delete bodies, but Service Body Admins that are the principal user or an editor of a Service Body in a higher level of the hierarchy can edit the data in a Service Body. More...
Functions | |
| DisplayServiceBodyEditor ($in_http_vars) | |
| This returns a form, used to edit all the Service Bodies. | |
| DisplayOneServiceBodyEditor (&$in_servicebody_obj, $in_http_vars, $in_children) | |
| Returns the HTML for one Service Body. | |
| IsSBRecursive ($in_sb_id, $in_hierarchy_id) | |
| Check to see if a Service Body might loop, if introduced to a given hierarchy. | |
Displays a form for editing Service bodies. Only Server Admins can create and delete bodies, but Service Body Admins that are the principal user or an editor of a Service Body in a higher level of the hierarchy can edit the data in a Service Body.
This file is part of the Basic Meeting List Toolbox (BMLT).
Find out more at: http://magshare.org/bmlt
BMLT 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.
BMLT 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 this code. If not, see <http://www.gnu.org/licenses/>.
| DisplayOneServiceBodyEditor | ( | &$ | in_servicebody_obj, |
| $ | in_http_vars, | ||
| $ | in_children | ||
| ) |
Returns the HTML for one Service Body.
| in_servicebody_obj | A reference to a c_comdef_service_body instance. If the instance is null, it will create a new Service Body fieldset. |
| in_http_vars | The current HTTP variables. |
| in_children | An associative nested array of references to "child" Service Bodies. |
Referenced by DisplayServiceBodyEditor().
| DisplayServiceBodyEditor | ( | $ | in_http_vars | ) |
This returns a form, used to edit all the Service Bodies.
| in_http_vars | An associative array, containing the combined $_GET and $_POST parameters. |
Referenced by GetControlPanelHTML().
| IsSBRecursive | ( | $ | in_sb_id, |
| $ | in_hierarchy_id | ||
| ) |
Check to see if a Service Body might loop, if introduced to a given hierarchy.
| in_sb_id | The ID of the Service Body to check. |
| in_hierarchy_id | An ID for the Service Body Hierarchy to Check. |
Referenced by DisplayOneServiceBodyEditor(), and c_comdef_service_body::IsOwnedBy().
1.7.4