Location: PHPKode > scripts > FormBuilder > formbuilder-51140/Class Reference/FormBuilder/PasswordField.html
<html>
<head>
<title>Docs For Class PasswordField</title>
<link rel="stylesheet" type="text/css" href="../media/style.css">
</head>
<body>

<table border="0" cellspacing="0" cellpadding="0" height="48" width="100%">
  <tr>
    <td class="header_top">FormBuilder</td>
  </tr>
  <tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt=""  /></td></tr>
  <tr>
    <td class="header_menu">
  		  [ <a href="../classtrees_FormBuilder.html" class="menu">class tree: FormBuilder</a> ]
		  [ <a href="../elementindex_FormBuilder.html" class="menu">index: FormBuilder</a> ]
		  [ <a href="../elementindex.html" class="menu">all elements</a> ]
    </td>
  </tr>
  <tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt=""  /></td></tr>
</table>

<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="200" class="menu">
      <b>Packages:</b><br />
              <a href="../li_FormBuilder.html">FormBuilder</a><br />
            <br /><br />
                        <b>Files:</b><br />
      	  <div class="package">
			<a href="../FormBuilder/_FormBuilder_php.html">		FormBuilder.php
		</a><br>
	  </div><br />
      
            <b>Classes:</b><br />
        <div class="package">
		    		<a href="../FormBuilder/CheckBoxField.html">CheckBoxField</a><br />
	    		<a href="../FormBuilder/DateField.html">DateField</a><br />
	    		<a href="../FormBuilder/DateTimeField.html">DateTimeField</a><br />
	    		<a href="../FormBuilder/EmailField.html">EmailField</a><br />
	    		<a href="../FormBuilder/FormBuilder.html">FormBuilder</a><br />
	    		<a href="../FormBuilder/FormField.html">FormField</a><br />
	    		<a href="../FormBuilder/HiddenField.html">HiddenField</a><br />
	    		<a href="../FormBuilder/LabelField.html">LabelField</a><br />
	    		<a href="../FormBuilder/PasswordField.html">PasswordField</a><br />
	    		<a href="../FormBuilder/PopupField.html">PopupField</a><br />
	    		<a href="../FormBuilder/RadioButtonField.html">RadioButtonField</a><br />
	    		<a href="../FormBuilder/SubmitField.html">SubmitField</a><br />
	    		<a href="../FormBuilder/SubmitFieldGroup.html">SubmitFieldGroup</a><br />
	    		<a href="../FormBuilder/TextAreaField.html">TextAreaField</a><br />
	    		<a href="../FormBuilder/TextField.html">TextField</a><br />
	    		<a href="../FormBuilder/TimeField.html">TimeField</a><br />
	    		<a href="../FormBuilder/UploadField.html">UploadField</a><br />
	  </div>
                </td>
    <td>
      <table cellpadding="10" cellspacing="0" width="100%" border="0"><tr><td valign="top">

<h1>Class: PasswordField</h1>
Source Location: /FormBuilder.php<br /><br />


<table width="100%" border="0">
<tr><td valign="top">

<h3><a href="#class_details">Class Overview</a></h3>
<pre><a href="../FormBuilder/FormField.html">FormField</a>
   |
   --<a href="../FormBuilder/TextField.html">TextField</a>
      |
      --PasswordField</pre><br />
<div class="description">Class to generate and validate an HTML &lt;input type=&quot;password&quot; ..&gt;</div><br /><br />
<h4>Author(s):</h4>
<ul>
        </ul>




    


</td>



<td valign="top">
<h3><a href="#class_methods">Methods</a></h3>
<ul>
    <li><a href="../FormBuilder/PasswordField.html#methodPasswordField">PasswordField</a></li>
    <li><a href="../FormBuilder/PasswordField.html#methodgenerate">generate</a></li>
  </ul>
</td>

</tr></table>
<hr />

<table width="100%" border="0"><tr>





<td valign="top">
<h3>Inherited Methods</h3>
<div class="tags">
<h4>Class: <a href="../FormBuilder/TextField.html">TextField</a></h4>
<dl>
    <dt>
    <a href="../FormBuilder/TextField.html#methodTextField">TextField::TextField()</a>
  </dt>
  <dd>
    TextField Constructor
  </dd>
    <dt>
    <a href="../FormBuilder/TextField.html#methodgenerate">TextField::generate()</a>
  </dt>
  <dd>
    
  </dd>
    <dt>
    <a href="../FormBuilder/TextField.html#methodvalidate">TextField::validate()</a>
  </dt>
  <dd>
    
  </dd>
  </dl>
<h4>Class: <a href="../FormBuilder/FormField.html">FormField</a></h4>
<dl>
    <dt>
    <a href="../FormBuilder/FormField.html#methoddump">FormField::dump()</a>
  </dt>
  <dd>
    
  </dd>
    <dt>
    <a href="../FormBuilder/FormField.html#methodgenerate">FormField::generate()</a>
  </dt>
  <dd>
    
  </dd>
    <dt>
    <a href="../FormBuilder/FormField.html#methodgenerateText">FormField::generateText()</a>
  </dt>
  <dd>
    
  </dd>
    <dt>
    <a href="../FormBuilder/FormField.html#methodgetDBValue">FormField::getDBValue()</a>
  </dt>
  <dd>
    
  </dd>
    <dt>
    <a href="../FormBuilder/FormField.html#methodgetName">FormField::getName()</a>
  </dt>
  <dd>
    
  </dd>
    <dt>
    <a href="../FormBuilder/FormField.html#methodgetType">FormField::getType()</a>
  </dt>
  <dd>
    
  </dd>
    <dt>
    <a href="../FormBuilder/FormField.html#methodgetValue">FormField::getValue()</a>
  </dt>
  <dd>
    
  </dd>
    <dt>
    <a href="../FormBuilder/FormField.html#methodisValid">FormField::isValid()</a>
  </dt>
  <dd>
    
  </dd>
    <dt>
    <a href="../FormBuilder/FormField.html#methodsetInvalid">FormField::setInvalid()</a>
  </dt>
  <dd>
    
  </dd>
    <dt>
    <a href="../FormBuilder/FormField.html#methodsetValue">FormField::setValue()</a>
  </dt>
  <dd>
    
  </dd>
    <dt>
    <a href="../FormBuilder/FormField.html#methodvalidate">FormField::validate()</a>
  </dt>
  <dd>
    
  </dd>
  </dl>
</div>
</td>

</tr></table>
<hr />

<a name="class_details"></a>
<h3>Class Details</h3>
<div class="tags">
[line 250]<br />
Class to generate and validate an HTML &lt;input type=&quot;password&quot; ..&gt;<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>
</div><br /><br />
<div class="top">[ <a href="#top">Top</a> ]</div><br />


<hr />
<a name="class_methods"></a>
<h3>Class Methods</h3>
<div class="tags">
  <hr />
	<a name="methodPasswordField"></a>
	<h3>constructor PasswordField <span class="smalllinenumber">[line 264]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>PasswordField PasswordField(
string
$label, string
$name, [int
$size = 25], [int
$minLength = 5], [int
$maxLength = 35])</code>
    </td></tr></table>
    </td></tr></table><br />
	
		PasswordField Constructor<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>
<br /><br />


        <h4>Parameters:</h4>
    <div class="tags">
    <table border="0" cellspacing="0" cellpadding="0">
          <tr>
        <td class="type">string&nbsp;&nbsp;</td>
        <td><b>$label</b>&nbsp;&nbsp;</td>
        <td>A text description of the item</td>
      </tr>
          <tr>
        <td class="type">string&nbsp;&nbsp;</td>
        <td><b>$name</b>&nbsp;&nbsp;</td>
        <td>The name to identify this PasswordField</td>
      </tr>
          <tr>
        <td class="type">int&nbsp;&nbsp;</td>
        <td><b>$size</b>&nbsp;&nbsp;</td>
        <td>The visible size of the text field.</td>
      </tr>
          <tr>
        <td class="type">int&nbsp;&nbsp;</td>
        <td><b>$minLength</b>&nbsp;&nbsp;</td>
        <td>The minimum allowed length of the input text,  if the minLength is &gt; 0, the required status is set to true.</td>
      </tr>
          <tr>
        <td class="type">int&nbsp;&nbsp;</td>
        <td><b>$maxLength</b>&nbsp;&nbsp;</td>
        <td>The maximum allowed length of the input text</td>
      </tr>
        </table>
    </div><br />
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodgenerate"></a>
	<h3>method generate <span class="smalllinenumber">[line 271]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>void generate(
)</code>
    </td></tr></table>
    </td></tr></table><br />
	
		<br /><br />

Overrides <a href="../FormBuilder/TextField.html#methodgenerate">TextField::generate()</a> (parent method not documented)<br /><br />
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
</div><br />


        <div class="credit">
		    <hr />
		    Documentation generated on Tue, 16 Aug 2005 19:19:09 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.3.0RC3</a>
	      </div>
      </td></tr></table>
    </td>
  </tr>
</table>

</body>
</html>
Return current item: FormBuilder