Packageindex Classtrees Modulegroups Elementlist Report XML Files

File: /sitemap/include/admin_radio.inc.php
sitemap - Richy's Site Map

Includes::admin_radio

"admin_radio" module.

 

public module admin_radio

"admin_radio" module.
Module for the radio buttons of the auth field in the mutate section on the_admin page.

Version$Revision: 1.1.1.1 $
Copyright(c)2002 R.J. Vrijhof

This program 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 2 of the License, or (at your option) any later version.

This program 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 program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

Magic$Id: admin_radio.inc.php,v 1.1.1.1 2002/01/19 16:46:58 richy Exp $

 

Public Method Summary

string

auth_radio(boolean $val, string $auth)

The main function of module "admin_radio".

Public Method Details

auth_radio

public string auth_radio( boolean $val, string $auth )

  The main function of module "admin_radio".
Funnily it is called "auth_radio" instead of "admin_radio", but that is to_reflect that "admin_radio" has "admin_" in front of the name, because it is_included by ../admin.php. "auth_radio" has "auth_" in front of the name,_because it produces the right radio button for the auth field.

Parameter
boolean $val
true if this function is called for the "true"
radio button, otherwise false
string $auth
"true" if current item has auth field "true",
otherwise "false", BTW: no other values!
Returns string

HTML code for one of the auth radio buttons

Author(s) Richard Vrijhof <R.J.Vrijhof@bigfoot.com>


Packageindex Classtrees Modulegroups Elementlist Report XML Files
PHPDoc 1.0beta