📄 html_template_flexy.reg
字号:
- global flexyIgnore option, to prevent global conversion to Elements. - better support for elements where name="someval[]" Fixes - array syntax supported in attributes (eg. urlencoded) - setting values of elements with type works (bug #460) - methods with multiple arguments fixed. - HTML_Template_Flexy_Element::removeAttribute() works (removing attributes is done by setting them to false) - include error on EndTag - closed element (eg. with /> at end, can be used with flexy:if= - radio buttons should auto create id's if none are set. - xdebug recursion level increased (as the compiler recursion is high) - buffered output with $elements fixed. Note: See Version 0.5 release notes concerning BC issues with 0.4 series ";}i:20;a:4:{s:7:"version";s:5:"0.5.1";s:12:"release_date";s:10:"2003-09-04";s:13:"release_state";s:4:"beta";s:13:"release_notes";s:163:"Fixes - bufferedOutputObject correctly deals with elements array (Stephan Wentz)Note: See Version 0.5 release notes concerning BC issues with 0.4 series ";}i:21;a:4:{s:7:"version";s:3:"0.5";s:12:"release_date";s:10:"2003-09-03";s:13:"release_state";s:4:"beta";s:13:"release_notes";s:1958:"Warning: BC Breaking releaseWarning: Still in Beta Testing.. (although most of the API should now be settled)Due to the conclusion that the quickforms integration was not only messy, but a heavy weight to be carried. The whole form/dynamic element layer was re-engineered.And the dependancy on QuickForms removedNew Features HTML_Template_Flexy_Element, is a small simple representation of generic HTML, it is used to store the representation of form elements, and any HTML element which contains the FLEXY:DYNAMIC attribute. you can override elements, by using the new second argument to outputObject($object,$elements) where $elements is an associate array of (form name)=>Element and the data in the elements array is merged with the visable template at runtime. (so you only need to define what is different to the HTML, not the whole tag.) You can make any tag 'dynamic', by just tagging it. - if you replace the element in the elements array with an object that implements a toHtml method, This will be called rather than the drawn element. A Utility class, HTML_Template_Flexy_Factory offers common static methods, like - creating element values from a key=>value array (eg. Dataobjects->toArray()) - setting error messages (as suffixes to elements) - flag something as required. (prefixing strings to elements) Compiler Abstraction The Compiler code in Flexy is now abstracted out, to make it possible to write Other compilers and use the same caching/loading mechanism. (the old regex compiler is included as an example of this.) Other BC Issues: all Flexy attributes must now be prefixed with "flexy:" namespace (eg. if, foreach, startchildren etc.)Other New Features - support for array strings on variables and methods = eg. {somevar[xxx][yyy].toHtml():h} - added new Modifiers :r (print_r), and :n (number_format), and in future may make available user defined modifiers ";}i:22;a:4:{s:7:"version";s:5:"0.4.1";s:12:"release_date";s:10:"2003-06-11";s:13:"release_state";s:4:"beta";s:13:"release_notes";s:248:"Bug fixes - fixed #literal# support for method calls - hopefully finally (Yuri Dyakonov) - BC support for getOptions call on objects (Marcin Galczynski) Features - method calls with literals at end can now use modifiers (:h/:u etc.) ";}i:23;a:4:{s:7:"version";s:3:"0.4";s:12:"release_date";s:10:"2003-04-17";s:13:"release_state";s:4:"beta";s:13:"release_notes";s:1751:"Warning BC breaking release: - It is likely that form code may break with this due to the quickform integration - likely issues: you will probably have to load the template and assign data to it using $template->setQuickForm($this); which will then expose $template->quickform as the template Object. Bug fixes - fixed #literal# chopping bug (Yuri Dyakonov) - fixed XML/XHTML support (no more munging of cases) - fixed Fatal Error messages - with more details - fixed whitespace in doctype tags. (wierd lexer stuff) Features - quickforms (3) integration added. - quickforms with multiple forms $flexyobj->quickforms[0.....] - Initial gettext/multilanguage support - support variable[12] as a valid variable name. - does syntax checking on form element names - fixed {outputBody()} (no prefix var methods) - added url_rewrite for HREF and SRC tags - see example.ini for more details - added compileAll.php script for bulk compi
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -