Added the zend framework 2 library, the path is specified in line no.26 in zend_modul...
[openemr.git] / interface / modules / zend_modules / library / Zend / Db / Sql / ExpressionInterface.php
blob2777ba3bf5daa8a2e44e079f382105f9e6bab811
1 <?php
2 /**
3 * Zend Framework (http://framework.zend.com/)
5 * @link http://github.com/zendframework/zf2 for the canonical source repository
6 * @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com)
7 * @license http://framework.zend.com/license/new-bsd New BSD License
8 */
10 namespace Zend\Db\Sql;
12 interface ExpressionInterface
14 const TYPE_IDENTIFIER = 'identifier';
15 const TYPE_VALUE = 'value';
16 const TYPE_LITERAL = 'literal';
18 /**
19 * @deprecated This will go away in 2.1
21 const TYPE_SELECT = 'select';
23 /**
24 * @abstract
26 * @return array of array|string should return an array in the format:
28 * array (
29 * // a sprintf formatted string
30 * string $specification,
32 * // the values for the above sprintf formatted string
33 * array $values,
35 * // an array of equal length of the $values array, with either TYPE_IDENTIFIER or TYPE_VALUE for each value
36 * array $types,
37 * )
40 public function getExpressionData();