dmBridge PHP API
DMFormField.php
00001 <?php
00002 #
00003 # dmBridge: a data access framework for CONTENTdm(R)
00004 #
00005 # Copyright © 2009, 2010, 2011 Board of Regents of the Nevada System of Higher
00006 # Education, on behalf of the University of Nevada, Las Vegas
00007 #
00008 
00013 interface DMFormField {
00014 
00018    function __construct($name);
00019 
00024    function addAttribute($k, $v);
00025 
00029    function getHTMLTag();
00030 
00034    function getLabel();
00035 
00039    function setLabel($str);
00040 
00044    function setMaxLength($int);
00045 
00049    function setMinLength($int);
00050 
00054    function getName();
00055 
00059    function setRequired($bool);
00060 
00064    function setType($type);
00065 
00070    function isValid();
00071 
00075    function getValue();
00076 
00080    function setValue($value);
00081 
00082 }
00083 
 All Data Structures Functions Variables