Fixes of previous commit...

This commit is contained in:
Marcin Kurczewski 2014-02-24 21:45:47 +01:00
parent cb489d1eca
commit c29a002c06
4 changed files with 9 additions and 4 deletions

View file

@ -1,5 +1,5 @@
<?php
class SqlLikeFunctor extends SqlBinaryFunctor
class SqlLikeFunctor extends SqlBinaryOperatorFunctor
{
protected function getOperator()
{

View file

@ -1,5 +1,5 @@
<?php
class SqlAbsFunctor extends SqlUnaryFunctor
class SqlAbsFunctor extends SqlFunctionFunctor
{
public function getFunctionName()
{

View file

@ -1,5 +1,5 @@
<?php
class SqlExistsFunctor extends SqlUnaryFunctor
class SqlExistsFunctor extends SqlFunctionFunctor
{
public function getFunctionName()
{
@ -10,4 +10,9 @@ class SqlExistsFunctor extends SqlUnaryFunctor
{
return 1;
}
public function getAsString()
{
return $this->getFunctionName() . ' (' . $this->subjects[0]->getAsString() . ')';
}
}

View file

@ -1,5 +1,5 @@
<?php
class SqlMaxFunctor extends SqlUnaryFunctor
class SqlMaxFunctor extends SqlFunctionFunctor
{
public function getFunctionName()
{