/**
  * Load an array of WpComments objects,
  * by UserId Index(es)
  * @param integer $intUserId
  * @param QQClause[] $objOptionalClauses additional optional QQClause objects for this query
  * @return WpComments[]
  */
 public static function LoadArrayByUserId($intUserId, $objOptionalClauses = null)
 {
     // Call WpComments::QueryArray to perform the LoadArrayByUserId query
     try {
         return WpComments::QueryArray(QQ::Equal(QQN::WpComments()->UserId, $intUserId), $objOptionalClauses);
     } catch (QCallerException $objExc) {
         $objExc->IncrementOffset();
         throw $objExc;
     }
 }