@@ -15,12 +15,12 @@ $compiler = new Latte\Compiler;
1515UIMacros::install ($ compiler );
1616
1717// {control ...}
18- Assert::match ('<?php %a% $this->global->uiControl->getComponent("form"); %a%->render() ?> ' , $ compiler ->expandMacro ('control ' , 'form ' , '' )->openingCode );
19- Assert::match ('<?php %a% $this->global->uiControl->getComponent("form"); %a%->render(); echo call_user_func($this->filters->filter, %a%) ?> ' , $ compiler ->expandMacro ('control ' , 'form ' , 'filter ' )->openingCode );
20- Assert::match ('<?php if (is_object($form)) %a% else %a% $this->global->uiControl->getComponent($form); %a%->render() ?> ' , $ compiler ->expandMacro ('control ' , '$form ' , '' )->openingCode );
21- Assert::match ('<?php %a% $this->global->uiControl->getComponent("form"); %a%->renderType() ?> ' , $ compiler ->expandMacro ('control ' , 'form:type ' , '' )->openingCode );
22- Assert::match ('<?php %a% $this->global->uiControl->getComponent("form"); %a%->{"render$type"}() ?> ' , $ compiler ->expandMacro ('control ' , 'form:$type ' , '' )->openingCode );
23- Assert::match ('<?php %a% $this->global->uiControl->getComponent("form"); %a%->renderType( \'param \') ?> ' , $ compiler ->expandMacro ('control ' , 'form:type param ' , '' )->openingCode );
24- Assert::match ('<?php %a% $this->global->uiControl->getComponent("form"); %a%->renderType([ \'param \' => 123]) ?> ' , $ compiler ->expandMacro ('control ' , 'form:type param => 123 ' , '' )->openingCode );
25- Assert::match ('<?php %a% $this->global->uiControl->getComponent("form"); %a%->renderType([ \'param \' => 123]) ?> ' , $ compiler ->expandMacro ('control ' , 'form:type, param => 123 ' , '' )->openingCode );
26- Assert::match ('<?php %a% $this->global->uiControl->getComponent("form"); %a%->render(); echo call_user_func($this->filters->striptags, %a%) ?> ' , $ compiler ->expandMacro ('control ' , 'form ' , 'striptags ' )->openingCode );
18+ Assert::match ('<?php %a% $this->global->uiControl->getComponent("form"); %a%->render(); ?> ' , $ compiler ->expandMacro ('control ' , 'form ' , '' )->openingCode );
19+ Assert::match ('<?php %a% $this->global->uiControl->getComponent("form"); %a%->render(); echo call_user_func($this->filters->filter, %a%); ?> ' , $ compiler ->expandMacro ('control ' , 'form ' , 'filter ' )->openingCode );
20+ Assert::match ('<?php %a% if (is_object($form)) %a% else %a% $this->global->uiControl->getComponent($form); %a%->render(); ?> ' , $ compiler ->expandMacro ('control ' , '$form ' , '' )->openingCode );
21+ Assert::match ('<?php %a% $this->global->uiControl->getComponent("form"); %a%->renderType(); ?> ' , $ compiler ->expandMacro ('control ' , 'form:type ' , '' )->openingCode );
22+ Assert::match ('<?php %a% $this->global->uiControl->getComponent("form"); %a%->{"render$type"}(); ?> ' , $ compiler ->expandMacro ('control ' , 'form:$type ' , '' )->openingCode );
23+ Assert::match ('<?php %a% $this->global->uiControl->getComponent("form"); %a%->renderType( \'param \'); ?> ' , $ compiler ->expandMacro ('control ' , 'form:type param ' , '' )->openingCode );
24+ Assert::match ('<?php %a% $this->global->uiControl->getComponent("form"); %a%->renderType([ \'param \' => 123]); ?> ' , $ compiler ->expandMacro ('control ' , 'form:type param => 123 ' , '' )->openingCode );
25+ Assert::match ('<?php %a% $this->global->uiControl->getComponent("form"); %a%->renderType([ \'param \' => 123]); ?> ' , $ compiler ->expandMacro ('control ' , 'form:type, param => 123 ' , '' )->openingCode );
26+ Assert::match ('<?php %a% $this->global->uiControl->getComponent("form"); %a%->render(); echo call_user_func($this->filters->striptags, %a%); ?> ' , $ compiler ->expandMacro ('control ' , 'form ' , 'striptags ' )->openingCode );
0 commit comments