Esempio n. 1
0
 /**
  * Load a single NarroContext object,
  * by TextId, ContextMd5, FileId, CommentMd5 Index(es)
  * @param integer $intTextId
  * @param string $strContextMd5
  * @param integer $intFileId
  * @param string $strCommentMd5
  * @param QQClause[] $objOptionalClauses additional optional QQClause objects for this query
  * @return NarroContext
  */
 public static function LoadByTextIdContextMd5FileIdCommentMd5($intTextId, $strContextMd5, $intFileId, $strCommentMd5, $objOptionalClauses = null)
 {
     return NarroContext::QuerySingle(QQ::AndCondition(QQ::Equal(QQN::NarroContext()->TextId, $intTextId), QQ::Equal(QQN::NarroContext()->ContextMd5, $strContextMd5), QQ::Equal(QQN::NarroContext()->FileId, $intFileId), QQ::Equal(QQN::NarroContext()->CommentMd5, $strCommentMd5)), $objOptionalClauses);
 }