内容简介:Cphalcon 3.4.1 发布了,Cphalcon 是一个开源的 Web 框架,作为 PHP 语言 C 扩展,它提供了更高的性能与更低的资源消耗。此次更新内容包含: 新增 Added notFound() method in Phalcon\Translate\Adapter\NativeA...
Cphalcon 3.4.1 发布了,Cphalcon 是一个开源的 Web 框架,作为 PHP 语言 C 扩展,它提供了更高的性能与更低的资源消耗。此次更新内容包含:
新增
Added
notFound()method inPhalcon\Translate\Adapter\NativeArraywhich returns the key requested if not found. The method can be overriden when extending the class, returning what the developer needs #13007Added
Phalcon\Service\Locator,Phalcon\Service\LocatorInterfaceandPhalcon\Service\LocatorFactoryInterfaceto allow for the creation of service locators and factories throughout the application #13771Added
Phalcon\Http\Request::setParameterFilters. It allows you to preset filters for specific input (i.e.id,nameetc.). You can then retrieve the automatcally sanitized values usingPhalcon\Http\Request::getFilteredQuery,Phalcon\Http\Request::getFilteredPostandPhalcon\Http\Request::getFilteredPut#13488
修复
Fixed
Phalcon\Mvc\Micro::handleto properly return a response object #13712Fixed
Phalcon\Cache\Backend\Libmemcachedreturning "empty" values being asnullwhen they could be0,falseor emptystring. #13497Fixed session adapters to properly implement
SessionHandlerInterface::writeFixed
Phalcon\Session\Managerto not interact with$_SESSIONvariable if the session has not been started #13718, #13520Fixed
Phalcon\Cli\Consoleclass not found error if handling the same module twice #13724Fixed
Phalcon\Cache\Backend\Libmemcachedreturning "empty" values being asnullwhen they could be0,falseor emptystring. #13497Fixed
Phalcon\Mvc\View\Engine\Volt\Compiler::functionCallbuilding the incorrect code for the following tags;select, andselect_static#13459Fixed
Phalcon\Tag\Selectnot rendering without any options.
修改
Changed the
Phalcon\Tag::renderTitle()parameters such asPhalcon\Tag::getTitle()#13706Changed the
Phalcon\Html\Tag::renderTitle()parameters such asPhalcon\Html\Tag::getTitle()#13706Changed the
Phalcon\Version::get()to follow semantic versioning #13720Changed the
Phalcon\Translate\Adapter\NativeArrayto accept a new parameter in the constructortriggerError. This will trigger an error if the key is not found #13007Changed the default action of
Phalcon\Acl\Memoryto beAcl::DENYinstead ofAcl::ALLOW#13758Changed
Phalcon\Mvc\User\PlugintoPhalcon\Plugin#13749Changed
Phalcon\Exceptionto implement\Throwableinterface.#13750Changed
Phalcon\Http\Cookie. ThehttpOnlyproperty is no longer initialised with a value #13464Changed the default action for no arguments of
Phalcon\Acl\Memoryto beAcl::DENYinstead ofAcl::ALLOW#13769Changed the implementation of
Phalcon\Filter. It uses a service locator and a service locator factory now. It has more sanitizers now. #13060
以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网
猜你喜欢:- 优秀开源框架的扩展机制实现
- 阿里 Sentinel 框架的一些小扩展
- LaserCrack:一款可扩展的暴力破解框架
- Asf PHP扩展框架之预警模块介绍
- Flask框架从入门到精通之扩展脚本(十五)
- Nfstream:一款易于扩展的网络数据分析框架
本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
Web Design Handbook
Baeck, Philippe de 编 / 2009-12 / $ 22.54
This non-technical book brings together contemporary web design's latest and most original creative examples in the areas of services, media, blogs, contacts, links and jobs. It also traces the latest......一起来看看 《Web Design Handbook》 这本书的介绍吧!