Example #1
0
 /**
  * Load all Users
  * @param QQClause[] $objOptionalClauses additional optional QQClause objects for this query
  * @return User[]
  */
 public static function LoadAll($objOptionalClauses = null)
 {
     if (func_num_args() > 1) {
         throw new QCallerException("LoadAll must be called with an array of optional clauses as a single argument");
     }
     // Call User::QueryArray to perform the LoadAll query
     try {
         return User::QueryArray(QQ::All(), $objOptionalClauses);
     } catch (QCallerException $objExc) {
         $objExc->IncrementOffset();
         throw $objExc;
     }
 }