@@ -18,12 +18,12 @@ 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 ($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 ); // @ deprecated
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%->render(array_merge([], $params, [])); ?> ' , $ compiler ->expandMacro ('control ' , 'form (expand) $params ' , '' )->openingCode );
2727Assert::match ('<?php %a% $this->global->uiControl->getComponent("form"); %a%->renderType([ \'param \' => 123]); ?> ' , $ compiler ->expandMacro ('control ' , 'form:type param => 123 ' , '' )->openingCode );
2828Assert::match ('<?php %a% $this->global->uiControl->getComponent("form"); %a%->renderType([ \'param \' => 123]); ?> ' , $ compiler ->expandMacro ('control ' , 'form:type, param => 123 ' , '' )->openingCode );
29- Assert::match ('<?php %a% $this->global->uiControl->getComponent("form"); %a%->render(); echo ($this->filters->striptags)(%a%); ?> ' , $ compiler ->expandMacro ('control ' , 'form ' , 'striptags ' )->openingCode );
29+ @ Assert::match ('<?php %a% $this->global->uiControl->getComponent("form"); %a%->render(); echo ($this->filters->striptags)(%a%); ?> ' , $ compiler ->expandMacro ('control ' , 'form ' , 'striptags ' )->openingCode ); // @ deprecated
0 commit comments