设为首页收藏本站

LUPA开源社区

 找回密码
 注册
文章 帖子 博客
LUPA开源社区 首页 业界资讯 软件追踪 查看内容

Cphalcon 3.1.0发布,PHP的C扩展Web框架

2017-3-23 21:58| 发布者: joejoe0332| 查看: 383| 评论: 0|原作者: oschina|来自: oschina

摘要: Cphalcon 3.1.0 正式版发布了,Cphalcon 是一个开源的 Web 框架,作为 PHP 语言 C 扩展,它提供了更高的性能与更低的资源消耗。本次更新内容如下:AddedPhalcon\Validation\Validator\Callback,Phalcon\Validation:: ...

Cphalcon 3.1.0 正式版发布了,Cphalcon 是一个开源的 Web 框架,作为 PHP 语言 C 扩展,它提供了更高的性能与更低的资源消耗。

本次更新内容如下:

  • Added Phalcon\Validation\Validator\CallbackPhalcon\Validation::getData

  • Added the ability to truncate database tables

  • Added Phalcon\Mvc\Model\Binder, class used for binding models to parameters in dispatcher, micro, added Phalcon\Dispatcher::getBoundModels and Phalcon\Mvc\Micro::getBoundModels to getting bound models, added Phalcon\Mvc\Micro\Collection\LazyLoader::callMethod

  • Added afterBinding event to Phalcon\Dispatcher and Phalcon\Mvc\Micro, added Phalcon\Mvc\Micro::afterBinding

  • Added the ability to set custom Resultset class returned by find() #12166

  • Added the ability to clear appended and prepended title elements (Phalcon\Tag::appendTitle, Phalcon\Tag::prependTitle). Now you can use array to add multiple titles. For more details check #12238.

  • Added the ability to specify what empty means in the 'allowEmpty' option of the validators. Now it accepts as well an array specifying what's empty, for example ['', false]

  • Added the ability to use Phalcon\Validation with Phalcon\Mvc\Collection, deprecated Phalcon\Mvc\Model\Validatorclasses

  • Added the value of the object intanceof Interface to Phalcon\Acl\Adapter\Memory

  • Added the ability to get original values from Phalcon\Mvc\Model\Binder, added Phalcon\Mvc\Micro::getModelBinderPhalcon\Dispatcher::getModelBinder

  • Added prepend parameter to Phalcon\Loader::register to specify autoloader's loading order to top most

  • Fixes internal cache saving in Phalcon\Mvc\Model\Binder when no cache backend is used

  • Fixed Phalcon\Session\Bag::remove to initialize the bag before removing a value #12647

  • Fixed Phalcon\Mvc\Model::getChangedFields to correct detect changes from NULL to Zero #12628

  • Fixed Phalcon\Mvc\Model to create/refresh snapshot after create/update/refresh operation #11007#11818#11424

  • Fixed Phalcon\Mvc\Model::validate to correctly set code message #12645

  • Fixed Phalcon\Mvc\Model to correctly add error when try to save empty string value to not null and not default column #12688

  • Fixed Phalcon\Validation\Validator\Uniqueness collection persistent condition

  • Fixed Phalcon\Loader::autoLoad to prevent PHP warning #12684

  • Fixed Phalcon\Mvc\Model\Query::_executeSelect to correctly get the column map #12715

  • Fixed params view scope for PHP 5 #12648

完整更新日志

下载地址


酷毙

雷人

鲜花

鸡蛋

漂亮
  • 快毕业了,没工作经验,
    找份工作好难啊?
    赶紧去人才芯片公司磨练吧!!

最新评论

关于LUPA|人才芯片工程|人才招聘|LUPA认证|LUPA教育|LUPA开源社区 ( 浙B2-20090187 浙公网安备 33010602006705号   

返回顶部