[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/lib/form/ -> warning.php (summary)

static warning element Contains class for static warning type element

Copyright: 2008 Jamie Pratt <me@jamiep.org>
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 102 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

MoodleQuickForm_warning:: (5 methods):
  __construct()
  MoodleQuickForm_warning()
  toHtml()
  getHelpButton()
  getElementTemplateType()


Class: MoodleQuickForm_warning  - X-Ref

static warning

overrides {@link HTML_QuickForm_static} to display staic warning.

__construct($elementName=null, $elementClass='notifyproblem', $text=null)   X-Ref
constructor

param: string $elementName (optional) name of the field
param: string $elementClass (optional) show as warning or notification => 'notifyproblem'
param: string $text (optional) Text to put in warning field

MoodleQuickForm_warning($elementName=null, $elementClass='notifyproblem', $text=null)   X-Ref
Old syntax of class constructor. Deprecated in PHP7.


toHtml()   X-Ref
Returns HTML for this form element.

return: string

getHelpButton()   X-Ref
get html for help button

return: string html for help button

getElementTemplateType()   X-Ref
Gets the type of form element

return: string



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