Roxen.git / server / base_server / module.pike

version» Context lines:

Roxen.git/server/base_server/module.pike:1: - /* $Id: module.pike,v 1.75 2000/02/06 11:48:54 nilsson Exp $ */ + /* $Id: module.pike,v 1.76 2000/02/08 00:37:46 mast Exp $ */   #include <module.h>   #include <request_trace.h>      mapping (string:mixed *) variables=([]);   RoxenModule this = this_object();   mapping(string:array(int)) error_log=([]);      constant is_module = 1;   constant module_type = MODULE_ZERO;   constant module_name = "Unnamed module";
Roxen.git/server/base_server/module.pike:630:    if(functionp( this_object()[q] ))    m[replace(q[10..], "_", "-")] = this_object()[q];    return m;   }      mapping query_simple_tag_callers()   {    mapping m = ([]);    foreach(glob("simpletag_*", indices(this_object())), string q)    if(functionp(this_object()[q])) -  m[replace(q[10..],"_","-")] = ({ 0, this_object()[q] }); +  m[replace(q[10..],"_","-")] = +  ({ intp (this_object()[q + "_flags"]) && this_object()[q + "_flags"], +  this_object()[q] });    return m;   }      private RXML.TagSet module_tag_set;      RXML.TagSet query_tag_set()   {    if (!module_tag_set) {    array(function|program|object) tags =    filter (rows (this_object(),