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