-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFormInterface.php
More file actions
39 lines (36 loc) · 1.18 KB
/
FormInterface.php
File metadata and controls
39 lines (36 loc) · 1.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?php
namespace Cygnite\FormBuilder;
if (!defined('CF_SYSTEM')) {
exit('No External script access allowed');
}
/**
* Cygnite Framework
*
* An open source application development framework for PHP 5.3x or newer
*
* License
*
* This source file is subject to the MIT license that is bundled
* with this package in the file LICENSE.txt.
* http://www.cygniteframework.com/license.txt
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to sanjoy@hotmail.com so I can send you a copy immediately.
*
* @package : Packages
* @subpackages : Common
* @filename : FormInterface
* @description : Form Interface to declare form methods
* @author : Cygnite Dev Team
* @copyright : Copyright (c) 2013 - 2014,
* @link : http://www.cygniteframework.com
* @since : Version 1.0
* @FileSource
*
*/
interface FormInterface
{
public function addElement($type, $key, $values = array());
public function addElements($elements = array());
public function getForm();
}