[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/user/profile/field/checkbox/ -> field.class.php (summary)

Strings for component 'profilefield_checkbox', language 'en', branch 'MOODLE_20_STABLE'

Copyright: 2008 onwards Shane Elliot {@link http://pukunui.com}
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 96 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

profile_field_checkbox:: (4 methods):
  __construct()
  profile_field_checkbox()
  edit_field_add()
  display_data()


Class: profile_field_checkbox  - X-Ref

Class profile_field_checkbox

__construct($fieldid=0, $userid=0)   X-Ref
Constructor method.
Pulls out the options for the checkbox from the database and sets the
the corresponding key for the data if it exists

param: int $fieldid
param: int $userid

profile_field_checkbox($fieldid=0, $userid=0)   X-Ref
Old syntax of class constructor. Deprecated in PHP7.


edit_field_add($mform)   X-Ref
Add elements for editing the profile field value.

param: moodleform $mform

display_data()   X-Ref
Display the data for this field

return: string HTML.



Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1