diff --git a/docs/03.reference/01.functions/getpagecontext/_examples.md b/docs/03.reference/01.functions/getpagecontext/_examples.md index 48e11d8d1..84d4e1f99 100644 --- a/docs/03.reference/01.functions/getpagecontext/_examples.md +++ b/docs/03.reference/01.functions/getpagecontext/_examples.md @@ -1,3 +1,12 @@ ```luceescript+trycf -writeDump(getPageContext()); +echo("Click to expand"); + pc = getPageContext(); + dump(var=pc, label="PageContext", expand=false); + dump(var=pc.getCFMLFactory(), label="CFMLFactory", expand=false); + dump(var=pc.getCFMLFactory().getEngine(), label="Engine",expand=false); + if( listFirst(server.lucee.version,".") lte 5) + dump(var=pc.getCFMLFactory().getConfig(), label="Config",expand=false); + else + dump(var=pc.getCFMLFactory().getConfigServer(), label="ConfigServer",expand=false); + dump(var=pc.getCFMLFactory().getScopeContext(), label="ScopeContext",expand=false); ``` \ No newline at end of file diff --git a/docs/03.reference/01.functions/valueref/function.md b/docs/03.reference/01.functions/valueref/function.md index 1de4398dd..93f94477d 100644 --- a/docs/03.reference/01.functions/valueref/function.md +++ b/docs/03.reference/01.functions/valueref/function.md @@ -1,6 +1,8 @@ --- title: ValueRef id: function-valueref +related: +- tag-function --- creates a reference to a UDF that acts like a simple value.