Blame view

src/vendor/1.2.5/Phalcon/Forms/Manager.php 944 Bytes
1ea3b987   Administrator   maby first commit
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
  <?php 
  
  namespace Phalcon\Forms {
  
  	/**
  	 * Phalcon\Forms\Manager
  	 *
  	 * Manages forms within the application. Allowing the developer to access them from
  	 * any part of the application
  	 */
  	
  	class Manager {
  
  		protected $_forms;
  
  		/**
  		 * Creates a form registering it in the forms manager
  		 *
  		 * @param string $name
  		 * @param object $entity
  		 * @return \Phalcon\Forms\Form
  		 */
  		public function create($name=null, $entity=null){ }
  
  
  		/**
  		 * Returns a form by its name
  		 *
  		 * @param string $name
  		 * @return \Phalcon\Forms\Form
  		 */
  		public function get($name){ }
  
  
  		/**
  		 * Checks if a form is registered in the forms manager
  		 *
  		 * @param string $name
  		 * @return boolean
  		 */
  		public function has($name){ }
  
  
  		/**
  		 * Registers a form in the Forms Manager
  		 *
  		 * @param string $name
  		 * @param \Phalcon\Forms\Form $form
  		 * @return \Phalcon\Forms\Form
  		 */
  		public function set($name, $form){ }
  
  	}
  }