Blame view

src/vendor/1.2.5/Phalcon/Db/IndexInterface.php 673 Bytes
ef60cd4d   Administrator   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
  <?php 
  
  namespace Phalcon\Db {
  
  	/**
  	 * Phalcon\Db\IndexInterface initializer
  	 */
  	
  	interface IndexInterface {
  
  		/**
  		 * \Phalcon\Db\Index constructor
  		 *
  		 * @param string $indexName
  		 * @param array $columns
  		 */
  		public function __construct($indexName, $columns);
  
  
  		/**
  		 * Gets the index name
  		 *
  		 * @return string
  		 */
  		public function getName();
  
  
  		/**
  		 * Gets the columns that comprends the index
  		 *
  		 * @return array
  		 */
  		public function getColumns();
  
  
  		/**
  		 * Restore a \Phalcon\Db\Index object from export
  		 *
  		 * @param array $data
  		 * @return \Phalcon\Db\IndexInterface
  		 */
  		public static function __set_state($data);
  
  	}
  }