public byte[] Get_by(int ns_id, byte[] ttl) {
   Xowd_page_itm rv = (Xowd_page_itm) pages.Get_by(Make_key(ns_id, ttl));
   return rv == null ? null : rv.Text();
 }
Exemple #2
0
 public void Test_load_page(int ns_id, int page_id, String expd) {
   Xowe_wiki wiki = bldr_fxt.Wiki();
   Xow_ns ns = wiki.Ns_mgr().Ids_get_or_null(ns_id);
   wiki.Db_mgr_as_sql().Load_mgr().Load_page(actl.Id_(page_id), ns, false);
   Tfds.Eq(expd, String_.new_a7(actl.Text()));
 }