macro::StackList Namespace Reference

Classes

class  Node

Functions

def execute
def getvalue
def pageListWithContext
def sortResults
def topoSort
def visit

Variables

list Dependencies = ["pages"]

Function Documentation

def macro::StackList::execute (   macro,
  needle 
)

Definition at line 156 of file StackList.py.

def macro::StackList::getvalue (   self  ) 
Return output in div with CSS class 

Definition at line 87 of file StackList.py.

def macro::StackList::pageListWithContext (   self,
  macro,
  request,
  formatter,
  info = 1,
  context = 180,
  maxlines = 1,
  paging = True,
  hitsFrom = 0,
  hitsInfo = 0 
)
Format a list of found pages with context

The default parameter values will create Google-like search
results, as this is the most known search interface. Good
interface is familiar interface, so unless we have much better
solution (we don't), being like Google is the way.

@param request: current request
@param formatter: formatter to use
@param info: show match info near the page link
@param context: how many characters to show around each match.
@param maxlines: how many contexts lines to show.
@param paging: toggle paging
@param hitsFrom: current position in the hits
@param hitsInfo: toggle hits info line
@rtype: unicode
@return formatted page list with context

Definition at line 40 of file StackList.py.

def macro::StackList::sortResults (   display_results  ) 

Definition at line 144 of file StackList.py.

def macro::StackList::topoSort (   dependencies  ) 

Definition at line 107 of file StackList.py.

def macro::StackList::visit (   dependencies,
  terminals,
  dependency,
  list,
  dead 
)

Definition at line 129 of file StackList.py.


Variable Documentation

Definition at line 36 of file StackList.py.

 All Classes Namespaces Files Functions Variables


roswiki
Author(s): Kenneth Conley
autogenerated on Fri Jan 11 11:46:29 2013