HTML_QuickForm2
[ class tree: HTML_QuickForm2 ] [ index: HTML_QuickForm2 ] [ all elements ]

Class: HTML_QuickForm2_InvalidArgumentException

Source Location: /HTML_QuickForm2-2.1.0/HTML/QuickForm2/InvalidArgumentException.php

Class Overview

PEAR_Exception
   |
   --HTML_QuickForm2_Exception
      |
      --HTML_QuickForm2_InvalidArgumentException

Exception that denotes invalid arguments were passed


Author(s):

Version:

  • Release: 2.1.0

Inherited Variables

Inherited Methods


Class Details

[line 43]
Exception that denotes invalid arguments were passed

One example is trying to create an element of type which is unknown to Factory

  1.  try {
  2.      $el HTML_QuickForm2_Factory::createElement('unknown');
  3.      echo $e->getMessage();
  4.  }
This code will output "Element type 'unknown' is not known"



[ Top ]


Documentation generated on Wed, 10 Apr 2019 08:56:10 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.