I would like to overload the header include_http_metas()(from the class AssetHelper) to make it compatible with HTML5.
include_http_metas()
AssetHelper
Any ideas?
Many thanks.
Just copy the AssetHelper.php file (there is no AssetHelper class class at all) in the lib / helper directory of your application and make changes to the copy.
Source: http://www.symfony-project.org/book/1_2/07-Inside-the-View-Layer (Β§ Adding your own helpers)
, , include_http_metas() sfContext:: getInstance() β getResponse() β getHttpMetas(), ( .yml config) getHttpMetas() .
Source: https://habr.com/ru/post/1779683/More articles:JsUnit union in JUnit - javaWhat is the best way to enforce certain values ββin message arguments in smalltalk? - smalltalkDoes KRL support UTF-8? - utf-8using CTE (common table expressions) in a query - sqlHow to quickly write a Firefox extension? - firefoxBest practice for std :: auto_ptr - c ++https://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1779685/advice-on-languages-and-places-to-learn-them&usg=ALkJrhjQ1FXwH99EAOtGg2V1SD8tnUel3QIs there an "unput" for std :: ostream, for example, is there an "unget" for std :: istream? - c ++https://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1779687/desktop-menu-desktop-files-and-xdg-desktop-menu&usg=ALkJrhgc349eI9vs6zp5UmY8pfapGV7npg'bzr update' destroyed all my local commits. Help! - bazaarAll Articles