Získání komponenty presenteru z komponenty

- simPod
- Člen | 383
--presenter--
function createComponentOne($name) {
$component = new One();
return $component ;
}
function createComponentTwo($name) {
$component = new Two();
return $component ;
}
Vytvarim v presenteru 2 komponenty. Nasledne bych chtel v sablone
komponenty One pouzit neco jako {control two} – vytvoreni
komponenty Two v komponente One, ale aby obe byly definovane v presenteru
je to mozne? diky
RSS tématu
Téma zavřeno