MCPcopy Create free account
hub / github.com/BZFlag-Dev/bzflag / NavLoop

Method NavLoop

plugins/webadmin/loops.cpp:335–344  ·  view source on GitHub ↗

------------------NavLoop

Source from the content-addressed store, hash-verified

333
334//------------------NavLoop
335NavLoop::NavLoop(Templateiser& ts) : LoopHandler() {
336 size = pages.size();
337
338 ts.addLoop("navigation", this);
339 ts.addKey("pagename", this);
340 ts.addKey("pagetitle", this);
341 ts.addKey("currentpage", this);
342 ts.addKey("currentpagetitle", this);
343 ts.addIF("iscurrentpage", this);
344}
345
346void NavLoop::computePageList(void) {
347 // scan the dirs for files with title

Callers

nothing calls this directly

Calls 4

addLoopMethod · 0.80
addKeyMethod · 0.80
addIFMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected