pike.git / lib / modules / Calendar.pmod / Event.pmod

version» Context lines:

pike.git/lib/modules/Calendar.pmod/Event.pmod:1230:    return (t!='O')?0:    (sizeof(events)>5    ? sprintf("SuperEvent(%s:%O,%O..%O [%d])",    id,events[0],events[1],events[-1],    sizeof(events))    : sprintf("SuperEvent(%s:%s)",    id,map(events,lambda(Event e) { return sprintf("%O",e); })*    ","));    }    -  function(string:Event) `-> = `[]; +  Event `-> (string s) {return `[] (s);}    Event `[](string s)    {    if (!id2event) id2event=mkmapping(events->id,events);    return    ::`[](s) ||    id2event[id+"/"+s] || id2event[s] ||    master()->resolv("Calendar")["Events"][id+"/"+s];    }       array(string) _indices()