Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2014
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.42 KB | None | 0 0
  1. <?php
  2.  
  3. class GroupByCriterion
  4. {
  5.    
  6.     private $first;
  7.     private $second;
  8.  
  9.     private function __construct($first, $second)
  10.     {
  11.         $this->first = $first;
  12.         $this->second = $second;
  13.     }
  14.  
  15.     private static function sinit()
  16.     {
  17.         self::$COMPANY_ANSWERS = new GroupByCriterion('company_id', 'answer_id');
  18.     }
  19.  
  20.     public static $COMPANY_ANSWERS;
  21. }
  22.  
  23. GroupByCriterion::sinit();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement