Advertisement
lignite0

class Query

Aug 28th, 2015
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 2.25 KB | None | 0 0
  1. <?php
  2. namespace Lignite0\ORM;
  3.  
  4. class Query
  5. {
  6.     public function __construct()
  7.     {
  8.  
  9.     }
  10.  
  11.     public static function create()
  12.     {
  13.         return (new \ReflectionClass(__CLASS__))->newInstanceArgs(func_get_args());
  14.     }
  15.  
  16.     public function fromTable($tableName, $alias = '')
  17.     {
  18.  
  19.     }
  20.  
  21.     public function fromRaw($rawSegmentString)
  22.     {
  23.  
  24.     }
  25.  
  26.     public function fromSubquery(self $subquery, $alias)
  27.     {
  28.  
  29.     }
  30.  
  31.     public function getBinds()
  32.     {
  33.  
  34.     }
  35.  
  36.     public function joinRaw($rawSegmentString)
  37.     {
  38.  
  39.     }
  40.  
  41.     public function joinTable($tableName, $alias = '')
  42.     {
  43.  
  44.     }
  45.  
  46.     public function joinTableOn($tableName, $alias, $condition)
  47.     {
  48.  
  49.     }
  50.  
  51.     public function joinTableUsing($tableName, $alias, $using)
  52.     {
  53.  
  54.     }
  55.  
  56.     public function joinSubquery(self $subquery, $alias)
  57.     {
  58.  
  59.     }
  60.  
  61.     public function joinSubqueryOn(self $subquery, $alias, $condition)
  62.     {
  63.  
  64.     }
  65.  
  66.     public function joinSubqueryUsing(self $subquery, $alias, $using)
  67.     {
  68.  
  69.     }
  70.  
  71.     public function limit($number)
  72.     {
  73.  
  74.     }
  75.  
  76.     public function offset($integer)
  77.     {
  78.  
  79.     }
  80.  
  81.     public function order($field, $sortMethod)
  82.     {
  83.  
  84.     }
  85.  
  86.     public function pagination($pageNumber, $elementsPerPage)
  87.     {
  88.  
  89.     }
  90.  
  91.     public function selectAll()
  92.     {
  93.  
  94.     }
  95.  
  96.     public function selectRaw($rawSegmentString)
  97.     {
  98.  
  99.     }
  100.  
  101.     public function selectFields(array $listOfFields)
  102.     {
  103.  
  104.     }
  105.  
  106.     public function whereIn($field, array $binds)
  107.     {
  108.  
  109.     }
  110.  
  111.     public function whereInSubquary(self $subquery, $alias)
  112.     {
  113.  
  114.     }
  115.  
  116.     public function whereIsNull($field)
  117.     {
  118.  
  119.     }
  120.  
  121.     public function whereIsNotNull($field)
  122.     {
  123.  
  124.     }
  125.  
  126.     public function whereLike($field, $bind)
  127.     {
  128.  
  129.     }
  130.  
  131.     public function whereLikeMany($field, array $binds)
  132.     {
  133.  
  134.     }
  135.  
  136.     public function whereNotIn($field, array $binds)
  137.     {
  138.  
  139.     }
  140.  
  141.     public function whereNotInSubquary(self $subquery, $alias)
  142.     {
  143.  
  144.     }
  145.  
  146.     public function whereNotLike($field, $bind)
  147.     {
  148.  
  149.     }
  150.  
  151.     public function whereNotLikeMany($field, array $binds)
  152.     {
  153.  
  154.     }
  155.  
  156.     public function whereRaw($condition, array $binds = array())
  157.     {
  158.  
  159.     }
  160. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement