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
10 namespace Zend\Db\Sql
;
12 interface ExpressionInterface
14 const TYPE_IDENTIFIER
= 'identifier';
15 const TYPE_VALUE
= 'value';
16 const TYPE_LITERAL
= 'literal';
19 * @deprecated This will go away in 2.1
21 const TYPE_SELECT
= 'select';
26 * @return array of array|string should return an array in the format:
29 * // a sprintf formatted string
30 * string $specification,
32 * // the values for the above sprintf formatted string
35 * // an array of equal length of the $values array, with either TYPE_IDENTIFIER or TYPE_VALUE for each value
40 public function getExpressionData();