Skip to content

Instantly share code, notes, and snippets.

@beberlei
Created August 2, 2009 15:36
Show Gist options
  • Save beberlei/160111 to your computer and use it in GitHub Desktop.
Save beberlei/160111 to your computer and use it in GitHub Desktop.
<?php
class Zend_Entity_Query extends Zend_Entity_Query_Abstract
{
public function where($property, $operatorOrValue, $valueOrConditionName = null, $conditionName = null)
{
return $this;
}
public function combine(array $conditionNames, $operation, $combinedConditionName = null)
{
return $this;
}
public function with($entityName)
{
return $this;
}
public function join($entityName)
{
return $this;
}
public function joinInner($entityName)
{
return $this;
}
public function joinLeft($entityName)
{
return $this;
}
public function joinRight($entityName)
{
return $this;
}
public function order($property, $sortBy="ASC")
{
return $this;
}
public function distinct()
{
return $this;
}
public function group($spec)
{
return $this;
}
public function having($condition, $operatorOrValue, $valueOrConditionName=null, $conditionName=null)
{
return $this;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment