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

Class: HTML_QuickForm2_InvalidArgumentException

Source Location: /HTML_QuickForm2-2.0.0/HTML/QuickForm2/Exception.php

Class Overview

PEAR_Exception
   |
   --HTML_QuickForm2_Exception
      |
      --HTML_QuickForm2_InvalidArgumentException

Exception that denotes invalid arguments were passed


Author(s):

Version:

  • Release: 2.0.0

Inherited Variables

Inherited Methods


Class Details

[line 118]
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 Tue, 26 Jun 2012 15:30:16 +0000 by phpDocumentor 1.4.3. PEAR Logo Copyright © PHP Group 2004.