Ferreteria/v0.5/@cls/caPageContent: Difference between revisions

From Woozle Writes Code
< Ferreteria‎ | v0.5‎ | @cls
Jump to navigation Jump to search
(Created page with "{{fmt/title|class <code>ferret\{{l/ver/class|layout}}\caPageContent</code>}} {| style="border: solid 1px grey; background: #eef;" |- | {{l/ver/class|cElement}} →...")
 
mNo edit summary
 
(6 intermediate revisions by the same user not shown)
Line 4: Line 4:
| {{l/ver/class|cElement}} &rarr;
| {{l/ver/class|cElement}} &rarr;
| {{l/ver/class|caPageContent}}
| {{l/ver/class|caPageContent}}
| &rarr; {{l/ver/class||ferret}}\{{l/ver/class|layout}}\{{l/ver/class|layout/emerald|emerald}}\{{l/ver/class|ns=layout/emerald|cPageContent}}
|}
|}
* '''Source''': {{l/ferreteria/code|layout/page/content.php}}
* '''Source''': {{l/ferreteria/code|layout/page/content.php}}
==Methods==
===composition (input)===
* {{l/sub|AddText}}(): called to add text to the content-output buffer
===rendering (output)===
* {{l/sub|OnFigure}}(): calculate the output and put it in the buffer
* {{l/sub|OnRender}}() -- the following seems to be incorrect as of 2022-12-03, because there is no OnRender() at this level:
** Appends the following to the output:
*** {{l/sub|RetrieveStashed}}() -- the stashed content
*** {{l/sub|RenderOutput}}()
*** Value() element of ArgPod (via {{l/sub|GetArgPod()}}
Do these even exist anymore?:
* <code>RenderOutput()</code> comes from {{l/ver/class|cElement}}
* <code>RenderValue()</code> comes from {{l/ver/class|cElement}}
* <code>RenderBranch()</code> comes from {{l/ver/class|cElement}}
* <code>RenderTwigs()</code> comes from {{l/ver/class|cElement}}

Latest revision as of 22:37, 20 December 2022

class ferret\layout\caPageContent
cElement caPageContent ferret\layout\emerald\cPageContent

Methods

composition (input)

  • AddText(): called to add text to the content-output buffer

rendering (output)

  • OnFigure(): calculate the output and put it in the buffer
  • OnRender() -- the following seems to be incorrect as of 2022-12-03, because there is no OnRender() at this level:

Do these even exist anymore?: