@@ -18,11 +18,11 @@ UIMacros::install($compiler);
1818
1919// {control ...}
2020Assert::match ('<?php %a% $this->global->uiControl->getComponent("form"); %a%->render(); ?> ' , $ compiler ->expandMacro ('control ' , 'form ' , '' )->openingCode );
21- 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 );
21+ Assert::match ('<?php %a% $this->global->uiControl->getComponent("form"); %a%->render(); echo ($this->filters->filter)( %a%); ?> ' , $ compiler ->expandMacro ('control ' , 'form ' , 'filter ' )->openingCode );
2222Assert::match ('<?php %a% if (is_object($form)) %a% else %a% $this->global->uiControl->getComponent($form); %a%->render(); ?> ' , $ compiler ->expandMacro ('control ' , '$form ' , '' )->openingCode );
2323Assert::match ('<?php %a% $this->global->uiControl->getComponent("form"); %a%->renderType(); ?> ' , $ compiler ->expandMacro ('control ' , 'form:type ' , '' )->openingCode );
2424Assert::match ('<?php %a% $this->global->uiControl->getComponent("form"); %a%->{"render$type"}(); ?> ' , $ compiler ->expandMacro ('control ' , 'form:$type ' , '' )->openingCode );
2525Assert::match ('<?php %a% $this->global->uiControl->getComponent("form"); %a%->renderType( \'param \'); ?> ' , $ compiler ->expandMacro ('control ' , 'form:type param ' , '' )->openingCode );
2626Assert::match ('<?php %a% $this->global->uiControl->getComponent("form"); %a%->renderType([ \'param \' => 123]); ?> ' , $ compiler ->expandMacro ('control ' , 'form:type param => 123 ' , '' )->openingCode );
2727Assert::match ('<?php %a% $this->global->uiControl->getComponent("form"); %a%->renderType([ \'param \' => 123]); ?> ' , $ compiler ->expandMacro ('control ' , 'form:type, param => 123 ' , '' )->openingCode );
28- 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 );
28+ Assert::match ('<?php %a% $this->global->uiControl->getComponent("form"); %a%->render(); echo ($this->filters->striptags)( %a%); ?> ' , $ compiler ->expandMacro ('control ' , 'form ' , 'striptags ' )->openingCode );
0 commit comments