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

Class: HTML_QuickForm2_InvalidArgumentException

Source Location: /HTML_QuickForm2-0.1.0/QuickForm2/Exception.php

Class Overview

PEAR_Exception
   |
   --HTML_QuickForm2_Exception
      |
      --HTML_QuickForm2_InvalidArgumentException

Exception that denotes invalid arguments were passed


Author(s):

Version:

  • Release: 0.1.0

Inherited Variables

Inherited Methods


Class Details

[line 106]
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"

  • Version: Release: 0.1.0


[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:00:13 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.