From b5d9c75c7064303e24b9704e1dd8f86c083fe9f7 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 23 Mar 2017 13:18:18 +0100 Subject: v3.1.0 --- .gitignore | 3 + REFLECTION | 455 +++++++++++++++++++++++++++++++++++++++++++++++++++--- php-phalcon3.spec | 7 +- 3 files changed, 438 insertions(+), 27 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..af9f2ef --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +*.tar.xz +*.tar.gz +*.src.rpm diff --git a/REFLECTION b/REFLECTION index b0bd7b3..3c9924e 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #170 phalcon version 3.0.4 ] { +Extension [ extension #171 phalcon version 3.1.0 ] { - INI { Entry [ phalcon.db.escape_identifiers ] @@ -39,7 +39,7 @@ Extension [ extension #170 phalcon version 3.0.4 ] { } } - - Classes [371] { + - Classes [376] { Interface [ interface Phalcon\Di\InjectionAwareInterface ] { - Constants [0] { @@ -4322,7 +4322,7 @@ Extension [ extension #170 phalcon version 3.0.4 ] { - Properties [0] { } - - Methods [13] { + - Methods [15] { Method [ abstract public method setId ] { - Parameters [1] { @@ -4349,6 +4349,16 @@ Extension [ extension #170 phalcon version 3.0.4 ] { Method [ abstract public method getConnection ] { } + Method [ abstract public method setDirtyState ] { + + - Parameters [1] { + Parameter #0 [ $dirtyState ] + } + } + + Method [ abstract public method getDirtyState ] { + } + Method [ abstract public method fireEvent ] { - Parameters [1] { @@ -4921,6 +4931,46 @@ Extension [ extension #170 phalcon version 3.0.4 ] { } } + Interface [ interface Phalcon\Mvc\Model\BinderInterface ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [4] { + Method [ abstract public method getBoundModels ] { + } + + Method [ abstract public method getCache ] { + } + + Method [ abstract public method setCache ] { + + - Parameters [1] { + Parameter #0 [ Phalcon\Cache\BackendInterface $cache ] + } + } + + Method [ abstract public method bindToHandler ] { + + - Parameters [4] { + Parameter #0 [ $handler ] + Parameter #1 [ array $params ] + Parameter #2 [ $cacheKey ] + Parameter #3 [ $methodName ] + } + } + } + } + Interface [ interface Phalcon\Mvc\Model\CriteriaInterface ] { - Constants [0] { @@ -6996,6 +7046,26 @@ Extension [ extension #170 phalcon version 3.0.4 ] { } } + Interface [ interface Phalcon\Mvc\Model\Binder\BindableInterface ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [1] { + Method [ abstract public method getModelName ] { + } + } + } + Interface [ interface Phalcon\Mvc\ModuleDefinitionInterface ] { - Constants [0] { @@ -10636,7 +10706,7 @@ Extension [ extension #170 phalcon version 3.0.4 ] { - Static methods [0] { } - - Properties [21] { + - Properties [22] { Property [ protected $_dependencyInjector ] Property [ protected $_eventsManager ] Property [ protected $_activeHandler ] @@ -10658,9 +10728,10 @@ Extension [ extension #170 phalcon version 3.0.4 ] { Property [ protected $_previousHandlerName ] Property [ protected $_previousActionName ] Property [ protected $_modelBinding ] + Property [ protected $_modelBinder ] } - - Methods [32] { + - Methods [35] { Method [ public method setDI ] { - Parameters [1] { @@ -10790,11 +10861,23 @@ Extension [ extension #170 phalcon version 3.0.4 ] { Method [ public method setModelBinding ] { - - Parameters [1] { + - Parameters [2] { Parameter #0 [ $value ] + Parameter #1 [ $cache ] } } + Method [ public method setModelBinder ] { + + - Parameters [2] { + Parameter #0 [ Phalcon\Mvc\Model\BinderInterface $modelBinder ] + Parameter #1 [ $cache ] + } + } + + Method [ public method getModelBinder ] { + } + Method [ public method dispatch ] { } @@ -10823,6 +10906,9 @@ Extension [ extension #170 phalcon version 3.0.4 ] { } } + Method [ public method getBoundModels ] { + } + Method [ protected method _resolveEmptyProperties ] { } } @@ -16000,7 +16086,7 @@ Extension [ extension #170 phalcon version 3.0.4 ] { - Static methods [0] { } - - Properties [22] { + - Properties [23] { Property [ protected $_dependencyInjector ] Property [ protected $_eventsManager ] Property [ protected $_activeHandler ] @@ -16019,13 +16105,14 @@ Extension [ extension #170 phalcon version 3.0.4 ] { Property [ protected $_previousHandlerName ] Property [ protected $_previousActionName ] Property [ protected $_modelBinding ] + Property [ protected $_modelBinder ] Property [ protected $_handlerSuffix ] Property [ protected $_defaultHandler ] Property [ protected $_defaultAction ] Property [ protected $_options ] } - - Methods [42] { + - Methods [45] { Method [ public method setTaskSuffix ] { - Parameters [1] { @@ -16219,11 +16306,23 @@ Extension [ extension #170 phalcon version 3.0.4 ] { Method [ public method setModelBinding ] { - - Parameters [1] { + - Parameters [2] { Parameter #0 [ $value ] + Parameter #1 [ $cache ] } } + Method [ public method setModelBinder ] { + + - Parameters [2] { + Parameter #0 [ Phalcon\Mvc\Model\BinderInterface $modelBinder ] + Parameter #1 [ $cache ] + } + } + + Method [ public method getModelBinder ] { + } + Method [ public method dispatch ] { } @@ -16243,6 +16342,9 @@ Extension [ extension #170 phalcon version 3.0.4 ] { Method [ public method getHandlerClass ] { } + Method [ public method getBoundModels ] { + } + Method [ protected method _resolveEmptyProperties ] { } } @@ -19022,7 +19124,7 @@ Extension [ extension #170 phalcon version 3.0.4 ] { Property [ protected $_escapeChar ] } - - Methods [61] { + - Methods [62] { Method [ public method getColumnDefinition ] { - Parameters [1] { @@ -19120,6 +19222,14 @@ Extension [ extension #170 phalcon version 3.0.4 ] { } } + Method [ public method truncateTable ] { + + - Parameters [2] { + Parameter #0 [ $tableName ] + Parameter #1 [ $schemaName ] + } + } + Method [ public method dropTable ] { - Parameters [3] { @@ -19539,7 +19649,7 @@ Extension [ extension #170 phalcon version 3.0.4 ] { Property [ protected $_escapeChar ] } - - Methods [62] { + - Methods [63] { Method [ public method getColumnDefinition ] { - Parameters [1] { @@ -19637,6 +19747,14 @@ Extension [ extension #170 phalcon version 3.0.4 ] { } } + Method [ public method truncateTable ] { + + - Parameters [2] { + Parameter #0 [ $tableName ] + Parameter #1 [ $schemaName ] + } + } + Method [ public method dropTable ] { - Parameters [3] { @@ -20063,7 +20181,7 @@ Extension [ extension #170 phalcon version 3.0.4 ] { Property [ protected $_escapeChar ] } - - Methods [62] { + - Methods [63] { Method [ public method getColumnDefinition ] { - Parameters [1] { @@ -20161,6 +20279,14 @@ Extension [ extension #170 phalcon version 3.0.4 ] { } } + Method [ public method truncateTable ] { + + - Parameters [2] { + Parameter #0 [ $tableName ] + Parameter #1 [ $schemaName ] + } + } + Method [ public method dropTable ] { - Parameters [3] { @@ -27280,6 +27406,10 @@ Extension [ extension #170 phalcon version 3.0.4 ] { } Method [ public method register ] { + + - Parameters [1] { + Parameter #0 [ $prepend ] + } } Method [ public method unregister ] { @@ -28582,11 +28712,14 @@ Extension [ extension #170 phalcon version 3.0.4 ] { Class [ abstract class Phalcon\Mvc\Collection implements Phalcon\Mvc\EntityInterface, Phalcon\Mvc\CollectionInterface, Phalcon\Di\InjectionAwareInterface, Serializable ] { - - Constants [4] { + - Constants [7] { Constant [ integer OP_NONE ] { 0 } Constant [ integer OP_CREATE ] { 1 } Constant [ integer OP_UPDATE ] { 2 } Constant [ integer OP_DELETE ] { 3 } + Constant [ integer DIRTY_STATE_PERSISTENT ] { 0 } + Constant [ integer DIRTY_STATE_TRANSIENT ] { 1 } + Constant [ integer DIRTY_STATE_DETACHED ] { 2 } } - Static properties [2] { @@ -28667,18 +28800,19 @@ Extension [ extension #170 phalcon version 3.0.4 ] { } } - - Properties [8] { + - Properties [9] { Property [ public $_id ] Property [ protected $_dependencyInjector ] Property [ protected $_modelsManager ] Property [ protected $_source ] Property [ protected $_operationMade ] + Property [ protected $_dirtyState ] Property [ protected $_connection ] Property [ protected $_errorMessages ] Property [ protected $_skipped ] } - - Methods [38] { + - Methods [40] { Method [ final public method __construct ] { - Parameters [2] { @@ -28789,7 +28923,7 @@ Extension [ extension #170 phalcon version 3.0.4 ] { Method [ protected method validate ] { - Parameters [1] { - Parameter #0 [ Phalcon\Mvc\Model\ValidatorInterface $validator ] + Parameter #0 [ $validator ] } } @@ -28856,6 +28990,16 @@ Extension [ extension #170 phalcon version 3.0.4 ] { Method [ public method delete ] { } + Method [ public method setDirtyState ] { + + - Parameters [1] { + Parameter #0 [ $dirtyState ] + } + } + + Method [ public method getDirtyState ] { + } + Method [ protected method addBehavior ] { - Parameters [1] { @@ -29334,7 +29478,7 @@ Extension [ extension #170 phalcon version 3.0.4 ] { - Static methods [0] { } - - Properties [21] { + - Properties [22] { Property [ protected $_dependencyInjector ] Property [ protected $_eventsManager ] Property [ protected $_activeHandler ] @@ -29353,12 +29497,13 @@ Extension [ extension #170 phalcon version 3.0.4 ] { Property [ protected $_previousHandlerName ] Property [ protected $_previousActionName ] Property [ protected $_modelBinding ] + Property [ protected $_modelBinder ] Property [ protected $_handlerSuffix ] Property [ protected $_defaultHandler ] Property [ protected $_defaultAction ] } - - Methods [44] { + - Methods [47] { Method [ public method setControllerSuffix ] { - Parameters [1] { @@ -29545,11 +29690,23 @@ Extension [ extension #170 phalcon version 3.0.4 ] { Method [ public method setModelBinding ] { - - Parameters [1] { + - Parameters [2] { Parameter #0 [ $value ] + Parameter #1 [ $cache ] + } + } + + Method [ public method setModelBinder ] { + + - Parameters [2] { + Parameter #0 [ Phalcon\Mvc\Model\BinderInterface $modelBinder ] + Parameter #1 [ $cache ] } } + Method [ public method getModelBinder ] { + } + Method [ public method dispatch ] { } @@ -29578,6 +29735,9 @@ Extension [ extension #170 phalcon version 3.0.4 ] { } } + Method [ public method getBoundModels ] { + } + Method [ protected method _resolveEmptyProperties ] { } } @@ -29651,7 +29811,7 @@ Extension [ extension #170 phalcon version 3.0.4 ] { - Static methods [0] { } - - Properties [12] { + - Properties [14] { Property [ protected $_eventsManager ] Property [ protected $_dependencyInjector ] Property [ protected $_handlers ] @@ -29664,9 +29824,11 @@ Extension [ extension #170 phalcon version 3.0.4 ] { Property [ protected $_afterHandlers ] Property [ protected $_finishHandlers ] Property [ protected $_returnedValue ] + Property [ protected $_modelBinder ] + Property [ protected $_afterBindingHandlers ] } - - Methods [35] { + - Methods [39] { Method [ public method __construct ] { - Parameters [1] { @@ -29858,6 +30020,13 @@ Extension [ extension #170 phalcon version 3.0.4 ] { } } + Method [ public method afterBinding ] { + + - Parameters [1] { + Parameter #0 [ $handler ] + } + } + Method [ public method after ] { - Parameters [1] { @@ -29875,6 +30044,20 @@ Extension [ extension #170 phalcon version 3.0.4 ] { Method [ public method getHandlers ] { } + Method [ public method getModelBinder ] { + } + + Method [ public method setModelBinder ] { + + - Parameters [2] { + Parameter #0 [ Phalcon\Mvc\Model\BinderInterface $modelBinder ] + Parameter #1 [ $cache ] + } + } + + Method [ public method getBoundModels ] { + } + Method [ public method getDI ] { } @@ -30102,12 +30285,13 @@ Extension [ extension #170 phalcon version 3.0.4 ] { - Static methods [0] { } - - Properties [2] { + - Properties [3] { Property [ protected $_handler ] + Property [ protected $_modelBinder ] Property [ protected $_definition ] } - - Methods [3] { + - Methods [4] { Method [ public method getDefinition ] { } @@ -30125,6 +30309,15 @@ Extension [ extension #170 phalcon version 3.0.4 ] { Parameter #1 [ $arguments ] } } + + Method [ public method callMethod ] { + + - Parameters [3] { + Parameter #0 [ $method ] + Parameter #1 [ $arguments ] + Parameter #2 [ Phalcon\Mvc\Model\BinderInterface or NULL $modelBinder ] + } + } } } @@ -30870,6 +31063,77 @@ Extension [ extension #170 phalcon version 3.0.4 ] { } } + Class [ class Phalcon\Mvc\Model\Binder implements Phalcon\Mvc\Model\BinderInterface ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ protected $boundModels ] + Property [ protected $cache ] + Property [ protected $internalCache ] + Property [ protected $originalValues ] + } + + - Methods [8] { + Method [ public method getBoundModels ] { + } + + Method [ public method getOriginalValues ] { + } + + Method [ public method __construct ] { + + - Parameters [1] { + Parameter #0 [ Phalcon\Cache\BackendInterface or NULL $cache ] + } + } + + Method [ public method setCache ] { + + - Parameters [1] { + Parameter #0 [ Phalcon\Cache\BackendInterface $cache ] + } + } + + Method [ public method getCache ] { + } + + Method [ public method bindToHandler ] { + + - Parameters [4] { + Parameter #0 [ $handler ] + Parameter #1 [ array $params ] + Parameter #2 [ $cacheKey ] + Parameter #3 [ $methodName ] + } + } + + Method [ protected method getParamsFromCache ] { + + - Parameters [1] { + Parameter #0 [ $cacheKey ] + } + } + + Method [ protected method getParamsFromReflection ] { + + - Parameters [4] { + Parameter #0 [ $handler ] + Parameter #1 [ array $params ] + Parameter #2 [ $cacheKey ] + Parameter #3 [ $methodName ] + } + } + } + } + Class [ class Phalcon\Mvc\Model\Criteria implements Phalcon\Mvc\Model\CriteriaInterface, Phalcon\Di\InjectionAwareInterface ] { - Constants [0] { @@ -41165,7 +41429,10 @@ Extension [ extension #170 phalcon version 3.0.4 ] { Property [ protected $_values ] } - - Methods [25] { + - Methods [26] { + Method [ public method getData ] { + } + Method [ public method setValidators ] { - Parameters [1] { @@ -41756,6 +42023,69 @@ Extension [ extension #170 phalcon version 3.0.4 ] { } } + Class [ class Phalcon\Validation\Validator\Callback extends Phalcon\Validation\Validator implements Phalcon\Validation\ValidatorInterface ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [1] { + Property [ protected $_options ] + } + + - Methods [6] { + Method [ public method validate ] { + + - Parameters [2] { + Parameter #0 [ Phalcon\Validation $validation ] + Parameter #1 [ $field ] + } + } + + Method [ public method __construct ] { + + - Parameters [1] { + Parameter #0 [ array or NULL $options ] + } + } + + Method [ public method isSetOption ] { + + - Parameters [1] { + Parameter #0 [ $key ] + } + } + + Method [ public method hasOption ] { + + - Parameters [1] { + Parameter #0 [ $key ] + } + } + + Method [ public method getOption ] { + + - Parameters [2] { + Parameter #0 [ $key ] + Parameter #1 [ $defaultValue ] + } + } + + Method [ public method setOption ] { + + - Parameters [2] { + Parameter #0 [ $key ] + Parameter #1 [ $value ] + } + } + } + } + Class [ class Phalcon\Validation\Validator\Confirmation extends Phalcon\Validation\Validator implements Phalcon\Validation\ValidatorInterface ] { - Constants [0] { @@ -42094,6 +42424,63 @@ Extension [ extension #170 phalcon version 3.0.4 ] { } } + Class [ class Phalcon\Validation\Validator\Exception extends Phalcon\Exception implements Throwable ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ protected $message ] + Property [ protected $code ] + Property [ protected $file ] + Property [ protected $line ] + } + + - Methods [10] { + Method [ public method __construct ] { + + - Parameters [3] { + Parameter #0 [ $message ] + Parameter #1 [ $code ] + Parameter #2 [ $previous ] + } + } + + Method [ public method __wakeup ] { + } + + Method [ final public method getMessage ] { + } + + Method [ final public method getCode ] { + } + + Method [ final public method getFile ] { + } + + Method [ final public method getLine ] { + } + + Method [ final public method getTrace ] { + } + + Method [ final public method getPrevious ] { + } + + Method [ final public method getTraceAsString ] { + } + + Method [ public method __toString ] { + } + } + } + Class [ class Phalcon\Validation\Validator\ExclusionIn extends Phalcon\Validation\Validator implements Phalcon\Validation\ValidatorInterface ] { - Constants [0] { @@ -42622,7 +43009,7 @@ Extension [ extension #170 phalcon version 3.0.4 ] { Property [ private $columnMap ] } - - Methods [8] { + - Methods [10] { Method [ public method validate ] { - Parameters [2] { @@ -42647,6 +43034,24 @@ Extension [ extension #170 phalcon version 3.0.4 ] { } } + Method [ protected method isUniquenessModel ] { + + - Parameters [3] { + Parameter #0 [ $record ] + Parameter #1 [ array $field ] + Parameter #2 [ array $values ] + } + } + + Method [ protected method isUniquenessCollection ] { + + - Parameters [3] { + Parameter #0 [ $record ] + Parameter #1 [ array $field ] + Parameter #2 [ array $values ] + } + } + Method [ public method __construct ] { - Parameters [1] { diff --git a/php-phalcon3.spec b/php-phalcon3.spec index 0593712..2e4c8d9 100644 --- a/php-phalcon3.spec +++ b/php-phalcon3.spec @@ -13,7 +13,7 @@ %global pkg_name %{name} %endif -%global gh_commit 2f52d45cdc1dfb9d9dac40a63a7ca333d785e68c +%global gh_commit 60ed9dd842015a05cfd7e0360c972154d85b3172 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner phalcon %global gh_project cphalcon @@ -29,7 +29,7 @@ %endif Name: %{?sub_prefix}php-phalcon3 -Version: 3.0.4 +Version: 3.1.0 Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} Summary: Phalcon Framework @@ -246,6 +246,9 @@ rm -rf %{buildroot} %changelog +* Thu Mar 23 2017 Remi Collet - 3.1.0-1 +- Update to 3.1.0 + * Tue Feb 21 2017 Remi Collet - 3.0.4-1 - update to 3.0.4 -- cgit