| 1 | <?php |
||
| 15 | abstract class Entities extends Variable { |
||
| 16 | 91 | public function __construct($name= null) { |
|
| 22 | |||
| 23 | /** |
||
| 24 | * Get an id for the type of entity. |
||
| 25 | * |
||
| 26 | * This must return a string without whitespaces. |
||
| 27 | * |
||
| 28 | * @return string |
||
| 29 | */ |
||
| 30 | abstract public function id(); |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @inheritdocs |
||
| 34 | */ |
||
| 35 | 124 | public function meaning() { |
|
| 38 | |||
| 39 | /** |
||
| 40 | * @inheritdocs |
||
| 41 | */ |
||
| 42 | 44 | public function compile(ExpressionBuilder $builder, $table_name, $negate = false) { |
|
| 49 | |||
| 50 | 49 | protected function eq_op(ExpressionBuilder $builder, $l, $r, $negate) { |
|
| 58 | } |
||
| 59 | |||
| 60 |