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

From Woozle Writes Code
< Ferreteria‎ | v0.5‎ | @cls
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(5 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==
==Methods==
===rendering===
===composition (input)===
* <code>OnRender()</code> (new):
* {{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:
** Appends the following to the output:
*** RetrieveStashed() -- the stashed content
*** {{l/sub|RetrieveStashed}}() -- the stashed content
*** RenderTwigs()
*** {{l/sub|RenderOutput}}()
*** Value() element of ArgPod
*** Value() element of ArgPod (via {{l/sub|GetArgPod()}}
 
Do these even exist anymore?:
* <code>RenderOutput()</code> comes from {{l/ver/class|cElement}}
* <code>RenderOutput()</code> comes from {{l/ver/class|cElement}}
* <code>RenderValue()</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}}
* <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?: