diff --git a/ar/api/Phalcon_Acl_Adapter.md b/ar/api/Phalcon_Acl_Adapter.md index 9f86a2a2a142..1696a50b6e15 100644 --- a/ar/api/Phalcon_Acl_Adapter.md +++ b/ar/api/Phalcon_Acl_Adapter.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Acl\\Adapter** -*implements* [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -20,7 +20,7 @@ public **getActiveAccess** () Active access which the list is checking if some role can access it -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) Sets the events manager @@ -36,58 +36,58 @@ public **getDefaultAction** () Returns the default ACL access level -abstract public **setNoArgumentsDefaultAction** (*mixed* $defaultAccess) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **setNoArgumentsDefaultAction** (*mixed* $defaultAccess) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **getNoArgumentsDefaultAction** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **getNoArgumentsDefaultAction** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **addRole** (*mixed* $role, [*mixed* $accessInherits]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **addRole** (*mixed* $role, [*mixed* $accessInherits]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **addInherit** (*mixed* $roleName, *mixed* $roleToInherit) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **addInherit** (*mixed* $roleName, *mixed* $roleToInherit) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **isRole** (*mixed* $roleName) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **isRole** (*mixed* $roleName) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **isResource** (*mixed* $resourceName) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **isResource** (*mixed* $resourceName) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **addResource** (*mixed* $resourceObject, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **addResource** (*mixed* $resourceObject, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **addResourceAccess** (*mixed* $resourceName, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **addResourceAccess** (*mixed* $resourceName, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **dropResourceAccess** (*mixed* $resourceName, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **dropResourceAccess** (*mixed* $resourceName, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **allow** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*mixed* $func]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **allow** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*mixed* $func]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **deny** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*mixed* $func]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **deny** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*mixed* $func]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **isAllowed** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*array* $parameters]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **isAllowed** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*array* $parameters]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **getRoles** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **getRoles** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **getResources** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **getResources** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... \ No newline at end of file diff --git a/ar/api/Phalcon_Acl_Adapter_Memory.md b/ar/api/Phalcon_Acl_Adapter_Memory.md index e9ea95ccda45..889751c95b98 100644 --- a/ar/api/Phalcon_Acl_Adapter_Memory.md +++ b/ar/api/Phalcon_Acl_Adapter_Memory.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Acl\\Adapter\\Memory** -*extends* abstract class [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +*extends* abstract class [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) -*implements* [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +*implements* [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) Source on GitHub @@ -105,7 +105,7 @@ public **isResource** (*mixed* $resourceName) Check whether resource exist in the resources list -public **addResource** ([Phalcon\Acl\Resource](/en/3.1.2/api/Phalcon_Acl_Resource) | *string* $resourceValue, *array* | *string* $accessList) +public **addResource** ([Phalcon\Acl\Resource](/en/3.2/api/Phalcon_Acl_Resource) | *string* $resourceValue, *array* | *string* $accessList) Adds a resource to the ACL list Access names can be a particular action, by example search, update, delete, etc or a list of them Example: @@ -224,30 +224,30 @@ public **getResources** () Return an array with every resource registered in the list -public **getActiveRole** () inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **getActiveRole** () inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Role which the list is checking if it's allowed to certain resource/access -public **getActiveResource** () inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **getActiveResource** () inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Resource which the list is checking if some role can access it -public **getActiveAccess** () inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **getActiveAccess** () inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Active access which the list is checking if some role can access it -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Sets the events manager -public **getEventsManager** () inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **getEventsManager** () inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Returns the internal event manager -public **setDefaultAction** (*mixed* $defaultAccess) inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **setDefaultAction** (*mixed* $defaultAccess) inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Sets the default access level (Phalcon\\Acl::ALLOW or Phalcon\\Acl::DENY) -public **getDefaultAction** () inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **getDefaultAction** () inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Returns the default ACL access level \ No newline at end of file diff --git a/ar/api/Phalcon_Acl_Exception.md b/ar/api/Phalcon_Acl_Exception.md index 153094579c30..9c1b44ab7b5d 100644 --- a/ar/api/Phalcon_Acl_Exception.md +++ b/ar/api/Phalcon_Acl_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Acl\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/ar/api/Phalcon_Acl_Resource.md b/ar/api/Phalcon_Acl_Resource.md index 1663e1ad2e93..25ac2d3e792b 100644 --- a/ar/api/Phalcon_Acl_Resource.md +++ b/ar/api/Phalcon_Acl_Resource.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Acl\\Resource** -*implements* [Phalcon\Acl\ResourceInterface](/en/3.1.2/api/Phalcon_Acl_ResourceInterface) +*implements* [Phalcon\Acl\ResourceInterface](/en/3.2/api/Phalcon_Acl_ResourceInterface) Source on GitHub diff --git a/ar/api/Phalcon_Acl_Role.md b/ar/api/Phalcon_Acl_Role.md index e105183dd7f4..c8252648d6c8 100644 --- a/ar/api/Phalcon_Acl_Role.md +++ b/ar/api/Phalcon_Acl_Role.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Acl\\Role** -*implements* [Phalcon\Acl\RoleInterface](/en/3.1.2/api/Phalcon_Acl_RoleInterface) +*implements* [Phalcon\Acl\RoleInterface](/en/3.2/api/Phalcon_Acl_RoleInterface) Source on GitHub diff --git a/ar/api/Phalcon_Annotations_Adapter.md b/ar/api/Phalcon_Annotations_Adapter.md index 7a2b31fc4dc1..d42ac348bbc9 100644 --- a/ar/api/Phalcon_Annotations_Adapter.md +++ b/ar/api/Phalcon_Annotations_Adapter.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Annotations\\Adapter** -*implements* [Phalcon\Annotations\AdapterInterface](/en/3.1.2/api/Phalcon_Annotations_AdapterInterface) +*implements* [Phalcon\Annotations\AdapterInterface](/en/3.2/api/Phalcon_Annotations_AdapterInterface) Source on GitHub @@ -8,7 +8,7 @@ This is the base class for Phalcon\\Annotations adapters ## Methods -public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) +public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) Sets the annotations parser diff --git a/ar/api/Phalcon_Annotations_AdapterInterface.md b/ar/api/Phalcon_Annotations_AdapterInterface.md index a4e2c689503a..a1ff65cb01a1 100644 --- a/ar/api/Phalcon_Annotations_AdapterInterface.md +++ b/ar/api/Phalcon_Annotations_AdapterInterface.md @@ -4,7 +4,7 @@ ## Methods -abstract public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) +abstract public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) ... diff --git a/ar/api/Phalcon_Annotations_Adapter_Apc.md b/ar/api/Phalcon_Annotations_Adapter_Apc.md index 1b8a1d6d0d7d..467622a88425 100644 --- a/ar/api/Phalcon_Annotations_Adapter_Apc.md +++ b/ar/api/Phalcon_Annotations_Adapter_Apc.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Annotations\\Adapter\\Apc** -*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) -*implements* [Phalcon\Annotations\AdapterInterface](/en/3.1.2/api/Phalcon_Annotations_AdapterInterface) +*implements* [Phalcon\Annotations\AdapterInterface](/en/3.2/api/Phalcon_Annotations_AdapterInterface) Source on GitHub @@ -27,34 +27,34 @@ public **read** (*mixed* $key) Reads parsed annotations from APC -public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) $data) +public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) $data) Writes parsed annotations to APC -public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Sets the annotations parser -public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotation reader -public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Parses or retrieves all the annotations found in a class -public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific method -public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific property \ No newline at end of file diff --git a/ar/api/Phalcon_Annotations_Adapter_Files.md b/ar/api/Phalcon_Annotations_Adapter_Files.md index fcb4c23e6c2e..e4c407e5954e 100644 --- a/ar/api/Phalcon_Annotations_Adapter_Files.md +++ b/ar/api/Phalcon_Annotations_Adapter_Files.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Annotations\\Adapter\\Files** -*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) -*implements* [Phalcon\Annotations\AdapterInterface](/en/3.1.2/api/Phalcon_Annotations_AdapterInterface) +*implements* [Phalcon\Annotations\AdapterInterface](/en/3.2/api/Phalcon_Annotations_AdapterInterface) Source on GitHub @@ -27,38 +27,38 @@ public **__construct** ([*array* $options]) Phalcon\\Annotations\\Adapter\\Files constructor -public [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) **read** (*string* $key) +public [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) **read** (*string* $key) Reads parsed annotations from files -public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) $data) +public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) $data) Writes parsed annotations to files -public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Sets the annotations parser -public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotation reader -public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Parses or retrieves all the annotations found in a class -public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific method -public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific property \ No newline at end of file diff --git a/ar/api/Phalcon_Annotations_Adapter_Memory.md b/ar/api/Phalcon_Annotations_Adapter_Memory.md index 53fc2e3769c7..205f20e6b1b8 100644 --- a/ar/api/Phalcon_Annotations_Adapter_Memory.md +++ b/ar/api/Phalcon_Annotations_Adapter_Memory.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Annotations\\Adapter\\Memory** -*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) -*implements* [Phalcon\Annotations\AdapterInterface](/en/3.1.2/api/Phalcon_Annotations_AdapterInterface) +*implements* [Phalcon\Annotations\AdapterInterface](/en/3.2/api/Phalcon_Annotations_AdapterInterface) Source on GitHub @@ -14,34 +14,34 @@ public **read** (*mixed* $key) Reads parsed annotations from memory -public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) $data) +public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) $data) Writes parsed annotations to memory -public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Sets the annotations parser -public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotation reader -public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Parses or retrieves all the annotations found in a class -public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific method -public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific property \ No newline at end of file diff --git a/ar/api/Phalcon_Annotations_Adapter_Xcache.md b/ar/api/Phalcon_Annotations_Adapter_Xcache.md index 79bfa9e6b4d3..37c97e7e6b8c 100644 --- a/ar/api/Phalcon_Annotations_Adapter_Xcache.md +++ b/ar/api/Phalcon_Annotations_Adapter_Xcache.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Annotations\\Adapter\\Xcache** -*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) -*implements* [Phalcon\Annotations\AdapterInterface](/en/3.1.2/api/Phalcon_Annotations_AdapterInterface) +*implements* [Phalcon\Annotations\AdapterInterface](/en/3.2/api/Phalcon_Annotations_AdapterInterface) Source on GitHub @@ -17,38 +17,38 @@ $annotations = new \Phalcon\Annotations\Adapter\Xcache(); ## Methods -public [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) **read** (*string* $key) +public [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) **read** (*string* $key) Reads parsed annotations from XCache -public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) $data) +public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) $data) Writes parsed annotations to XCache -public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Sets the annotations parser -public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotation reader -public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Parses or retrieves all the annotations found in a class -public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific method -public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific property \ No newline at end of file diff --git a/ar/api/Phalcon_Annotations_Collection.md b/ar/api/Phalcon_Annotations_Collection.md index 8176520b43ea..ba33511a50fe 100644 --- a/ar/api/Phalcon_Annotations_Collection.md +++ b/ar/api/Phalcon_Annotations_Collection.md @@ -36,7 +36,7 @@ public **rewind** () Rewinds the internal iterator -public [Phalcon\Annotations\Annotation](/en/3.1.2/api/Phalcon_Annotations_Annotation) **current** () +public [Phalcon\Annotations\Annotation](/en/3.2/api/Phalcon_Annotations_Annotation) **current** () Returns the current annotation in the iterator diff --git a/ar/api/Phalcon_Annotations_Reader.md b/ar/api/Phalcon_Annotations_Reader.md index 56ca9b058cd1..4e8e513ffea9 100644 --- a/ar/api/Phalcon_Annotations_Reader.md +++ b/ar/api/Phalcon_Annotations_Reader.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Annotations\\Reader** -*implements* [Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) +*implements* [Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) Source on GitHub diff --git a/ar/api/Phalcon_Application.md b/ar/api/Phalcon_Application.md index e7e767824af2..5ff2b07edaf4 100644 --- a/ar/api/Phalcon_Application.md +++ b/ar/api/Phalcon_Application.md @@ -1,8 +1,8 @@ # Abstract class **Phalcon\\Application** -*extends* abstract class [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +*extends* abstract class [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) -*implements* [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface) +*implements* [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface) Source on GitHub @@ -10,9 +10,9 @@ Base class for Phalcon\\Cli\\Console and Phalcon\\Mvc\\Application. ## Methods -public **__construct** ([[Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector]) +public **__construct** ([[Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector]) -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) Sets the events manager @@ -62,14 +62,14 @@ abstract public **handle** () Handles a request -public **setDI** ([Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **setDI** ([Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Sets the dependency injector -public **getDI** () inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **getDI** () inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Returns the internal dependency injector -public **__get** (*mixed* $propertyName) inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **__get** (*mixed* $propertyName) inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Magic method __get \ No newline at end of file diff --git a/ar/api/Phalcon_Application_Exception.md b/ar/api/Phalcon_Application_Exception.md index ade9f4d1b49e..49637aa88e5e 100644 --- a/ar/api/Phalcon_Application_Exception.md +++ b/ar/api/Phalcon_Application_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Application\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/ar/api/Phalcon_Assets_Collection.md b/ar/api/Phalcon_Assets_Collection.md index 9c3e06cdb077..f6f18d5a1d60 100644 --- a/ar/api/Phalcon_Assets_Collection.md +++ b/ar/api/Phalcon_Assets_Collection.md @@ -56,14 +56,35 @@ public **getSourcePath** () ... -public **add** ([Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) $resource) +public **__construct** () + +Phalcon\\Assets\\Collection constructor + +public **add** ([Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) $resource) Adds a resource to the collection -public **addInline** ([Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) $code) +public **addInline** ([Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) $code) Adds an inline code to the collection +public **has** ([Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) $resource) + +Checks this the resource is added to the collection. + +```php +has($resource); // true + +``` + public **addCss** (*mixed* $path, [*mixed* $local], [*mixed* $filter], [*mixed* $attributes]) Adds a CSS resource to the collection @@ -72,7 +93,7 @@ public **addInlineCss** (*mixed* $content, [*mixed* $filter], [*mixed* $attribut Adds an inline CSS to the collection -public [Phalcon\Assets\Collection](/en/3.1.2/api/Phalcon_Assets_Collection) **addJs** (*string* $path, [*boolean* $local], [*boolean* $filter], [*array* $attributes]) +public [Phalcon\Assets\Collection](/en/3.2/api/Phalcon_Assets_Collection) **addJs** (*string* $path, [*boolean* $local], [*boolean* $filter], [*array* $attributes]) Adds a javascript resource to the collection @@ -144,6 +165,10 @@ public **getRealTargetPath** (*mixed* $basePath) Returns the complete location where the joined/filtered collection must be written -public **addFilter** ([Phalcon\Assets\FilterInterface](/en/3.1.2/api/Phalcon_Assets_FilterInterface) $filter) +public **addFilter** ([Phalcon\Assets\FilterInterface](/en/3.2/api/Phalcon_Assets_FilterInterface) $filter) + +Adds a filter to the collection + +final protected **addResource** ([Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) $resource) -Adds a filter to the collection \ No newline at end of file +Adds a resource or inline-code to the collection \ No newline at end of file diff --git a/ar/api/Phalcon_Assets_Exception.md b/ar/api/Phalcon_Assets_Exception.md index bf3c9a57c01a..4c8c0516fd94 100644 --- a/ar/api/Phalcon_Assets_Exception.md +++ b/ar/api/Phalcon_Assets_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Assets\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/ar/api/Phalcon_Assets_Filters_Cssmin.md b/ar/api/Phalcon_Assets_Filters_Cssmin.md index 75e2781f79a0..a807a59e4880 100644 --- a/ar/api/Phalcon_Assets_Filters_Cssmin.md +++ b/ar/api/Phalcon_Assets_Filters_Cssmin.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Assets\\Filters\\Cssmin** -*implements* [Phalcon\Assets\FilterInterface](/en/3.1.2/api/Phalcon_Assets_FilterInterface) +*implements* [Phalcon\Assets\FilterInterface](/en/3.2/api/Phalcon_Assets_FilterInterface) Source on GitHub diff --git a/ar/api/Phalcon_Assets_Filters_Jsmin.md b/ar/api/Phalcon_Assets_Filters_Jsmin.md index 2ee9aa7f5390..2bfe2b4851a4 100644 --- a/ar/api/Phalcon_Assets_Filters_Jsmin.md +++ b/ar/api/Phalcon_Assets_Filters_Jsmin.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Assets\\Filters\\Jsmin** -*implements* [Phalcon\Assets\FilterInterface](/en/3.1.2/api/Phalcon_Assets_FilterInterface) +*implements* [Phalcon\Assets\FilterInterface](/en/3.2/api/Phalcon_Assets_FilterInterface) Source on GitHub diff --git a/ar/api/Phalcon_Assets_Filters_None.md b/ar/api/Phalcon_Assets_Filters_None.md index 93c79dd941f6..60e59aac09de 100644 --- a/ar/api/Phalcon_Assets_Filters_None.md +++ b/ar/api/Phalcon_Assets_Filters_None.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Assets\\Filters\\None** -*implements* [Phalcon\Assets\FilterInterface](/en/3.1.2/api/Phalcon_Assets_FilterInterface) +*implements* [Phalcon\Assets\FilterInterface](/en/3.2/api/Phalcon_Assets_FilterInterface) Source on GitHub diff --git a/ar/api/Phalcon_Assets_Inline.md b/ar/api/Phalcon_Assets_Inline.md index 05a1f622aa48..e5c3ef631536 100644 --- a/ar/api/Phalcon_Assets_Inline.md +++ b/ar/api/Phalcon_Assets_Inline.md @@ -1,5 +1,7 @@ # Class **Phalcon\\Assets\\Inline** +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) + Source on GitHub Represents an inline asset @@ -43,4 +45,8 @@ Sets if the resource must be filtered or not public **setAttributes** (*array* $attributes) -Sets extra HTML attributes \ No newline at end of file +Sets extra HTML attributes + +public **getResourceKey** () + +Gets the resource's key. \ No newline at end of file diff --git a/ar/api/Phalcon_Assets_Inline_Css.md b/ar/api/Phalcon_Assets_Inline_Css.md index c4d7a9d0e919..aad74b78beca 100644 --- a/ar/api/Phalcon_Assets_Inline_Css.md +++ b/ar/api/Phalcon_Assets_Inline_Css.md @@ -1,6 +1,8 @@ # Class **Phalcon\\Assets\\Inline\\Css** -*extends* class [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +*extends* class [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) + +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) Source on GitHub @@ -10,30 +12,34 @@ Represents an inlined CSS public **__construct** (*string* $content, [*boolean* $filter], [*array* $attributes]) -public **getType** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getType** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getContent** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getContent** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getFilter** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getFilter** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getAttributes** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getAttributes** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) Sets the inline's type -public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) Sets if the resource must be filtered or not -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) + +Sets extra HTML attributes + +public **getResourceKey** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) -Sets extra HTML attributes \ No newline at end of file +Gets the resource's key. \ No newline at end of file diff --git a/ar/api/Phalcon_Assets_Inline_Js.md b/ar/api/Phalcon_Assets_Inline_Js.md index 27d57246d817..1cce336b4116 100644 --- a/ar/api/Phalcon_Assets_Inline_Js.md +++ b/ar/api/Phalcon_Assets_Inline_Js.md @@ -1,6 +1,8 @@ # Class **Phalcon\\Assets\\Inline\\Js** -*extends* class [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +*extends* class [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) + +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) Source on GitHub @@ -10,30 +12,34 @@ Represents an inline Javascript public **__construct** (*string* $content, [*boolean* $filter], [*array* $attributes]) -public **getType** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getType** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getContent** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getContent** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getFilter** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getFilter** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getAttributes** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getAttributes** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) Sets the inline's type -public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) Sets if the resource must be filtered or not -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) + +Sets extra HTML attributes + +public **getResourceKey** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) -Sets extra HTML attributes \ No newline at end of file +Gets the resource's key. \ No newline at end of file diff --git a/ar/api/Phalcon_Assets_Manager.md b/ar/api/Phalcon_Assets_Manager.md index 55ab07f19201..13ecabf4ff9c 100644 --- a/ar/api/Phalcon_Assets_Manager.md +++ b/ar/api/Phalcon_Assets_Manager.md @@ -52,7 +52,7 @@ public **addInlineJs** (*mixed* $content, [*mixed* $filter], [*mixed* $attribute Adds an inline javascript to the 'js' collection -public **addResourceByType** (*mixed* $type, [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) $resource) +public **addResourceByType** (*mixed* $type, [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) $resource) Adds a resource by its type @@ -65,11 +65,11 @@ $assets->addResourceByType("css", ``` -public **addInlineCodeByType** (*mixed* $type, [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) $code) +public **addInlineCodeByType** (*mixed* $type, [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) $code) Adds an inline code by its type -public **addResource** ([Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) $resource) +public **addResource** ([Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) $resource) Adds a raw resource to the manager @@ -82,11 +82,11 @@ $assets->addResource( ``` -public **addInlineCode** ([Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) $code) +public **addInlineCode** ([Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) $code) Adds a raw inline code to the manager -public **set** (*mixed* $id, [Phalcon\Assets\Collection](/en/3.1.2/api/Phalcon_Assets_Collection) $collection) +public **set** (*mixed* $id, [Phalcon\Assets\Collection](/en/3.2/api/Phalcon_Assets_Collection) $collection) Sets a collection in the Assets Manager @@ -99,7 +99,7 @@ $assets->set("js", $collection); public **get** (*mixed* $id) -Returns a collection by its id +Returns a collection by its id. ```php exists("jsHeader")) { + // \Phalcon\Assets\Collection + $collection = $assets->get("jsHeader"); +} + +``` \ No newline at end of file diff --git a/ar/api/Phalcon_Assets_Resource.md b/ar/api/Phalcon_Assets_Resource.md index 9718061c348e..d67dc71b7929 100644 --- a/ar/api/Phalcon_Assets_Resource.md +++ b/ar/api/Phalcon_Assets_Resource.md @@ -1,5 +1,7 @@ # Class **Phalcon\\Assets\\Resource** +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) + Source on GitHub Represents an asset resource @@ -85,4 +87,8 @@ Returns the complete location where the resource is located public **getRealTargetPath** ([*mixed* $basePath]) -Returns the complete location where the resource must be written \ No newline at end of file +Returns the complete location where the resource must be written + +public **getResourceKey** () + +Gets the resource's key. \ No newline at end of file diff --git a/ar/api/Phalcon_Assets_Resource_Css.md b/ar/api/Phalcon_Assets_Resource_Css.md index 9376a4de5f6d..11c938e391ca 100644 --- a/ar/api/Phalcon_Assets_Resource_Css.md +++ b/ar/api/Phalcon_Assets_Resource_Css.md @@ -1,6 +1,8 @@ # Class **Phalcon\\Assets\\Resource\\Css** -*extends* class [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +*extends* class [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) + +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) Source on GitHub @@ -10,72 +12,76 @@ Represents CSS resources public **__construct** (*string* $path, [*boolean* $local], [*boolean* $filter], [*array* $attributes]) -public **getType** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getType** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getPath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getPath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getLocal** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getLocal** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getFilter** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getFilter** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getAttributes** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getAttributes** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getSourcePath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getSourcePath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **getTargetPath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getTargetPath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **getTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's type -public **setPath** (*mixed* $path) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setPath** (*mixed* $path) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's path -public **setLocal** (*mixed* $local) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setLocal** (*mixed* $local) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets if the resource is local or external -public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets if the resource must be filtered or not -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets extra HTML attributes -public **setTargetUri** (*mixed* $targetUri) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setTargetUri** (*mixed* $targetUri) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets a target uri for the generated HTML -public **setSourcePath** (*mixed* $sourcePath) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setSourcePath** (*mixed* $sourcePath) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's source path -public **setTargetPath** (*mixed* $targetPath) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setTargetPath** (*mixed* $targetPath) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's target path -public **getContent** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getContent** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the content of the resource as an string Optionally a base path where the resource is located can be set -public **getRealTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the real target uri for the generated HTML -public **getRealSourcePath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealSourcePath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the complete location where the resource is located -public **getRealTargetPath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealTargetPath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) + +Returns the complete location where the resource must be written + +public **getResourceKey** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -Returns the complete location where the resource must be written \ No newline at end of file +Gets the resource's key. \ No newline at end of file diff --git a/ar/api/Phalcon_Assets_Resource_Js.md b/ar/api/Phalcon_Assets_Resource_Js.md index a4c132ff1ed1..2acc4d239b9d 100644 --- a/ar/api/Phalcon_Assets_Resource_Js.md +++ b/ar/api/Phalcon_Assets_Resource_Js.md @@ -1,6 +1,8 @@ # Class **Phalcon\\Assets\\Resource\\Js** -*extends* class [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +*extends* class [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) + +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) Source on GitHub @@ -10,72 +12,76 @@ Represents Javascript resources public **__construct** (*string* $path, [*boolean* $local], [*boolean* $filter], [*array* $attributes]) -public **getType** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getType** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getPath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getPath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getLocal** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getLocal** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getFilter** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getFilter** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getAttributes** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getAttributes** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getSourcePath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getSourcePath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **getTargetPath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getTargetPath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **getTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's type -public **setPath** (*mixed* $path) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setPath** (*mixed* $path) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's path -public **setLocal** (*mixed* $local) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setLocal** (*mixed* $local) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets if the resource is local or external -public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets if the resource must be filtered or not -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets extra HTML attributes -public **setTargetUri** (*mixed* $targetUri) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setTargetUri** (*mixed* $targetUri) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets a target uri for the generated HTML -public **setSourcePath** (*mixed* $sourcePath) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setSourcePath** (*mixed* $sourcePath) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's source path -public **setTargetPath** (*mixed* $targetPath) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setTargetPath** (*mixed* $targetPath) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's target path -public **getContent** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getContent** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the content of the resource as an string Optionally a base path where the resource is located can be set -public **getRealTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the real target uri for the generated HTML -public **getRealSourcePath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealSourcePath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the complete location where the resource is located -public **getRealTargetPath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealTargetPath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) + +Returns the complete location where the resource must be written + +public **getResourceKey** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -Returns the complete location where the resource must be written \ No newline at end of file +Gets the resource's key. \ No newline at end of file diff --git a/ar/api/Phalcon_Cache_Backend.md b/ar/api/Phalcon_Cache_Backend.md index f81ba2e57820..6e8b2e14bbff 100644 --- a/ar/api/Phalcon_Cache_Backend.md +++ b/ar/api/Phalcon_Cache_Backend.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Cache\\Backend** -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -32,7 +32,7 @@ public **setLastKey** (*mixed* $lastKey) ... -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend constructor @@ -56,22 +56,22 @@ public *int* **getLifetime** () Gets the last lifetime set -abstract public **get** (*mixed* $keyName, [*mixed* $lifetime]) inherited from [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +abstract public **get** (*mixed* $keyName, [*mixed* $lifetime]) inherited from [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) ... -abstract public **save** ([*mixed* $keyName], [*mixed* $content], [*mixed* $lifetime], [*mixed* $stopBuffer]) inherited from [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +abstract public **save** ([*mixed* $keyName], [*mixed* $content], [*mixed* $lifetime], [*mixed* $stopBuffer]) inherited from [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) ... -abstract public **delete** (*mixed* $keyName) inherited from [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +abstract public **delete** (*mixed* $keyName) inherited from [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) ... -abstract public **queryKeys** ([*mixed* $prefix]) inherited from [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +abstract public **queryKeys** ([*mixed* $prefix]) inherited from [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) ... -abstract public **exists** ([*mixed* $keyName], [*mixed* $lifetime]) inherited from [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +abstract public **exists** ([*mixed* $keyName], [*mixed* $lifetime]) inherited from [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) ... \ No newline at end of file diff --git a/ar/api/Phalcon_Cache_Backend_Apc.md b/ar/api/Phalcon_Cache_Backend_Apc.md index 6f08c1fef4b7..92b01c89d25a 100644 --- a/ar/api/Phalcon_Cache_Backend_Apc.md +++ b/ar/api/Phalcon_Cache_Backend_Apc.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Apc** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -94,50 +94,50 @@ $cache->flush(); ``` -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Phalcon\\Cache\\Backend constructor -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/ar/api/Phalcon_Cache_Backend_File.md b/ar/api/Phalcon_Cache_Backend_File.md index 78c3aff0e84c..3ea73b705889 100644 --- a/ar/api/Phalcon_Cache_Backend_File.md +++ b/ar/api/Phalcon_Cache_Backend_File.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\File** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -44,7 +44,7 @@ if ($content === null) { ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, *array* $options) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, *array* $options) Phalcon\\Cache\\Backend\\File constructor @@ -98,46 +98,46 @@ public **useSafeKey** (*mixed* $useSafeKey) Set whether to use the safekey or not -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/ar/api/Phalcon_Cache_Backend_Libmemcached.md b/ar/api/Phalcon_Cache_Backend_Libmemcached.md index 88948897b300..9ec4b031d82e 100644 --- a/ar/api/Phalcon_Cache_Backend_Libmemcached.md +++ b/ar/api/Phalcon_Cache_Backend_Libmemcached.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Libmemcached** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -49,7 +49,7 @@ $data = $cache->get("my-data"); ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend\\Memcache constructor @@ -116,46 +116,46 @@ $cache->flush(); ``` -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/ar/api/Phalcon_Cache_Backend_Memcache.md b/ar/api/Phalcon_Cache_Backend_Memcache.md index 7310592149b1..6f2575ca5c8d 100644 --- a/ar/api/Phalcon_Cache_Backend_Memcache.md +++ b/ar/api/Phalcon_Cache_Backend_Memcache.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Memcache** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -43,7 +43,7 @@ $data = $cache->get("my-data"); ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend\\Memcache constructor @@ -97,46 +97,46 @@ public **flush** () Immediately invalidates all existing items. -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/ar/api/Phalcon_Cache_Backend_Memory.md b/ar/api/Phalcon_Cache_Backend_Memory.md index 06a4216cf7ac..a269432ab9f3 100644 --- a/ar/api/Phalcon_Cache_Backend_Memory.md +++ b/ar/api/Phalcon_Cache_Backend_Memory.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Memory** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface), [Serializable](http://php.net/manual/en/class.serializable.php) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface), [Serializable](http://php.net/manual/en/class.serializable.php) Source on GitHub @@ -79,50 +79,50 @@ public **unserialize** (*mixed* $data) Required for interface \\Serializable -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Phalcon\\Cache\\Backend constructor -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/ar/api/Phalcon_Cache_Backend_Mongo.md b/ar/api/Phalcon_Cache_Backend_Mongo.md index 9ad0f67b530c..6421cd0f4f29 100644 --- a/ar/api/Phalcon_Cache_Backend_Mongo.md +++ b/ar/api/Phalcon_Cache_Backend_Mongo.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Mongo** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -44,7 +44,7 @@ $data = $cache->get("my-data"); ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend\\Mongo constructor @@ -98,46 +98,46 @@ public **flush** () Immediately invalidates all existing items. -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/ar/api/Phalcon_Cache_Backend_Redis.md b/ar/api/Phalcon_Cache_Backend_Redis.md index 123bf025f2af..a3509251d509 100644 --- a/ar/api/Phalcon_Cache_Backend_Redis.md +++ b/ar/api/Phalcon_Cache_Backend_Redis.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Redis** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -45,7 +45,7 @@ $data = $cache->get("my-data"); ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend\\Redis constructor @@ -105,46 +105,46 @@ public **flush** () Immediately invalidates all existing items. -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/ar/api/Phalcon_Cache_Backend_Xcache.md b/ar/api/Phalcon_Cache_Backend_Xcache.md index b91e75b19c79..7dac8215d5f3 100644 --- a/ar/api/Phalcon_Cache_Backend_Xcache.md +++ b/ar/api/Phalcon_Cache_Backend_Xcache.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Xcache** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -38,7 +38,7 @@ $data = $cache->get("my-data"); ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend\\Xcache constructor @@ -84,46 +84,46 @@ public **flush** () Immediately invalidates all existing items. -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/ar/api/Phalcon_Cache_Exception.md b/ar/api/Phalcon_Cache_Exception.md index cbb05a3a76e4..87f2372e7864 100644 --- a/ar/api/Phalcon_Cache_Exception.md +++ b/ar/api/Phalcon_Cache_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/ar/api/Phalcon_Cache_Frontend_Base64.md b/ar/api/Phalcon_Cache_Frontend_Base64.md index 92f36996b4b7..473895a88aa8 100644 --- a/ar/api/Phalcon_Cache_Frontend_Base64.md +++ b/ar/api/Phalcon_Cache_Frontend_Base64.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Frontend\\Base64** -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/ar/api/Phalcon_Cache_Frontend_Data.md b/ar/api/Phalcon_Cache_Frontend_Data.md index f46469ab7410..1f249be7103c 100644 --- a/ar/api/Phalcon_Cache_Frontend_Data.md +++ b/ar/api/Phalcon_Cache_Frontend_Data.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Frontend\\Data** -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/ar/api/Phalcon_Cache_Frontend_Igbinary.md b/ar/api/Phalcon_Cache_Frontend_Igbinary.md index 1460a42ce867..714a96bb4de1 100644 --- a/ar/api/Phalcon_Cache_Frontend_Igbinary.md +++ b/ar/api/Phalcon_Cache_Frontend_Igbinary.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Frontend\\Igbinary** -*extends* class [Phalcon\Cache\Frontend\Data](/en/3.1.2/api/Phalcon_Cache_Frontend_Data) +*extends* class [Phalcon\Cache\Frontend\Data](/en/3.2/api/Phalcon_Cache_Frontend_Data) -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/ar/api/Phalcon_Cache_Frontend_Json.md b/ar/api/Phalcon_Cache_Frontend_Json.md index 64a296ca976f..bfe39cdc53c4 100644 --- a/ar/api/Phalcon_Cache_Frontend_Json.md +++ b/ar/api/Phalcon_Cache_Frontend_Json.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Frontend\\Json** -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/ar/api/Phalcon_Cache_Frontend_Msgpack.md b/ar/api/Phalcon_Cache_Frontend_Msgpack.md index f77a99a21168..857b40d4bbdc 100644 --- a/ar/api/Phalcon_Cache_Frontend_Msgpack.md +++ b/ar/api/Phalcon_Cache_Frontend_Msgpack.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Frontend\\Msgpack** -*extends* class [Phalcon\Cache\Frontend\Data](/en/3.1.2/api/Phalcon_Cache_Frontend_Data) +*extends* class [Phalcon\Cache\Frontend\Data](/en/3.2/api/Phalcon_Cache_Frontend_Data) -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/ar/api/Phalcon_Cache_Frontend_None.md b/ar/api/Phalcon_Cache_Frontend_None.md index 521fcd02f344..bdc0af2d4135 100644 --- a/ar/api/Phalcon_Cache_Frontend_None.md +++ b/ar/api/Phalcon_Cache_Frontend_None.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Frontend\\None** -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/ar/api/Phalcon_Cache_Frontend_Output.md b/ar/api/Phalcon_Cache_Frontend_Output.md index 8421c02f1276..c6a0543703d6 100644 --- a/ar/api/Phalcon_Cache_Frontend_Output.md +++ b/ar/api/Phalcon_Cache_Frontend_Output.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Frontend\\Output** -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/ar/api/Phalcon_Cache_Multiple.md b/ar/api/Phalcon_Cache_Multiple.md index bbfa61a13274..1d9fd1365aa9 100644 --- a/ar/api/Phalcon_Cache_Multiple.md +++ b/ar/api/Phalcon_Cache_Multiple.md @@ -65,11 +65,11 @@ $cache->save("my-key", $data); ## Methods -public **__construct** ([[Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface[]) $backends]) +public **__construct** ([[Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface[]) $backends]) Phalcon\\Cache\\Multiple constructor -public **push** ([Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) $backend) +public **push** ([Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) $backend) Adds a backend diff --git a/ar/api/Phalcon_Cli_Console.md b/ar/api/Phalcon_Cli_Console.md index c769b7ad7659..f0337bf3f1ec 100644 --- a/ar/api/Phalcon_Cli_Console.md +++ b/ar/api/Phalcon_Cli_Console.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cli\\Console** -*extends* abstract class [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +*extends* abstract class [Phalcon\Application](/en/3.2/api/Phalcon_Application) -*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -36,19 +36,19 @@ public **setArgument** ([*array* $arguments], [*mixed* $str], [*mixed* $shift]) Set an specific argument -public **__construct** ([[Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector]) inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **__construct** ([[Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector]) inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Phalcon\\Application -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Sets the events manager -public **getEventsManager** () inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **getEventsManager** () inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Returns the internal event manager -public **registerModules** (*array* $modules, [*mixed* $merge]) inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **registerModules** (*array* $modules, [*mixed* $merge]) inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Register an array of modules present in the application @@ -70,30 +70,30 @@ $this->registerModules( ``` -public **getModules** () inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **getModules** () inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Return the modules registered in the application -public **getModule** (*mixed* $name) inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **getModule** (*mixed* $name) inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Gets the module definition registered in the application via module name -public **setDefaultModule** (*mixed* $defaultModule) inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **setDefaultModule** (*mixed* $defaultModule) inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Sets the module name to be used if the router doesn't return a valid module -public **getDefaultModule** () inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **getDefaultModule** () inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Returns the default module name -public **setDI** ([Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **setDI** ([Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Sets the dependency injector -public **getDI** () inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **getDI** () inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Returns the internal dependency injector -public **__get** (*mixed* $propertyName) inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **__get** (*mixed* $propertyName) inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Magic method __get \ No newline at end of file diff --git a/ar/api/Phalcon_Cli_Console_Exception.md b/ar/api/Phalcon_Cli_Console_Exception.md index 64a6f1f9162a..e7bfea5dbde1 100644 --- a/ar/api/Phalcon_Cli_Console_Exception.md +++ b/ar/api/Phalcon_Cli_Console_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cli\\Console\\Exception** -*extends* class [Phalcon\Application\Exception](/en/3.1.2/api/Phalcon_Application_Exception) +*extends* class [Phalcon\Application\Exception](/en/3.2/api/Phalcon_Application_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/ar/api/Phalcon_Cli_Dispatcher.md b/ar/api/Phalcon_Cli_Dispatcher.md index 7b91f5c9f537..f03b7c7c61ac 100644 --- a/ar/api/Phalcon_Cli_Dispatcher.md +++ b/ar/api/Phalcon_Cli_Dispatcher.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cli\\Dispatcher** -*extends* abstract class [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +*extends* abstract class [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) -*implements* [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface), [Phalcon\Cli\DispatcherInterface](/en/3.1.2/api/Phalcon_Cli_DispatcherInterface) +*implements* [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface), [Phalcon\Cli\DispatcherInterface](/en/3.2/api/Phalcon_Cli_DispatcherInterface) Source on GitHub @@ -11,10 +11,11 @@ Dispatching is the process of taking the command-line arguments, extracting the ```php setDi($di); $dispatcher->setTaskName("posts"); @@ -81,107 +82,115 @@ public **getOptions** () Get dispatched options +public **getOption** (*mixed* $option, [*string* | *array* $filters], [*mixed* $defaultValue]) + +Gets an option by its name or numeric index + +public **hasOption** (*mixed* $option) + +Check if an option exists + public **callActionMethod** (*mixed* $handler, *mixed* $actionMethod, [*array* $params]) -... +Calls the action method. -public **setDI** ([Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setDI** ([Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the dependency injector -public **getDI** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getDI** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns the internal dependency injector -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the events manager -public **getEventsManager** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getEventsManager** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns the internal event manager -public **setActionSuffix** (*mixed* $actionSuffix) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setActionSuffix** (*mixed* $actionSuffix) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the default action suffix -public **getActionSuffix** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getActionSuffix** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets the default action suffix -public **setModuleName** (*mixed* $moduleName) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setModuleName** (*mixed* $moduleName) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the module where the controller is (only informative) -public **getModuleName** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getModuleName** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets the module where the controller class is -public **setNamespaceName** (*mixed* $namespaceName) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setNamespaceName** (*mixed* $namespaceName) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the namespace where the controller class is -public **getNamespaceName** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getNamespaceName** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets a namespace to be prepended to the current handler name -public **setDefaultNamespace** (*mixed* $namespaceName) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setDefaultNamespace** (*mixed* $namespaceName) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the default namespace -public **getDefaultNamespace** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getDefaultNamespace** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns the default namespace -public **setDefaultAction** (*mixed* $actionName) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setDefaultAction** (*mixed* $actionName) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the default action name -public **setActionName** (*mixed* $actionName) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setActionName** (*mixed* $actionName) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the action name to be dispatched -public **getActionName** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getActionName** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets the latest dispatched action name -public **setParams** (*array* $params) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setParams** (*array* $params) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets action params to be dispatched -public **getParams** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getParams** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets action params -public **setParam** (*mixed* $param, *mixed* $value) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setParam** (*mixed* $param, *mixed* $value) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Set a param by its name or numeric index -public *mixed* **getParam** (*mixed* $param, [*string* | *array* $filters], [*mixed* $defaultValue]) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public *mixed* **getParam** (*mixed* $param, [*string* | *array* $filters], [*mixed* $defaultValue]) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets a param by its name or numeric index -public *boolean* **hasParam** (*mixed* $param) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public *boolean* **hasParam** (*mixed* $param) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Check if a param exists -public **getActiveMethod** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getActiveMethod** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns the current method to be/executed in the dispatcher -public **isFinished** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **isFinished** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Checks if the dispatch loop is finished or has more pendent controllers/tasks to dispatch -public **setReturnedValue** (*mixed* $value) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setReturnedValue** (*mixed* $value) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the latest returned value by an action manually -public *mixed* **getReturnedValue** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public *mixed* **getReturnedValue** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns value returned by the latest dispatched action -public **setModelBinding** (*mixed* $value, [*mixed* $cache]) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setModelBinding** (*mixed* $value, [*mixed* $cache]) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Enable/Disable model binding during dispatch @@ -197,7 +206,7 @@ $di->set('dispatcher', function() { ``` -public **setModelBinder** ([Phalcon\Mvc\Model\BinderInterface](/en/3.1.2/api/Phalcon_Mvc_Model_BinderInterface) $modelBinder, [*mixed* $cache]) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setModelBinder** ([Phalcon\Mvc\Model\BinderInterface](/en/3.2/api/Phalcon_Mvc_Model_BinderInterface) $modelBinder, [*mixed* $cache]) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Enable model binding during dispatch @@ -213,21 +222,21 @@ $di->set('dispatcher', function() { ``` -public **getModelBinder** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getModelBinder** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets model binder -public *object* **dispatch** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public *object* **dispatch** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Dispatches a handle action taking into account the routing parameters -protected *object* **_dispatch** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +protected *object* **_dispatch** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Dispatches a handle action taking into account the routing parameters -public **forward** (*array* $forward) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **forward** (*array* $forward) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) -Forwards the execution flow to another controller/action Dispatchers are unique per module. Forwarding between modules is not allowed +Forwards the execution flow to another controller/action. ```php dispatcher->forward( ``` -public **wasForwarded** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **wasForwarded** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Check if the current executed action was forwarded by another one -public **getHandlerClass** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getHandlerClass** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Possible class name that will be located to dispatch the request -public **getBoundModels** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getBoundModels** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns bound models from binder instance @@ -266,6 +275,6 @@ class UserController extends Controller ``` -protected **_resolveEmptyProperties** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +protected **_resolveEmptyProperties** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Set empty properties to their defaults (where defaults are available) \ No newline at end of file diff --git a/ar/api/Phalcon_Cli_DispatcherInterface.md b/ar/api/Phalcon_Cli_DispatcherInterface.md index 58914bf4b682..78f4d7b40c9c 100644 --- a/ar/api/Phalcon_Cli_DispatcherInterface.md +++ b/ar/api/Phalcon_Cli_DispatcherInterface.md @@ -1,6 +1,6 @@ # Interface **Phalcon\\Cli\\DispatcherInterface** -*implements* [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +*implements* [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) Source on GitHub @@ -30,70 +30,70 @@ abstract public **getActiveTask** () ... -abstract public **setActionSuffix** (*mixed* $actionSuffix) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setActionSuffix** (*mixed* $actionSuffix) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **getActionSuffix** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **getActionSuffix** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setDefaultNamespace** (*mixed* $defaultNamespace) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setDefaultNamespace** (*mixed* $defaultNamespace) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setDefaultAction** (*mixed* $actionName) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setDefaultAction** (*mixed* $actionName) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setNamespaceName** (*mixed* $namespaceName) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setNamespaceName** (*mixed* $namespaceName) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setModuleName** (*mixed* $moduleName) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setModuleName** (*mixed* $moduleName) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setActionName** (*mixed* $actionName) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setActionName** (*mixed* $actionName) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **getActionName** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **getActionName** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setParams** (*mixed* $params) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setParams** (*mixed* $params) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **getParams** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **getParams** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setParam** (*mixed* $param, *mixed* $value) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setParam** (*mixed* $param, *mixed* $value) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **getParam** (*mixed* $param, [*mixed* $filters]) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **getParam** (*mixed* $param, [*mixed* $filters]) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **hasParam** (*mixed* $param) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **hasParam** (*mixed* $param) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **isFinished** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **isFinished** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **getReturnedValue** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **getReturnedValue** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **dispatch** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **dispatch** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **forward** (*mixed* $forward) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **forward** (*mixed* $forward) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... \ No newline at end of file diff --git a/ar/api/Phalcon_Cli_Dispatcher_Exception.md b/ar/api/Phalcon_Cli_Dispatcher_Exception.md index 0eeb05860d89..fbd0a6c4292d 100644 --- a/ar/api/Phalcon_Cli_Dispatcher_Exception.md +++ b/ar/api/Phalcon_Cli_Dispatcher_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cli\\Dispatcher\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/ar/api/Phalcon_Cli_Router.md b/ar/api/Phalcon_Cli_Router.md index d2cb10a44276..5a0943627b36 100644 --- a/ar/api/Phalcon_Cli_Router.md +++ b/ar/api/Phalcon_Cli_Router.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cli\\Router** -*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface) +*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface) Source on GitHub @@ -29,7 +29,7 @@ public **__construct** ([*mixed* $defaultRoutes]) Phalcon\\Cli\\Router constructor -public **setDI** ([Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector) +public **setDI** ([Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector) Sets the dependency injector @@ -69,7 +69,7 @@ public **handle** ([*array* $arguments]) Handles routing information received from command-line arguments -public [Phalcon\Cli\Router\Route](/en/3.1.2/api/Phalcon_Cli_Router_Route) **add** (*string* $pattern, [*string/array* $paths]) +public [Phalcon\Cli\Router\Route](/en/3.2/api/Phalcon_Cli_Router_Route) **add** (*string* $pattern, [*string/array* $paths]) Adds a route to the router @@ -112,7 +112,7 @@ public **getRoutes** () Returns all the routes defined in the router -public [Phalcon\Cli\Router\Route](/en/3.1.2/api/Phalcon_Cli_Router_Route) **getRouteById** (*int* $id) +public [Phalcon\Cli\Router\Route](/en/3.2/api/Phalcon_Cli_Router_Route) **getRouteById** (*int* $id) Returns a route object by its id diff --git a/ar/api/Phalcon_Cli_Router_Exception.md b/ar/api/Phalcon_Cli_Router_Exception.md index ebd81a411422..e063b3861132 100644 --- a/ar/api/Phalcon_Cli_Router_Exception.md +++ b/ar/api/Phalcon_Cli_Router_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cli\\Router\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/ar/api/Phalcon_Db_Adapter.md b/ar/api/Phalcon_Db_Adapter.md index c1deaded19cd..a5d397a98c83 100644 --- a/ar/api/Phalcon_Db_Adapter.md +++ b/ar/api/Phalcon_Db_Adapter.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Db\\Adapter** -*implements* [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -24,7 +24,7 @@ public **__construct** (*array* $descriptor) Phalcon\\Db\\Adapter constructor -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) Sets the event manager @@ -32,7 +32,7 @@ public **getEventsManager** () Returns the internal event manager -public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) $dialect) +public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) $dialect) Sets the dialect used to produce the SQL @@ -309,11 +309,11 @@ public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExist Drops a view -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Adds a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) Modifies a table column based on a definition @@ -321,7 +321,7 @@ public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnN Drops a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Adds an index to a table @@ -329,7 +329,7 @@ public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexNam Drop an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Adds a primary key to a table @@ -337,7 +337,7 @@ public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) Drops a table's primary key -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) Adds a foreign key to a table @@ -345,7 +345,7 @@ public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $ref Drops a foreign key from a table -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Returns the SQL column definition from a column @@ -375,7 +375,7 @@ print_r( ``` -public [Phalcon\Db\Index](/en/3.1.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) +public [Phalcon\Db\Index](/en/3.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) Lists table indexes @@ -512,54 +512,54 @@ public *array* **getSQLBindTypes** () Active SQL statement in the object -abstract public **connect** ([*array* $descriptor]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **connect** ([*array* $descriptor]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **query** (*mixed* $sqlStatement, [*mixed* $placeholders], [*mixed* $dataTypes]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **query** (*mixed* $sqlStatement, [*mixed* $placeholders], [*mixed* $dataTypes]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **execute** (*mixed* $sqlStatement, [*mixed* $placeholders], [*mixed* $dataTypes]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **execute** (*mixed* $sqlStatement, [*mixed* $placeholders], [*mixed* $dataTypes]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **affectedRows** () inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **affectedRows** () inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **close** () inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **close** () inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **lastInsertId** ([*mixed* $sequenceName]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **lastInsertId** ([*mixed* $sequenceName]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **isUnderTransaction** () inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **isUnderTransaction** () inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **getInternalHandler** () inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **getInternalHandler** () inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... \ No newline at end of file diff --git a/ar/api/Phalcon_Db_AdapterInterface.md b/ar/api/Phalcon_Db_AdapterInterface.md index 2b9bec9a2acd..4c6a8f54b3f1 100644 --- a/ar/api/Phalcon_Db_AdapterInterface.md +++ b/ar/api/Phalcon_Db_AdapterInterface.md @@ -64,11 +64,11 @@ abstract public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* ... -abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) ... -abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) ... @@ -76,7 +76,7 @@ abstract public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* ... -abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) ... @@ -84,7 +84,7 @@ abstract public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* ... -abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) ... @@ -92,7 +92,7 @@ abstract public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) ... -abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) ... @@ -100,7 +100,7 @@ abstract public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mi ... -abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) ... diff --git a/ar/api/Phalcon_Db_Adapter_Pdo.md b/ar/api/Phalcon_Db_Adapter_Pdo.md index 44de7d9e6e1f..c23a014e3d58 100644 --- a/ar/api/Phalcon_Db_Adapter_Pdo.md +++ b/ar/api/Phalcon_Db_Adapter_Pdo.md @@ -1,8 +1,8 @@ # Abstract class **Phalcon\\Db\\Adapter\\Pdo** -*extends* abstract class [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +*extends* abstract class [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) -*implements* [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +*implements* [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) Source on GitHub @@ -262,35 +262,35 @@ public *array* **getErrorInfo** () Return the error info, if any -public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Name of the dialect used -public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Type of database system the adapter is used for -public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL bound parameter variables -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the event manager -public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the internal event manager -public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the dialect used to produce the SQL -public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns internal dialect instance -public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the first row in a SQL query result @@ -307,7 +307,7 @@ print_r($robot); ``` -public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Dumps the complete result of a query into an array @@ -338,7 +338,7 @@ foreach($robots as $robot) { ``` -public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the n'th field of first row in a SQL query result @@ -358,7 +358,7 @@ print_r($robot); ``` -public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RDBMS SQL syntax @@ -377,7 +377,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RBDM SQL syntax @@ -398,7 +398,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax @@ -435,7 +435,7 @@ $success = $connection->update( Warning! If $whereCondition is string it not escaped. -public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax Another, more convenient syntax @@ -456,7 +456,7 @@ UPDATE `robots` SET `name` = "Astro boy" WHERE id = 101 ``` -public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Deletes data from a table using custom RBDM SQL syntax @@ -474,7 +474,7 @@ DELETE FROM `robots` WHERE `id` = 101 ``` -public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Escapes a column/table/schema name @@ -494,11 +494,11 @@ $escapedTable = $connection->escapeIdentifier( ``` -public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets a list of columns -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Appends a LIMIT clause to $sqlQuery argument @@ -509,7 +509,7 @@ echo $connection->limit("SELECT * FROM robots", 5); ``` -public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.table @@ -522,7 +522,7 @@ var_dump( ``` -public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.view @@ -535,71 +535,71 @@ var_dump( ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a FOR UPDATE clause -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a LOCK IN SHARE MODE clause -public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a table -public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table from a schema/database -public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a view -public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a view -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Modifies a table column based on a definition -public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds an index to a table -public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drop an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a primary key to a table -public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table's primary key -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a foreign key to a table -public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a foreign key from a table -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the SQL column definition from a column -public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all tables on a database @@ -612,7 +612,7 @@ print_r( ``` -public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all views on a database @@ -625,7 +625,7 @@ print_r( ``` -public [Phalcon\Db\Index](/en/3.1.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public [Phalcon\Db\Index](/en/3.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Lists table indexes @@ -638,7 +638,7 @@ print_r( ``` -public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Lists table references @@ -651,7 +651,7 @@ print_r( ``` -public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets creation options from a table @@ -664,31 +664,31 @@ print_r( ``` -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Releases given savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Rollbacks given savepoint -public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Set if nested transactions should use savepoints -public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns if nested transactions should use savepoints -public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the savepoint name to use for nested transactions -public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default identity value to be inserted in an identity column @@ -712,7 +712,7 @@ $success = $connection->insert( ``` -public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default value to make the RBDM use the default value declared in the table definition @@ -734,34 +734,34 @@ $success = $connection->insert( ``` -public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Check whether the database system requires a sequence to produce auto-numeric values -public **useExplicitIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **useExplicitIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Check whether the database system requires an explicit value for identity columns -public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Return descriptor used to connect to the active database -public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets the active connection unique identifier -public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object -public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object without replace bound parameters -public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object -abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... \ No newline at end of file diff --git a/ar/api/Phalcon_Db_Adapter_Pdo_Mysql.md b/ar/api/Phalcon_Db_Adapter_Pdo_Mysql.md index fe17030fddcf..5013bf0def80 100644 --- a/ar/api/Phalcon_Db_Adapter_Pdo_Mysql.md +++ b/ar/api/Phalcon_Db_Adapter_Pdo_Mysql.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Adapter\\Pdo\\Mysql** -*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) -*implements* [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -40,7 +40,7 @@ print_r( ``` -public [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface[]) **describeIndexes** (*string* $table, [*string* $schema]) +public [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface[]) **describeIndexes** (*string* $table, [*string* $schema]) Lists table indexes @@ -66,11 +66,11 @@ print_r( ``` -public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Constructor for Phalcon\\Db\\Adapter\\Pdo -public **connect** ([*array* $descriptor]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **connect** ([*array* $descriptor]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) This method is automatically called in \\Phalcon\\Db\\Adapter\\Pdo constructor. Call it when you need to restore a database connection. @@ -95,7 +95,7 @@ $connection->connect(); ``` -public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns a PDO prepared statement to be executed with 'executePrepared' @@ -120,7 +120,7 @@ $result = $connection->executePrepared( ``` -public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Executes a prepared statement binding. This function uses integer indexes starting from zero @@ -145,7 +145,7 @@ $result = $connection->executePrepared( ``` -public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server is returning rows @@ -166,7 +166,7 @@ $resultset = $connection->query( ``` -public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server doesn't return any rows @@ -188,7 +188,7 @@ $success = $connection->execute( ``` -public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the number of affected rows by the latest INSERT/UPDATE/DELETE executed in the database system @@ -203,11 +203,11 @@ echo $connection->affectedRows(), " were deleted"; ``` -public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Closes the active connection returning success. Phalcon automatically closes and destroys active connections when the request ends -public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Escapes a value to avoid SQL injections according to the active charset in the connection @@ -218,7 +218,7 @@ $escapedStr = $connection->escapeString("some dangerous value"); ``` -public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Converts bound parameters such as :name: or ?1 into PDO bind params ? @@ -236,7 +236,7 @@ print_r( ``` -public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the insert id for the auto_increment/serial column inserted in the latest executed SQL statement @@ -261,23 +261,23 @@ $id = $connection->lastInsertId(); ``` -public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Starts a transaction in the connection -public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Rollbacks the active transaction in the connection -public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Commits the active transaction in the connection -public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the current transaction nesting level -public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Checks whether the connection is under a transaction @@ -293,43 +293,43 @@ var_dump( ``` -public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return internal PDO handler -public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return the error info, if any -public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Name of the dialect used -public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Type of database system the adapter is used for -public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL bound parameter variables -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the event manager -public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the internal event manager -public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the dialect used to produce the SQL -public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns internal dialect instance -public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the first row in a SQL query result @@ -346,7 +346,7 @@ print_r($robot); ``` -public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Dumps the complete result of a query into an array @@ -377,7 +377,7 @@ foreach($robots as $robot) { ``` -public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the n'th field of first row in a SQL query result @@ -397,7 +397,7 @@ print_r($robot); ``` -public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RDBMS SQL syntax @@ -416,7 +416,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RBDM SQL syntax @@ -437,7 +437,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax @@ -474,7 +474,7 @@ $success = $connection->update( Warning! If $whereCondition is string it not escaped. -public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax Another, more convenient syntax @@ -495,7 +495,7 @@ UPDATE `robots` SET `name` = "Astro boy" WHERE id = 101 ``` -public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Deletes data from a table using custom RBDM SQL syntax @@ -513,7 +513,7 @@ DELETE FROM `robots` WHERE `id` = 101 ``` -public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Escapes a column/table/schema name @@ -533,11 +533,11 @@ $escapedTable = $connection->escapeIdentifier( ``` -public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets a list of columns -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Appends a LIMIT clause to $sqlQuery argument @@ -548,7 +548,7 @@ echo $connection->limit("SELECT * FROM robots", 5); ``` -public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.table @@ -561,7 +561,7 @@ var_dump( ``` -public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.view @@ -574,71 +574,71 @@ var_dump( ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a FOR UPDATE clause -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a LOCK IN SHARE MODE clause -public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a table -public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table from a schema/database -public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a view -public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a view -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Modifies a table column based on a definition -public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds an index to a table -public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drop an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a primary key to a table -public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table's primary key -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a foreign key to a table -public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a foreign key from a table -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the SQL column definition from a column -public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all tables on a database @@ -651,7 +651,7 @@ print_r( ``` -public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all views on a database @@ -664,7 +664,7 @@ print_r( ``` -public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets creation options from a table @@ -677,31 +677,31 @@ print_r( ``` -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Releases given savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Rollbacks given savepoint -public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Set if nested transactions should use savepoints -public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns if nested transactions should use savepoints -public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the savepoint name to use for nested transactions -public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default identity value to be inserted in an identity column @@ -725,7 +725,7 @@ $success = $connection->insert( ``` -public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default value to make the RBDM use the default value declared in the table definition @@ -747,30 +747,30 @@ $success = $connection->insert( ``` -public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Check whether the database system requires a sequence to produce auto-numeric values -public **useExplicitIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **useExplicitIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Check whether the database system requires an explicit value for identity columns -public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Return descriptor used to connect to the active database -public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets the active connection unique identifier -public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object -public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object without replace bound parameters -public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object \ No newline at end of file diff --git a/ar/api/Phalcon_Db_Adapter_Pdo_Postgresql.md b/ar/api/Phalcon_Db_Adapter_Pdo_Postgresql.md index c7f35273d52a..9a66f69a4ec1 100644 --- a/ar/api/Phalcon_Db_Adapter_Pdo_Postgresql.md +++ b/ar/api/Phalcon_Db_Adapter_Pdo_Postgresql.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Adapter\\Pdo\\Postgresql** -*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) -*implements* [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -48,7 +48,7 @@ public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $defini Creates a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) Modifies a table column based on a definition @@ -84,11 +84,11 @@ public **supportSequences** () Check whether the database system requires a sequence to produce auto-numeric values -public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Constructor for Phalcon\\Db\\Adapter\\Pdo -public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns a PDO prepared statement to be executed with 'executePrepared' @@ -113,7 +113,7 @@ $result = $connection->executePrepared( ``` -public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Executes a prepared statement binding. This function uses integer indexes starting from zero @@ -138,7 +138,7 @@ $result = $connection->executePrepared( ``` -public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server is returning rows @@ -159,7 +159,7 @@ $resultset = $connection->query( ``` -public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server doesn't return any rows @@ -181,7 +181,7 @@ $success = $connection->execute( ``` -public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the number of affected rows by the latest INSERT/UPDATE/DELETE executed in the database system @@ -196,11 +196,11 @@ echo $connection->affectedRows(), " were deleted"; ``` -public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Closes the active connection returning success. Phalcon automatically closes and destroys active connections when the request ends -public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Escapes a value to avoid SQL injections according to the active charset in the connection @@ -211,7 +211,7 @@ $escapedStr = $connection->escapeString("some dangerous value"); ``` -public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Converts bound parameters such as :name: or ?1 into PDO bind params ? @@ -229,7 +229,7 @@ print_r( ``` -public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the insert id for the auto_increment/serial column inserted in the latest executed SQL statement @@ -254,23 +254,23 @@ $id = $connection->lastInsertId(); ``` -public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Starts a transaction in the connection -public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Rollbacks the active transaction in the connection -public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Commits the active transaction in the connection -public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the current transaction nesting level -public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Checks whether the connection is under a transaction @@ -286,43 +286,43 @@ var_dump( ``` -public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return internal PDO handler -public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return the error info, if any -public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Name of the dialect used -public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Type of database system the adapter is used for -public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL bound parameter variables -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the event manager -public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the internal event manager -public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the dialect used to produce the SQL -public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns internal dialect instance -public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the first row in a SQL query result @@ -339,7 +339,7 @@ print_r($robot); ``` -public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Dumps the complete result of a query into an array @@ -370,7 +370,7 @@ foreach($robots as $robot) { ``` -public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the n'th field of first row in a SQL query result @@ -390,7 +390,7 @@ print_r($robot); ``` -public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RDBMS SQL syntax @@ -409,7 +409,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RBDM SQL syntax @@ -430,7 +430,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax @@ -467,7 +467,7 @@ $success = $connection->update( Warning! If $whereCondition is string it not escaped. -public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax Another, more convenient syntax @@ -488,7 +488,7 @@ UPDATE `robots` SET `name` = "Astro boy" WHERE id = 101 ``` -public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Deletes data from a table using custom RBDM SQL syntax @@ -506,7 +506,7 @@ DELETE FROM `robots` WHERE `id` = 101 ``` -public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Escapes a column/table/schema name @@ -526,11 +526,11 @@ $escapedTable = $connection->escapeIdentifier( ``` -public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets a list of columns -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Appends a LIMIT clause to $sqlQuery argument @@ -541,7 +541,7 @@ echo $connection->limit("SELECT * FROM robots", 5); ``` -public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.table @@ -554,7 +554,7 @@ var_dump( ``` -public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.view @@ -567,63 +567,63 @@ var_dump( ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a FOR UPDATE clause -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a LOCK IN SHARE MODE clause -public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table from a schema/database -public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a view -public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a view -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a column to a table -public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds an index to a table -public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drop an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a primary key to a table -public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table's primary key -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a foreign key to a table -public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a foreign key from a table -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the SQL column definition from a column -public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all tables on a database @@ -636,7 +636,7 @@ print_r( ``` -public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all views on a database @@ -649,7 +649,7 @@ print_r( ``` -public [Phalcon\Db\Index](/en/3.1.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public [Phalcon\Db\Index](/en/3.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Lists table indexes @@ -662,7 +662,7 @@ print_r( ``` -public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Lists table references @@ -675,7 +675,7 @@ print_r( ``` -public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets creation options from a table @@ -688,31 +688,31 @@ print_r( ``` -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Releases given savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Rollbacks given savepoint -public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Set if nested transactions should use savepoints -public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns if nested transactions should use savepoints -public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the savepoint name to use for nested transactions -public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default value to make the RBDM use the default value declared in the table definition @@ -734,22 +734,22 @@ $success = $connection->insert( ``` -public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Return descriptor used to connect to the active database -public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets the active connection unique identifier -public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object -public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object without replace bound parameters -public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object \ No newline at end of file diff --git a/ar/api/Phalcon_Db_Adapter_Pdo_Sqlite.md b/ar/api/Phalcon_Db_Adapter_Pdo_Sqlite.md index 1f92cfbfc6bd..a568c933ce4a 100644 --- a/ar/api/Phalcon_Db_Adapter_Pdo_Sqlite.md +++ b/ar/api/Phalcon_Db_Adapter_Pdo_Sqlite.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Adapter\\Pdo\\Sqlite** -*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) -*implements* [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -40,7 +40,7 @@ print_r( ``` -public [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface[]) **describeIndexes** (*string* $table, [*string* $schema]) +public [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface[]) **describeIndexes** (*string* $table, [*string* $schema]) Lists table indexes @@ -53,7 +53,7 @@ print_r( ``` -public [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface[]) **describeReferences** (*string* $table, [*string* $schema]) +public [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface[]) **describeReferences** (*string* $table, [*string* $schema]) Lists table references @@ -83,11 +83,11 @@ $success = $connection->insert( ``` -public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Constructor for Phalcon\\Db\\Adapter\\Pdo -public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns a PDO prepared statement to be executed with 'executePrepared' @@ -112,7 +112,7 @@ $result = $connection->executePrepared( ``` -public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Executes a prepared statement binding. This function uses integer indexes starting from zero @@ -137,7 +137,7 @@ $result = $connection->executePrepared( ``` -public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server is returning rows @@ -158,7 +158,7 @@ $resultset = $connection->query( ``` -public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server doesn't return any rows @@ -180,7 +180,7 @@ $success = $connection->execute( ``` -public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the number of affected rows by the latest INSERT/UPDATE/DELETE executed in the database system @@ -195,11 +195,11 @@ echo $connection->affectedRows(), " were deleted"; ``` -public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Closes the active connection returning success. Phalcon automatically closes and destroys active connections when the request ends -public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Escapes a value to avoid SQL injections according to the active charset in the connection @@ -210,7 +210,7 @@ $escapedStr = $connection->escapeString("some dangerous value"); ``` -public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Converts bound parameters such as :name: or ?1 into PDO bind params ? @@ -228,7 +228,7 @@ print_r( ``` -public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the insert id for the auto_increment/serial column inserted in the latest executed SQL statement @@ -253,23 +253,23 @@ $id = $connection->lastInsertId(); ``` -public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Starts a transaction in the connection -public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Rollbacks the active transaction in the connection -public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Commits the active transaction in the connection -public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the current transaction nesting level -public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Checks whether the connection is under a transaction @@ -285,43 +285,43 @@ var_dump( ``` -public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return internal PDO handler -public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return the error info, if any -public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Name of the dialect used -public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Type of database system the adapter is used for -public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL bound parameter variables -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the event manager -public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the internal event manager -public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the dialect used to produce the SQL -public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns internal dialect instance -public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the first row in a SQL query result @@ -338,7 +338,7 @@ print_r($robot); ``` -public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Dumps the complete result of a query into an array @@ -369,7 +369,7 @@ foreach($robots as $robot) { ``` -public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the n'th field of first row in a SQL query result @@ -389,7 +389,7 @@ print_r($robot); ``` -public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RDBMS SQL syntax @@ -408,7 +408,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RBDM SQL syntax @@ -429,7 +429,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax @@ -466,7 +466,7 @@ $success = $connection->update( Warning! If $whereCondition is string it not escaped. -public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax Another, more convenient syntax @@ -487,7 +487,7 @@ UPDATE `robots` SET `name` = "Astro boy" WHERE id = 101 ``` -public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Deletes data from a table using custom RBDM SQL syntax @@ -505,7 +505,7 @@ DELETE FROM `robots` WHERE `id` = 101 ``` -public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Escapes a column/table/schema name @@ -525,11 +525,11 @@ $escapedTable = $connection->escapeIdentifier( ``` -public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets a list of columns -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Appends a LIMIT clause to $sqlQuery argument @@ -540,7 +540,7 @@ echo $connection->limit("SELECT * FROM robots", 5); ``` -public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.table @@ -553,7 +553,7 @@ var_dump( ``` -public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.view @@ -566,71 +566,71 @@ var_dump( ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a FOR UPDATE clause -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a LOCK IN SHARE MODE clause -public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a table -public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table from a schema/database -public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a view -public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a view -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Modifies a table column based on a definition -public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds an index to a table -public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drop an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a primary key to a table -public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table's primary key -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a foreign key to a table -public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a foreign key from a table -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the SQL column definition from a column -public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all tables on a database @@ -643,7 +643,7 @@ print_r( ``` -public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all views on a database @@ -656,7 +656,7 @@ print_r( ``` -public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets creation options from a table @@ -669,31 +669,31 @@ print_r( ``` -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Releases given savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Rollbacks given savepoint -public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Set if nested transactions should use savepoints -public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns if nested transactions should use savepoints -public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the savepoint name to use for nested transactions -public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default identity value to be inserted in an identity column @@ -717,26 +717,26 @@ $success = $connection->insert( ``` -public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Check whether the database system requires a sequence to produce auto-numeric values -public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Return descriptor used to connect to the active database -public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets the active connection unique identifier -public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object -public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object without replace bound parameters -public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object \ No newline at end of file diff --git a/ar/api/Phalcon_Db_Column.md b/ar/api/Phalcon_Db_Column.md index ab2fdfb7a40e..fe0210a2b411 100644 --- a/ar/api/Phalcon_Db_Column.md +++ b/ar/api/Phalcon_Db_Column.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Db\\Column** -*implements* [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) +*implements* [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) Source on GitHub diff --git a/ar/api/Phalcon_Db_Dialect.md b/ar/api/Phalcon_Db_Dialect.md index 11c52ea58df4..df25f0af03ab 100644 --- a/ar/api/Phalcon_Db_Dialect.md +++ b/ar/api/Phalcon_Db_Dialect.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Db\\Dialect** -*implements* [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +*implements* [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) Source on GitHub @@ -199,86 +199,86 @@ protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $es Prepares qualified for this RDBMS -abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropTable** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropTable** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **describeIndexes** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **describeIndexes** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **tableOptions** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **tableOptions** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... \ No newline at end of file diff --git a/ar/api/Phalcon_Db_DialectInterface.md b/ar/api/Phalcon_Db_DialectInterface.md index 0bf993854d79..90ee58afb9e1 100644 --- a/ar/api/Phalcon_Db_DialectInterface.md +++ b/ar/api/Phalcon_Db_DialectInterface.md @@ -24,15 +24,15 @@ abstract public **getColumnList** (*array* $columnList) ... -abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) ... -abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) ... -abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) ... @@ -40,7 +40,7 @@ abstract public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* ... -abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) ... @@ -48,7 +48,7 @@ abstract public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* ... -abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) ... @@ -56,7 +56,7 @@ abstract public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) ... -abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) ... diff --git a/ar/api/Phalcon_Db_Dialect_Mysql.md b/ar/api/Phalcon_Db_Dialect_Mysql.md index 6178388fc739..d1a80102e14c 100644 --- a/ar/api/Phalcon_Db_Dialect_Mysql.md +++ b/ar/api/Phalcon_Db_Dialect_Mysql.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Dialect\\Mysql** -*extends* abstract class [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +*extends* abstract class [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) -*implements* [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +*implements* [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) Source on GitHub @@ -10,15 +10,15 @@ Generates database specific SQL for the MySQL RDBMS ## Methods -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Gets the column name in MySQL -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Generates SQL to add a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) Generates SQL to modify a column in a table @@ -26,7 +26,7 @@ public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnN Generates SQL to delete a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add an index to a table @@ -34,7 +34,7 @@ public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexNam Generates SQL to delete an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add the primary key to a table @@ -42,7 +42,7 @@ public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) Generates SQL to delete primary key from a table -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) Generates SQL to add an index to a table @@ -133,23 +133,23 @@ protected **_getTableOptions** (*array* $definition) Generates SQL to add the table creation options -public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Registers custom SQL functions -public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns registered functions -final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape Schema -final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape identifiers -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generates the SQL for LIMIT clause @@ -164,7 +164,7 @@ echo $sql; // SELECT * FROM robots LIMIT 10 OFFSET 50 ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a FOR UPDATE clause @@ -176,7 +176,7 @@ echo $sql; // SELECT * FROM robots FOR UPDATE ``` -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a LOCK IN SHARE MODE clause @@ -188,7 +188,7 @@ echo $sql; // SELECT * FROM robots LOCK IN SHARE MODE ``` -final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Gets a list of columns with escaped identifiers @@ -204,122 +204,122 @@ echo $dialect->getColumnList( ``` -final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transforms an intermediate representation for an expression into a database system valid expression -final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transform an intermediate representation of a schema/table into a database system valid expression -public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Builds a SELECT statement -public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports savepoints -public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports releasing savepoints. -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to create a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to release a savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to rollback a savepoint -final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve object expressions -final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve qualified expressions -final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve binary operations expressions -final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve unary operations expressions -final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve function calls -final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Lists -final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve * -final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CAST of values -final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CONVERT of values encodings -final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CASE expressions -final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a FROM clause -final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a JOINs clause -final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a WHERE clause -final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a GROUP BY clause -final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a HAVING clause -final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve an ORDER BY clause -final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a LIMIT clause -protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares column for this RDBMS -protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares table for this RDBMS -protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares qualified for this RDBMS \ No newline at end of file diff --git a/ar/api/Phalcon_Db_Dialect_Postgresql.md b/ar/api/Phalcon_Db_Dialect_Postgresql.md index 01fe5982984c..f10d03525235 100644 --- a/ar/api/Phalcon_Db_Dialect_Postgresql.md +++ b/ar/api/Phalcon_Db_Dialect_Postgresql.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Dialect\\Postgresql** -*extends* abstract class [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +*extends* abstract class [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) -*implements* [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +*implements* [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) Source on GitHub @@ -10,15 +10,15 @@ Generates database specific SQL for the PostgreSQL RDBMS ## Methods -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Gets the column name in PostgreSQL -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Generates SQL to add a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) Generates SQL to modify a column in a table @@ -26,7 +26,7 @@ public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnN Generates SQL to delete a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add an index to a table @@ -34,7 +34,7 @@ public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexNam Generates SQL to delete an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add the primary key to a table @@ -42,7 +42,7 @@ public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) Generates SQL to delete primary key from a table -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) Generates SQL to add an index to a table @@ -129,7 +129,7 @@ public **tableOptions** (*mixed* $table, [*mixed* $schema]) Generates the SQL to describe the table creation options -protected **_castDefault** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +protected **_castDefault** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) ... @@ -137,23 +137,23 @@ protected **_getTableOptions** (*array* $definition) ... -public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Registers custom SQL functions -public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns registered functions -final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape Schema -final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape identifiers -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generates the SQL for LIMIT clause @@ -168,7 +168,7 @@ echo $sql; // SELECT * FROM robots LIMIT 10 OFFSET 50 ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a FOR UPDATE clause @@ -180,7 +180,7 @@ echo $sql; // SELECT * FROM robots FOR UPDATE ``` -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a LOCK IN SHARE MODE clause @@ -192,7 +192,7 @@ echo $sql; // SELECT * FROM robots LOCK IN SHARE MODE ``` -final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Gets a list of columns with escaped identifiers @@ -208,122 +208,122 @@ echo $dialect->getColumnList( ``` -final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transforms an intermediate representation for an expression into a database system valid expression -final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transform an intermediate representation of a schema/table into a database system valid expression -public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Builds a SELECT statement -public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports savepoints -public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports releasing savepoints. -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to create a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to release a savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to rollback a savepoint -final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve object expressions -final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve qualified expressions -final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve binary operations expressions -final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve unary operations expressions -final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve function calls -final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Lists -final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve * -final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CAST of values -final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CONVERT of values encodings -final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CASE expressions -final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a FROM clause -final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a JOINs clause -final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a WHERE clause -final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a GROUP BY clause -final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a HAVING clause -final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve an ORDER BY clause -final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a LIMIT clause -protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares column for this RDBMS -protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares table for this RDBMS -protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares qualified for this RDBMS \ No newline at end of file diff --git a/ar/api/Phalcon_Db_Dialect_Sqlite.md b/ar/api/Phalcon_Db_Dialect_Sqlite.md index 7b38162151a0..dabec6d39e49 100644 --- a/ar/api/Phalcon_Db_Dialect_Sqlite.md +++ b/ar/api/Phalcon_Db_Dialect_Sqlite.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Dialect\\Sqlite** -*extends* abstract class [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +*extends* abstract class [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) -*implements* [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +*implements* [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) Source on GitHub @@ -10,15 +10,15 @@ Generates database specific SQL for the Sqlite RDBMS ## Methods -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Gets the column name in SQLite -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Generates SQL to add a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) Generates SQL to modify a column in a table @@ -26,7 +26,7 @@ public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnN Generates SQL to delete a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add an index to a table @@ -34,7 +34,7 @@ public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexNam Generates SQL to delete an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add the primary key to a table @@ -42,7 +42,7 @@ public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) Generates SQL to delete primary key from a table -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) Generates SQL to add an index to a table @@ -146,23 +146,23 @@ public **tableOptions** (*mixed* $table, [*mixed* $schema]) Generates the SQL to describe the table creation options -public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Registers custom SQL functions -public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns registered functions -final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape Schema -final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape identifiers -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generates the SQL for LIMIT clause @@ -177,7 +177,7 @@ echo $sql; // SELECT * FROM robots LIMIT 10 OFFSET 50 ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a FOR UPDATE clause @@ -189,7 +189,7 @@ echo $sql; // SELECT * FROM robots FOR UPDATE ``` -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a LOCK IN SHARE MODE clause @@ -201,7 +201,7 @@ echo $sql; // SELECT * FROM robots LOCK IN SHARE MODE ``` -final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Gets a list of columns with escaped identifiers @@ -217,122 +217,122 @@ echo $dialect->getColumnList( ``` -final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transforms an intermediate representation for an expression into a database system valid expression -final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transform an intermediate representation of a schema/table into a database system valid expression -public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Builds a SELECT statement -public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports savepoints -public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports releasing savepoints. -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to create a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to release a savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to rollback a savepoint -final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve object expressions -final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve qualified expressions -final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve binary operations expressions -final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve unary operations expressions -final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve function calls -final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Lists -final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve * -final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CAST of values -final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CONVERT of values encodings -final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CASE expressions -final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a FROM clause -final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a JOINs clause -final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a WHERE clause -final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a GROUP BY clause -final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a HAVING clause -final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve an ORDER BY clause -final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a LIMIT clause -protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares column for this RDBMS -protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares table for this RDBMS -protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares qualified for this RDBMS \ No newline at end of file diff --git a/ar/api/Phalcon_Db_Exception.md b/ar/api/Phalcon_Db_Exception.md index 839c2d00fbf8..00160179b065 100644 --- a/ar/api/Phalcon_Db_Exception.md +++ b/ar/api/Phalcon_Db_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Db\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/ar/api/Phalcon_Db_Index.md b/ar/api/Phalcon_Db_Index.md index 60a5b41f764f..9ca94ad0e146 100644 --- a/ar/api/Phalcon_Db_Index.md +++ b/ar/api/Phalcon_Db_Index.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Db\\Index** -*implements* [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) +*implements* [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) Source on GitHub diff --git a/ar/api/Phalcon_Db_Profiler.md b/ar/api/Phalcon_Db_Profiler.md index 05a913cb9c2c..1d6dde6d6e69 100644 --- a/ar/api/Phalcon_Db_Profiler.md +++ b/ar/api/Phalcon_Db_Profiler.md @@ -31,7 +31,7 @@ echo "Total Elapsed Time: ", $profile->getTotalElapsedSeconds(), "\n"; ## Methods -public [Phalcon\Db\Profiler](/en/3.1.2/api/Phalcon_Db_Profiler) **startProfile** (*string* $sqlStatement, [*mixed* $sqlVariables], [*mixed* $sqlBindTypes]) +public [Phalcon\Db\Profiler](/en/3.2/api/Phalcon_Db_Profiler) **startProfile** (*string* $sqlStatement, [*mixed* $sqlVariables], [*mixed* $sqlBindTypes]) Starts the profile of a SQL sentence diff --git a/ar/api/Phalcon_Db_Reference.md b/ar/api/Phalcon_Db_Reference.md index 30ac1a686521..2e83e14de226 100644 --- a/ar/api/Phalcon_Db_Reference.md +++ b/ar/api/Phalcon_Db_Reference.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Db\\Reference** -*implements* [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) +*implements* [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) Source on GitHub diff --git a/ar/api/Phalcon_Db_Result_Pdo.md b/ar/api/Phalcon_Db_Result_Pdo.md index 2e053d67ae6f..91808dece71f 100644 --- a/ar/api/Phalcon_Db_Result_Pdo.md +++ b/ar/api/Phalcon_Db_Result_Pdo.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Db\\Result\\Pdo** -*implements* [Phalcon\Db\ResultInterface](/en/3.1.2/api/Phalcon_Db_ResultInterface) +*implements* [Phalcon\Db\ResultInterface](/en/3.2/api/Phalcon_Db_ResultInterface) Source on GitHub @@ -23,7 +23,7 @@ while ($robot = $result->fetchArray()) { ## Methods -public **__construct** ([Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) $connection, [PDOStatement](http://php.net/manual/en/class.pdostatement.php) $result, [*string* $sqlStatement], [*array* $bindParams], [*array* $bindTypes]) +public **__construct** ([Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) $connection, [PDOStatement](http://php.net/manual/en/class.pdostatement.php) $result, [*string* $sqlStatement], [*array* $bindParams], [*array* $bindTypes]) Phalcon\\Db\\Result\\Pdo constructor diff --git a/ar/api/Phalcon_Debug_Exception.md b/ar/api/Phalcon_Debug_Exception.md index 81c02149efc6..170f204a2e35 100644 --- a/ar/api/Phalcon_Debug_Exception.md +++ b/ar/api/Phalcon_Debug_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Debug\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/bg/api/Phalcon_Acl_Adapter.md b/bg/api/Phalcon_Acl_Adapter.md index 9f86a2a2a142..1696a50b6e15 100644 --- a/bg/api/Phalcon_Acl_Adapter.md +++ b/bg/api/Phalcon_Acl_Adapter.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Acl\\Adapter** -*implements* [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -20,7 +20,7 @@ public **getActiveAccess** () Active access which the list is checking if some role can access it -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) Sets the events manager @@ -36,58 +36,58 @@ public **getDefaultAction** () Returns the default ACL access level -abstract public **setNoArgumentsDefaultAction** (*mixed* $defaultAccess) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **setNoArgumentsDefaultAction** (*mixed* $defaultAccess) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **getNoArgumentsDefaultAction** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **getNoArgumentsDefaultAction** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **addRole** (*mixed* $role, [*mixed* $accessInherits]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **addRole** (*mixed* $role, [*mixed* $accessInherits]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **addInherit** (*mixed* $roleName, *mixed* $roleToInherit) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **addInherit** (*mixed* $roleName, *mixed* $roleToInherit) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **isRole** (*mixed* $roleName) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **isRole** (*mixed* $roleName) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **isResource** (*mixed* $resourceName) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **isResource** (*mixed* $resourceName) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **addResource** (*mixed* $resourceObject, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **addResource** (*mixed* $resourceObject, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **addResourceAccess** (*mixed* $resourceName, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **addResourceAccess** (*mixed* $resourceName, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **dropResourceAccess** (*mixed* $resourceName, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **dropResourceAccess** (*mixed* $resourceName, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **allow** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*mixed* $func]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **allow** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*mixed* $func]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **deny** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*mixed* $func]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **deny** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*mixed* $func]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **isAllowed** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*array* $parameters]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **isAllowed** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*array* $parameters]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **getRoles** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **getRoles** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **getResources** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **getResources** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... \ No newline at end of file diff --git a/bg/api/Phalcon_Acl_Adapter_Memory.md b/bg/api/Phalcon_Acl_Adapter_Memory.md index e9ea95ccda45..889751c95b98 100644 --- a/bg/api/Phalcon_Acl_Adapter_Memory.md +++ b/bg/api/Phalcon_Acl_Adapter_Memory.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Acl\\Adapter\\Memory** -*extends* abstract class [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +*extends* abstract class [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) -*implements* [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +*implements* [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) Source on GitHub @@ -105,7 +105,7 @@ public **isResource** (*mixed* $resourceName) Check whether resource exist in the resources list -public **addResource** ([Phalcon\Acl\Resource](/en/3.1.2/api/Phalcon_Acl_Resource) | *string* $resourceValue, *array* | *string* $accessList) +public **addResource** ([Phalcon\Acl\Resource](/en/3.2/api/Phalcon_Acl_Resource) | *string* $resourceValue, *array* | *string* $accessList) Adds a resource to the ACL list Access names can be a particular action, by example search, update, delete, etc or a list of them Example: @@ -224,30 +224,30 @@ public **getResources** () Return an array with every resource registered in the list -public **getActiveRole** () inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **getActiveRole** () inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Role which the list is checking if it's allowed to certain resource/access -public **getActiveResource** () inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **getActiveResource** () inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Resource which the list is checking if some role can access it -public **getActiveAccess** () inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **getActiveAccess** () inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Active access which the list is checking if some role can access it -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Sets the events manager -public **getEventsManager** () inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **getEventsManager** () inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Returns the internal event manager -public **setDefaultAction** (*mixed* $defaultAccess) inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **setDefaultAction** (*mixed* $defaultAccess) inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Sets the default access level (Phalcon\\Acl::ALLOW or Phalcon\\Acl::DENY) -public **getDefaultAction** () inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **getDefaultAction** () inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Returns the default ACL access level \ No newline at end of file diff --git a/bg/api/Phalcon_Acl_Exception.md b/bg/api/Phalcon_Acl_Exception.md index 153094579c30..9c1b44ab7b5d 100644 --- a/bg/api/Phalcon_Acl_Exception.md +++ b/bg/api/Phalcon_Acl_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Acl\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/bg/api/Phalcon_Acl_Resource.md b/bg/api/Phalcon_Acl_Resource.md index 1663e1ad2e93..25ac2d3e792b 100644 --- a/bg/api/Phalcon_Acl_Resource.md +++ b/bg/api/Phalcon_Acl_Resource.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Acl\\Resource** -*implements* [Phalcon\Acl\ResourceInterface](/en/3.1.2/api/Phalcon_Acl_ResourceInterface) +*implements* [Phalcon\Acl\ResourceInterface](/en/3.2/api/Phalcon_Acl_ResourceInterface) Source on GitHub diff --git a/bg/api/Phalcon_Acl_Role.md b/bg/api/Phalcon_Acl_Role.md index e105183dd7f4..c8252648d6c8 100644 --- a/bg/api/Phalcon_Acl_Role.md +++ b/bg/api/Phalcon_Acl_Role.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Acl\\Role** -*implements* [Phalcon\Acl\RoleInterface](/en/3.1.2/api/Phalcon_Acl_RoleInterface) +*implements* [Phalcon\Acl\RoleInterface](/en/3.2/api/Phalcon_Acl_RoleInterface) Source on GitHub diff --git a/bg/api/Phalcon_Annotations_Adapter.md b/bg/api/Phalcon_Annotations_Adapter.md index 7a2b31fc4dc1..d42ac348bbc9 100644 --- a/bg/api/Phalcon_Annotations_Adapter.md +++ b/bg/api/Phalcon_Annotations_Adapter.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Annotations\\Adapter** -*implements* [Phalcon\Annotations\AdapterInterface](/en/3.1.2/api/Phalcon_Annotations_AdapterInterface) +*implements* [Phalcon\Annotations\AdapterInterface](/en/3.2/api/Phalcon_Annotations_AdapterInterface) Source on GitHub @@ -8,7 +8,7 @@ This is the base class for Phalcon\\Annotations adapters ## Methods -public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) +public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) Sets the annotations parser diff --git a/bg/api/Phalcon_Annotations_AdapterInterface.md b/bg/api/Phalcon_Annotations_AdapterInterface.md index a4e2c689503a..a1ff65cb01a1 100644 --- a/bg/api/Phalcon_Annotations_AdapterInterface.md +++ b/bg/api/Phalcon_Annotations_AdapterInterface.md @@ -4,7 +4,7 @@ ## Methods -abstract public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) +abstract public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) ... diff --git a/bg/api/Phalcon_Annotations_Adapter_Apc.md b/bg/api/Phalcon_Annotations_Adapter_Apc.md index 1b8a1d6d0d7d..467622a88425 100644 --- a/bg/api/Phalcon_Annotations_Adapter_Apc.md +++ b/bg/api/Phalcon_Annotations_Adapter_Apc.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Annotations\\Adapter\\Apc** -*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) -*implements* [Phalcon\Annotations\AdapterInterface](/en/3.1.2/api/Phalcon_Annotations_AdapterInterface) +*implements* [Phalcon\Annotations\AdapterInterface](/en/3.2/api/Phalcon_Annotations_AdapterInterface) Source on GitHub @@ -27,34 +27,34 @@ public **read** (*mixed* $key) Reads parsed annotations from APC -public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) $data) +public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) $data) Writes parsed annotations to APC -public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Sets the annotations parser -public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotation reader -public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Parses or retrieves all the annotations found in a class -public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific method -public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific property \ No newline at end of file diff --git a/bg/api/Phalcon_Annotations_Adapter_Files.md b/bg/api/Phalcon_Annotations_Adapter_Files.md index fcb4c23e6c2e..e4c407e5954e 100644 --- a/bg/api/Phalcon_Annotations_Adapter_Files.md +++ b/bg/api/Phalcon_Annotations_Adapter_Files.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Annotations\\Adapter\\Files** -*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) -*implements* [Phalcon\Annotations\AdapterInterface](/en/3.1.2/api/Phalcon_Annotations_AdapterInterface) +*implements* [Phalcon\Annotations\AdapterInterface](/en/3.2/api/Phalcon_Annotations_AdapterInterface) Source on GitHub @@ -27,38 +27,38 @@ public **__construct** ([*array* $options]) Phalcon\\Annotations\\Adapter\\Files constructor -public [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) **read** (*string* $key) +public [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) **read** (*string* $key) Reads parsed annotations from files -public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) $data) +public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) $data) Writes parsed annotations to files -public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Sets the annotations parser -public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotation reader -public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Parses or retrieves all the annotations found in a class -public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific method -public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific property \ No newline at end of file diff --git a/bg/api/Phalcon_Annotations_Adapter_Memory.md b/bg/api/Phalcon_Annotations_Adapter_Memory.md index 53fc2e3769c7..205f20e6b1b8 100644 --- a/bg/api/Phalcon_Annotations_Adapter_Memory.md +++ b/bg/api/Phalcon_Annotations_Adapter_Memory.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Annotations\\Adapter\\Memory** -*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) -*implements* [Phalcon\Annotations\AdapterInterface](/en/3.1.2/api/Phalcon_Annotations_AdapterInterface) +*implements* [Phalcon\Annotations\AdapterInterface](/en/3.2/api/Phalcon_Annotations_AdapterInterface) Source on GitHub @@ -14,34 +14,34 @@ public **read** (*mixed* $key) Reads parsed annotations from memory -public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) $data) +public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) $data) Writes parsed annotations to memory -public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Sets the annotations parser -public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotation reader -public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Parses or retrieves all the annotations found in a class -public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific method -public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific property \ No newline at end of file diff --git a/bg/api/Phalcon_Annotations_Adapter_Xcache.md b/bg/api/Phalcon_Annotations_Adapter_Xcache.md index 79bfa9e6b4d3..37c97e7e6b8c 100644 --- a/bg/api/Phalcon_Annotations_Adapter_Xcache.md +++ b/bg/api/Phalcon_Annotations_Adapter_Xcache.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Annotations\\Adapter\\Xcache** -*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) -*implements* [Phalcon\Annotations\AdapterInterface](/en/3.1.2/api/Phalcon_Annotations_AdapterInterface) +*implements* [Phalcon\Annotations\AdapterInterface](/en/3.2/api/Phalcon_Annotations_AdapterInterface) Source on GitHub @@ -17,38 +17,38 @@ $annotations = new \Phalcon\Annotations\Adapter\Xcache(); ## Methods -public [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) **read** (*string* $key) +public [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) **read** (*string* $key) Reads parsed annotations from XCache -public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) $data) +public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) $data) Writes parsed annotations to XCache -public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Sets the annotations parser -public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotation reader -public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Parses or retrieves all the annotations found in a class -public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific method -public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific property \ No newline at end of file diff --git a/bg/api/Phalcon_Annotations_Collection.md b/bg/api/Phalcon_Annotations_Collection.md index 8176520b43ea..ba33511a50fe 100644 --- a/bg/api/Phalcon_Annotations_Collection.md +++ b/bg/api/Phalcon_Annotations_Collection.md @@ -36,7 +36,7 @@ public **rewind** () Rewinds the internal iterator -public [Phalcon\Annotations\Annotation](/en/3.1.2/api/Phalcon_Annotations_Annotation) **current** () +public [Phalcon\Annotations\Annotation](/en/3.2/api/Phalcon_Annotations_Annotation) **current** () Returns the current annotation in the iterator diff --git a/bg/api/Phalcon_Annotations_Reader.md b/bg/api/Phalcon_Annotations_Reader.md index 56ca9b058cd1..4e8e513ffea9 100644 --- a/bg/api/Phalcon_Annotations_Reader.md +++ b/bg/api/Phalcon_Annotations_Reader.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Annotations\\Reader** -*implements* [Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) +*implements* [Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) Source on GitHub diff --git a/bg/api/Phalcon_Application.md b/bg/api/Phalcon_Application.md index e7e767824af2..5ff2b07edaf4 100644 --- a/bg/api/Phalcon_Application.md +++ b/bg/api/Phalcon_Application.md @@ -1,8 +1,8 @@ # Abstract class **Phalcon\\Application** -*extends* abstract class [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +*extends* abstract class [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) -*implements* [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface) +*implements* [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface) Source on GitHub @@ -10,9 +10,9 @@ Base class for Phalcon\\Cli\\Console and Phalcon\\Mvc\\Application. ## Methods -public **__construct** ([[Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector]) +public **__construct** ([[Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector]) -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) Sets the events manager @@ -62,14 +62,14 @@ abstract public **handle** () Handles a request -public **setDI** ([Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **setDI** ([Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Sets the dependency injector -public **getDI** () inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **getDI** () inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Returns the internal dependency injector -public **__get** (*mixed* $propertyName) inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **__get** (*mixed* $propertyName) inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Magic method __get \ No newline at end of file diff --git a/bg/api/Phalcon_Application_Exception.md b/bg/api/Phalcon_Application_Exception.md index ade9f4d1b49e..49637aa88e5e 100644 --- a/bg/api/Phalcon_Application_Exception.md +++ b/bg/api/Phalcon_Application_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Application\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/bg/api/Phalcon_Assets_Collection.md b/bg/api/Phalcon_Assets_Collection.md index 9c3e06cdb077..f6f18d5a1d60 100644 --- a/bg/api/Phalcon_Assets_Collection.md +++ b/bg/api/Phalcon_Assets_Collection.md @@ -56,14 +56,35 @@ public **getSourcePath** () ... -public **add** ([Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) $resource) +public **__construct** () + +Phalcon\\Assets\\Collection constructor + +public **add** ([Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) $resource) Adds a resource to the collection -public **addInline** ([Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) $code) +public **addInline** ([Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) $code) Adds an inline code to the collection +public **has** ([Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) $resource) + +Checks this the resource is added to the collection. + +```php +has($resource); // true + +``` + public **addCss** (*mixed* $path, [*mixed* $local], [*mixed* $filter], [*mixed* $attributes]) Adds a CSS resource to the collection @@ -72,7 +93,7 @@ public **addInlineCss** (*mixed* $content, [*mixed* $filter], [*mixed* $attribut Adds an inline CSS to the collection -public [Phalcon\Assets\Collection](/en/3.1.2/api/Phalcon_Assets_Collection) **addJs** (*string* $path, [*boolean* $local], [*boolean* $filter], [*array* $attributes]) +public [Phalcon\Assets\Collection](/en/3.2/api/Phalcon_Assets_Collection) **addJs** (*string* $path, [*boolean* $local], [*boolean* $filter], [*array* $attributes]) Adds a javascript resource to the collection @@ -144,6 +165,10 @@ public **getRealTargetPath** (*mixed* $basePath) Returns the complete location where the joined/filtered collection must be written -public **addFilter** ([Phalcon\Assets\FilterInterface](/en/3.1.2/api/Phalcon_Assets_FilterInterface) $filter) +public **addFilter** ([Phalcon\Assets\FilterInterface](/en/3.2/api/Phalcon_Assets_FilterInterface) $filter) + +Adds a filter to the collection + +final protected **addResource** ([Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) $resource) -Adds a filter to the collection \ No newline at end of file +Adds a resource or inline-code to the collection \ No newline at end of file diff --git a/bg/api/Phalcon_Assets_Exception.md b/bg/api/Phalcon_Assets_Exception.md index bf3c9a57c01a..4c8c0516fd94 100644 --- a/bg/api/Phalcon_Assets_Exception.md +++ b/bg/api/Phalcon_Assets_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Assets\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/bg/api/Phalcon_Assets_Filters_Cssmin.md b/bg/api/Phalcon_Assets_Filters_Cssmin.md index 75e2781f79a0..a807a59e4880 100644 --- a/bg/api/Phalcon_Assets_Filters_Cssmin.md +++ b/bg/api/Phalcon_Assets_Filters_Cssmin.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Assets\\Filters\\Cssmin** -*implements* [Phalcon\Assets\FilterInterface](/en/3.1.2/api/Phalcon_Assets_FilterInterface) +*implements* [Phalcon\Assets\FilterInterface](/en/3.2/api/Phalcon_Assets_FilterInterface) Source on GitHub diff --git a/bg/api/Phalcon_Assets_Filters_Jsmin.md b/bg/api/Phalcon_Assets_Filters_Jsmin.md index 2ee9aa7f5390..2bfe2b4851a4 100644 --- a/bg/api/Phalcon_Assets_Filters_Jsmin.md +++ b/bg/api/Phalcon_Assets_Filters_Jsmin.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Assets\\Filters\\Jsmin** -*implements* [Phalcon\Assets\FilterInterface](/en/3.1.2/api/Phalcon_Assets_FilterInterface) +*implements* [Phalcon\Assets\FilterInterface](/en/3.2/api/Phalcon_Assets_FilterInterface) Source on GitHub diff --git a/bg/api/Phalcon_Assets_Filters_None.md b/bg/api/Phalcon_Assets_Filters_None.md index 93c79dd941f6..60e59aac09de 100644 --- a/bg/api/Phalcon_Assets_Filters_None.md +++ b/bg/api/Phalcon_Assets_Filters_None.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Assets\\Filters\\None** -*implements* [Phalcon\Assets\FilterInterface](/en/3.1.2/api/Phalcon_Assets_FilterInterface) +*implements* [Phalcon\Assets\FilterInterface](/en/3.2/api/Phalcon_Assets_FilterInterface) Source on GitHub diff --git a/bg/api/Phalcon_Assets_Inline.md b/bg/api/Phalcon_Assets_Inline.md index 05a1f622aa48..e5c3ef631536 100644 --- a/bg/api/Phalcon_Assets_Inline.md +++ b/bg/api/Phalcon_Assets_Inline.md @@ -1,5 +1,7 @@ # Class **Phalcon\\Assets\\Inline** +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) + Source on GitHub Represents an inline asset @@ -43,4 +45,8 @@ Sets if the resource must be filtered or not public **setAttributes** (*array* $attributes) -Sets extra HTML attributes \ No newline at end of file +Sets extra HTML attributes + +public **getResourceKey** () + +Gets the resource's key. \ No newline at end of file diff --git a/bg/api/Phalcon_Assets_Inline_Css.md b/bg/api/Phalcon_Assets_Inline_Css.md index c4d7a9d0e919..aad74b78beca 100644 --- a/bg/api/Phalcon_Assets_Inline_Css.md +++ b/bg/api/Phalcon_Assets_Inline_Css.md @@ -1,6 +1,8 @@ # Class **Phalcon\\Assets\\Inline\\Css** -*extends* class [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +*extends* class [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) + +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) Source on GitHub @@ -10,30 +12,34 @@ Represents an inlined CSS public **__construct** (*string* $content, [*boolean* $filter], [*array* $attributes]) -public **getType** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getType** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getContent** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getContent** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getFilter** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getFilter** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getAttributes** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getAttributes** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) Sets the inline's type -public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) Sets if the resource must be filtered or not -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) + +Sets extra HTML attributes + +public **getResourceKey** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) -Sets extra HTML attributes \ No newline at end of file +Gets the resource's key. \ No newline at end of file diff --git a/bg/api/Phalcon_Assets_Inline_Js.md b/bg/api/Phalcon_Assets_Inline_Js.md index 27d57246d817..1cce336b4116 100644 --- a/bg/api/Phalcon_Assets_Inline_Js.md +++ b/bg/api/Phalcon_Assets_Inline_Js.md @@ -1,6 +1,8 @@ # Class **Phalcon\\Assets\\Inline\\Js** -*extends* class [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +*extends* class [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) + +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) Source on GitHub @@ -10,30 +12,34 @@ Represents an inline Javascript public **__construct** (*string* $content, [*boolean* $filter], [*array* $attributes]) -public **getType** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getType** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getContent** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getContent** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getFilter** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getFilter** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getAttributes** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getAttributes** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) Sets the inline's type -public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) Sets if the resource must be filtered or not -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) + +Sets extra HTML attributes + +public **getResourceKey** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) -Sets extra HTML attributes \ No newline at end of file +Gets the resource's key. \ No newline at end of file diff --git a/bg/api/Phalcon_Assets_Manager.md b/bg/api/Phalcon_Assets_Manager.md index 55ab07f19201..13ecabf4ff9c 100644 --- a/bg/api/Phalcon_Assets_Manager.md +++ b/bg/api/Phalcon_Assets_Manager.md @@ -52,7 +52,7 @@ public **addInlineJs** (*mixed* $content, [*mixed* $filter], [*mixed* $attribute Adds an inline javascript to the 'js' collection -public **addResourceByType** (*mixed* $type, [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) $resource) +public **addResourceByType** (*mixed* $type, [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) $resource) Adds a resource by its type @@ -65,11 +65,11 @@ $assets->addResourceByType("css", ``` -public **addInlineCodeByType** (*mixed* $type, [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) $code) +public **addInlineCodeByType** (*mixed* $type, [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) $code) Adds an inline code by its type -public **addResource** ([Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) $resource) +public **addResource** ([Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) $resource) Adds a raw resource to the manager @@ -82,11 +82,11 @@ $assets->addResource( ``` -public **addInlineCode** ([Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) $code) +public **addInlineCode** ([Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) $code) Adds a raw inline code to the manager -public **set** (*mixed* $id, [Phalcon\Assets\Collection](/en/3.1.2/api/Phalcon_Assets_Collection) $collection) +public **set** (*mixed* $id, [Phalcon\Assets\Collection](/en/3.2/api/Phalcon_Assets_Collection) $collection) Sets a collection in the Assets Manager @@ -99,7 +99,7 @@ $assets->set("js", $collection); public **get** (*mixed* $id) -Returns a collection by its id +Returns a collection by its id. ```php exists("jsHeader")) { + // \Phalcon\Assets\Collection + $collection = $assets->get("jsHeader"); +} + +``` \ No newline at end of file diff --git a/bg/api/Phalcon_Assets_Resource.md b/bg/api/Phalcon_Assets_Resource.md index 9718061c348e..d67dc71b7929 100644 --- a/bg/api/Phalcon_Assets_Resource.md +++ b/bg/api/Phalcon_Assets_Resource.md @@ -1,5 +1,7 @@ # Class **Phalcon\\Assets\\Resource** +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) + Source on GitHub Represents an asset resource @@ -85,4 +87,8 @@ Returns the complete location where the resource is located public **getRealTargetPath** ([*mixed* $basePath]) -Returns the complete location where the resource must be written \ No newline at end of file +Returns the complete location where the resource must be written + +public **getResourceKey** () + +Gets the resource's key. \ No newline at end of file diff --git a/bg/api/Phalcon_Assets_Resource_Css.md b/bg/api/Phalcon_Assets_Resource_Css.md index 9376a4de5f6d..11c938e391ca 100644 --- a/bg/api/Phalcon_Assets_Resource_Css.md +++ b/bg/api/Phalcon_Assets_Resource_Css.md @@ -1,6 +1,8 @@ # Class **Phalcon\\Assets\\Resource\\Css** -*extends* class [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +*extends* class [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) + +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) Source on GitHub @@ -10,72 +12,76 @@ Represents CSS resources public **__construct** (*string* $path, [*boolean* $local], [*boolean* $filter], [*array* $attributes]) -public **getType** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getType** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getPath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getPath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getLocal** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getLocal** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getFilter** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getFilter** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getAttributes** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getAttributes** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getSourcePath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getSourcePath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **getTargetPath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getTargetPath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **getTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's type -public **setPath** (*mixed* $path) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setPath** (*mixed* $path) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's path -public **setLocal** (*mixed* $local) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setLocal** (*mixed* $local) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets if the resource is local or external -public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets if the resource must be filtered or not -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets extra HTML attributes -public **setTargetUri** (*mixed* $targetUri) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setTargetUri** (*mixed* $targetUri) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets a target uri for the generated HTML -public **setSourcePath** (*mixed* $sourcePath) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setSourcePath** (*mixed* $sourcePath) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's source path -public **setTargetPath** (*mixed* $targetPath) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setTargetPath** (*mixed* $targetPath) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's target path -public **getContent** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getContent** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the content of the resource as an string Optionally a base path where the resource is located can be set -public **getRealTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the real target uri for the generated HTML -public **getRealSourcePath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealSourcePath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the complete location where the resource is located -public **getRealTargetPath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealTargetPath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) + +Returns the complete location where the resource must be written + +public **getResourceKey** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -Returns the complete location where the resource must be written \ No newline at end of file +Gets the resource's key. \ No newline at end of file diff --git a/bg/api/Phalcon_Assets_Resource_Js.md b/bg/api/Phalcon_Assets_Resource_Js.md index a4c132ff1ed1..2acc4d239b9d 100644 --- a/bg/api/Phalcon_Assets_Resource_Js.md +++ b/bg/api/Phalcon_Assets_Resource_Js.md @@ -1,6 +1,8 @@ # Class **Phalcon\\Assets\\Resource\\Js** -*extends* class [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +*extends* class [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) + +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) Source on GitHub @@ -10,72 +12,76 @@ Represents Javascript resources public **__construct** (*string* $path, [*boolean* $local], [*boolean* $filter], [*array* $attributes]) -public **getType** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getType** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getPath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getPath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getLocal** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getLocal** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getFilter** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getFilter** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getAttributes** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getAttributes** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getSourcePath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getSourcePath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **getTargetPath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getTargetPath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **getTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's type -public **setPath** (*mixed* $path) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setPath** (*mixed* $path) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's path -public **setLocal** (*mixed* $local) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setLocal** (*mixed* $local) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets if the resource is local or external -public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets if the resource must be filtered or not -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets extra HTML attributes -public **setTargetUri** (*mixed* $targetUri) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setTargetUri** (*mixed* $targetUri) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets a target uri for the generated HTML -public **setSourcePath** (*mixed* $sourcePath) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setSourcePath** (*mixed* $sourcePath) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's source path -public **setTargetPath** (*mixed* $targetPath) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setTargetPath** (*mixed* $targetPath) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's target path -public **getContent** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getContent** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the content of the resource as an string Optionally a base path where the resource is located can be set -public **getRealTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the real target uri for the generated HTML -public **getRealSourcePath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealSourcePath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the complete location where the resource is located -public **getRealTargetPath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealTargetPath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) + +Returns the complete location where the resource must be written + +public **getResourceKey** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -Returns the complete location where the resource must be written \ No newline at end of file +Gets the resource's key. \ No newline at end of file diff --git a/bg/api/Phalcon_Cache_Backend.md b/bg/api/Phalcon_Cache_Backend.md index f81ba2e57820..6e8b2e14bbff 100644 --- a/bg/api/Phalcon_Cache_Backend.md +++ b/bg/api/Phalcon_Cache_Backend.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Cache\\Backend** -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -32,7 +32,7 @@ public **setLastKey** (*mixed* $lastKey) ... -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend constructor @@ -56,22 +56,22 @@ public *int* **getLifetime** () Gets the last lifetime set -abstract public **get** (*mixed* $keyName, [*mixed* $lifetime]) inherited from [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +abstract public **get** (*mixed* $keyName, [*mixed* $lifetime]) inherited from [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) ... -abstract public **save** ([*mixed* $keyName], [*mixed* $content], [*mixed* $lifetime], [*mixed* $stopBuffer]) inherited from [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +abstract public **save** ([*mixed* $keyName], [*mixed* $content], [*mixed* $lifetime], [*mixed* $stopBuffer]) inherited from [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) ... -abstract public **delete** (*mixed* $keyName) inherited from [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +abstract public **delete** (*mixed* $keyName) inherited from [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) ... -abstract public **queryKeys** ([*mixed* $prefix]) inherited from [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +abstract public **queryKeys** ([*mixed* $prefix]) inherited from [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) ... -abstract public **exists** ([*mixed* $keyName], [*mixed* $lifetime]) inherited from [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +abstract public **exists** ([*mixed* $keyName], [*mixed* $lifetime]) inherited from [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) ... \ No newline at end of file diff --git a/bg/api/Phalcon_Cache_Backend_Apc.md b/bg/api/Phalcon_Cache_Backend_Apc.md index 6f08c1fef4b7..92b01c89d25a 100644 --- a/bg/api/Phalcon_Cache_Backend_Apc.md +++ b/bg/api/Phalcon_Cache_Backend_Apc.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Apc** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -94,50 +94,50 @@ $cache->flush(); ``` -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Phalcon\\Cache\\Backend constructor -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/bg/api/Phalcon_Cache_Backend_File.md b/bg/api/Phalcon_Cache_Backend_File.md index 78c3aff0e84c..3ea73b705889 100644 --- a/bg/api/Phalcon_Cache_Backend_File.md +++ b/bg/api/Phalcon_Cache_Backend_File.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\File** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -44,7 +44,7 @@ if ($content === null) { ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, *array* $options) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, *array* $options) Phalcon\\Cache\\Backend\\File constructor @@ -98,46 +98,46 @@ public **useSafeKey** (*mixed* $useSafeKey) Set whether to use the safekey or not -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/bg/api/Phalcon_Cache_Backend_Libmemcached.md b/bg/api/Phalcon_Cache_Backend_Libmemcached.md index 88948897b300..9ec4b031d82e 100644 --- a/bg/api/Phalcon_Cache_Backend_Libmemcached.md +++ b/bg/api/Phalcon_Cache_Backend_Libmemcached.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Libmemcached** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -49,7 +49,7 @@ $data = $cache->get("my-data"); ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend\\Memcache constructor @@ -116,46 +116,46 @@ $cache->flush(); ``` -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/bg/api/Phalcon_Cache_Backend_Memcache.md b/bg/api/Phalcon_Cache_Backend_Memcache.md index 7310592149b1..6f2575ca5c8d 100644 --- a/bg/api/Phalcon_Cache_Backend_Memcache.md +++ b/bg/api/Phalcon_Cache_Backend_Memcache.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Memcache** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -43,7 +43,7 @@ $data = $cache->get("my-data"); ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend\\Memcache constructor @@ -97,46 +97,46 @@ public **flush** () Immediately invalidates all existing items. -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/bg/api/Phalcon_Cache_Backend_Memory.md b/bg/api/Phalcon_Cache_Backend_Memory.md index 06a4216cf7ac..a269432ab9f3 100644 --- a/bg/api/Phalcon_Cache_Backend_Memory.md +++ b/bg/api/Phalcon_Cache_Backend_Memory.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Memory** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface), [Serializable](http://php.net/manual/en/class.serializable.php) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface), [Serializable](http://php.net/manual/en/class.serializable.php) Source on GitHub @@ -79,50 +79,50 @@ public **unserialize** (*mixed* $data) Required for interface \\Serializable -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Phalcon\\Cache\\Backend constructor -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/bg/api/Phalcon_Cache_Backend_Mongo.md b/bg/api/Phalcon_Cache_Backend_Mongo.md index 9ad0f67b530c..6421cd0f4f29 100644 --- a/bg/api/Phalcon_Cache_Backend_Mongo.md +++ b/bg/api/Phalcon_Cache_Backend_Mongo.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Mongo** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -44,7 +44,7 @@ $data = $cache->get("my-data"); ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend\\Mongo constructor @@ -98,46 +98,46 @@ public **flush** () Immediately invalidates all existing items. -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/bg/api/Phalcon_Cache_Backend_Redis.md b/bg/api/Phalcon_Cache_Backend_Redis.md index 123bf025f2af..a3509251d509 100644 --- a/bg/api/Phalcon_Cache_Backend_Redis.md +++ b/bg/api/Phalcon_Cache_Backend_Redis.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Redis** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -45,7 +45,7 @@ $data = $cache->get("my-data"); ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend\\Redis constructor @@ -105,46 +105,46 @@ public **flush** () Immediately invalidates all existing items. -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/bg/api/Phalcon_Cache_Backend_Xcache.md b/bg/api/Phalcon_Cache_Backend_Xcache.md index b91e75b19c79..7dac8215d5f3 100644 --- a/bg/api/Phalcon_Cache_Backend_Xcache.md +++ b/bg/api/Phalcon_Cache_Backend_Xcache.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Xcache** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -38,7 +38,7 @@ $data = $cache->get("my-data"); ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend\\Xcache constructor @@ -84,46 +84,46 @@ public **flush** () Immediately invalidates all existing items. -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/bg/api/Phalcon_Cache_Exception.md b/bg/api/Phalcon_Cache_Exception.md index cbb05a3a76e4..87f2372e7864 100644 --- a/bg/api/Phalcon_Cache_Exception.md +++ b/bg/api/Phalcon_Cache_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/bg/api/Phalcon_Cache_Frontend_Base64.md b/bg/api/Phalcon_Cache_Frontend_Base64.md index 92f36996b4b7..473895a88aa8 100644 --- a/bg/api/Phalcon_Cache_Frontend_Base64.md +++ b/bg/api/Phalcon_Cache_Frontend_Base64.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Frontend\\Base64** -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/bg/api/Phalcon_Cache_Frontend_Data.md b/bg/api/Phalcon_Cache_Frontend_Data.md index f46469ab7410..1f249be7103c 100644 --- a/bg/api/Phalcon_Cache_Frontend_Data.md +++ b/bg/api/Phalcon_Cache_Frontend_Data.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Frontend\\Data** -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/bg/api/Phalcon_Cache_Frontend_Igbinary.md b/bg/api/Phalcon_Cache_Frontend_Igbinary.md index 1460a42ce867..714a96bb4de1 100644 --- a/bg/api/Phalcon_Cache_Frontend_Igbinary.md +++ b/bg/api/Phalcon_Cache_Frontend_Igbinary.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Frontend\\Igbinary** -*extends* class [Phalcon\Cache\Frontend\Data](/en/3.1.2/api/Phalcon_Cache_Frontend_Data) +*extends* class [Phalcon\Cache\Frontend\Data](/en/3.2/api/Phalcon_Cache_Frontend_Data) -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/bg/api/Phalcon_Cache_Frontend_Json.md b/bg/api/Phalcon_Cache_Frontend_Json.md index 64a296ca976f..bfe39cdc53c4 100644 --- a/bg/api/Phalcon_Cache_Frontend_Json.md +++ b/bg/api/Phalcon_Cache_Frontend_Json.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Frontend\\Json** -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/bg/api/Phalcon_Cache_Frontend_Msgpack.md b/bg/api/Phalcon_Cache_Frontend_Msgpack.md index f77a99a21168..857b40d4bbdc 100644 --- a/bg/api/Phalcon_Cache_Frontend_Msgpack.md +++ b/bg/api/Phalcon_Cache_Frontend_Msgpack.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Frontend\\Msgpack** -*extends* class [Phalcon\Cache\Frontend\Data](/en/3.1.2/api/Phalcon_Cache_Frontend_Data) +*extends* class [Phalcon\Cache\Frontend\Data](/en/3.2/api/Phalcon_Cache_Frontend_Data) -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/bg/api/Phalcon_Cache_Frontend_None.md b/bg/api/Phalcon_Cache_Frontend_None.md index 521fcd02f344..bdc0af2d4135 100644 --- a/bg/api/Phalcon_Cache_Frontend_None.md +++ b/bg/api/Phalcon_Cache_Frontend_None.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Frontend\\None** -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/bg/api/Phalcon_Cache_Frontend_Output.md b/bg/api/Phalcon_Cache_Frontend_Output.md index 8421c02f1276..c6a0543703d6 100644 --- a/bg/api/Phalcon_Cache_Frontend_Output.md +++ b/bg/api/Phalcon_Cache_Frontend_Output.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Frontend\\Output** -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/bg/api/Phalcon_Cache_Multiple.md b/bg/api/Phalcon_Cache_Multiple.md index bbfa61a13274..1d9fd1365aa9 100644 --- a/bg/api/Phalcon_Cache_Multiple.md +++ b/bg/api/Phalcon_Cache_Multiple.md @@ -65,11 +65,11 @@ $cache->save("my-key", $data); ## Methods -public **__construct** ([[Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface[]) $backends]) +public **__construct** ([[Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface[]) $backends]) Phalcon\\Cache\\Multiple constructor -public **push** ([Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) $backend) +public **push** ([Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) $backend) Adds a backend diff --git a/bg/api/Phalcon_Cli_Console.md b/bg/api/Phalcon_Cli_Console.md index c769b7ad7659..f0337bf3f1ec 100644 --- a/bg/api/Phalcon_Cli_Console.md +++ b/bg/api/Phalcon_Cli_Console.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cli\\Console** -*extends* abstract class [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +*extends* abstract class [Phalcon\Application](/en/3.2/api/Phalcon_Application) -*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -36,19 +36,19 @@ public **setArgument** ([*array* $arguments], [*mixed* $str], [*mixed* $shift]) Set an specific argument -public **__construct** ([[Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector]) inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **__construct** ([[Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector]) inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Phalcon\\Application -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Sets the events manager -public **getEventsManager** () inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **getEventsManager** () inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Returns the internal event manager -public **registerModules** (*array* $modules, [*mixed* $merge]) inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **registerModules** (*array* $modules, [*mixed* $merge]) inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Register an array of modules present in the application @@ -70,30 +70,30 @@ $this->registerModules( ``` -public **getModules** () inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **getModules** () inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Return the modules registered in the application -public **getModule** (*mixed* $name) inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **getModule** (*mixed* $name) inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Gets the module definition registered in the application via module name -public **setDefaultModule** (*mixed* $defaultModule) inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **setDefaultModule** (*mixed* $defaultModule) inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Sets the module name to be used if the router doesn't return a valid module -public **getDefaultModule** () inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **getDefaultModule** () inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Returns the default module name -public **setDI** ([Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **setDI** ([Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Sets the dependency injector -public **getDI** () inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **getDI** () inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Returns the internal dependency injector -public **__get** (*mixed* $propertyName) inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **__get** (*mixed* $propertyName) inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Magic method __get \ No newline at end of file diff --git a/bg/api/Phalcon_Cli_Console_Exception.md b/bg/api/Phalcon_Cli_Console_Exception.md index 64a6f1f9162a..e7bfea5dbde1 100644 --- a/bg/api/Phalcon_Cli_Console_Exception.md +++ b/bg/api/Phalcon_Cli_Console_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cli\\Console\\Exception** -*extends* class [Phalcon\Application\Exception](/en/3.1.2/api/Phalcon_Application_Exception) +*extends* class [Phalcon\Application\Exception](/en/3.2/api/Phalcon_Application_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/bg/api/Phalcon_Cli_Dispatcher.md b/bg/api/Phalcon_Cli_Dispatcher.md index 7b91f5c9f537..f03b7c7c61ac 100644 --- a/bg/api/Phalcon_Cli_Dispatcher.md +++ b/bg/api/Phalcon_Cli_Dispatcher.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cli\\Dispatcher** -*extends* abstract class [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +*extends* abstract class [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) -*implements* [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface), [Phalcon\Cli\DispatcherInterface](/en/3.1.2/api/Phalcon_Cli_DispatcherInterface) +*implements* [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface), [Phalcon\Cli\DispatcherInterface](/en/3.2/api/Phalcon_Cli_DispatcherInterface) Source on GitHub @@ -11,10 +11,11 @@ Dispatching is the process of taking the command-line arguments, extracting the ```php setDi($di); $dispatcher->setTaskName("posts"); @@ -81,107 +82,115 @@ public **getOptions** () Get dispatched options +public **getOption** (*mixed* $option, [*string* | *array* $filters], [*mixed* $defaultValue]) + +Gets an option by its name or numeric index + +public **hasOption** (*mixed* $option) + +Check if an option exists + public **callActionMethod** (*mixed* $handler, *mixed* $actionMethod, [*array* $params]) -... +Calls the action method. -public **setDI** ([Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setDI** ([Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the dependency injector -public **getDI** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getDI** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns the internal dependency injector -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the events manager -public **getEventsManager** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getEventsManager** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns the internal event manager -public **setActionSuffix** (*mixed* $actionSuffix) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setActionSuffix** (*mixed* $actionSuffix) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the default action suffix -public **getActionSuffix** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getActionSuffix** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets the default action suffix -public **setModuleName** (*mixed* $moduleName) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setModuleName** (*mixed* $moduleName) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the module where the controller is (only informative) -public **getModuleName** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getModuleName** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets the module where the controller class is -public **setNamespaceName** (*mixed* $namespaceName) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setNamespaceName** (*mixed* $namespaceName) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the namespace where the controller class is -public **getNamespaceName** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getNamespaceName** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets a namespace to be prepended to the current handler name -public **setDefaultNamespace** (*mixed* $namespaceName) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setDefaultNamespace** (*mixed* $namespaceName) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the default namespace -public **getDefaultNamespace** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getDefaultNamespace** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns the default namespace -public **setDefaultAction** (*mixed* $actionName) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setDefaultAction** (*mixed* $actionName) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the default action name -public **setActionName** (*mixed* $actionName) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setActionName** (*mixed* $actionName) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the action name to be dispatched -public **getActionName** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getActionName** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets the latest dispatched action name -public **setParams** (*array* $params) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setParams** (*array* $params) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets action params to be dispatched -public **getParams** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getParams** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets action params -public **setParam** (*mixed* $param, *mixed* $value) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setParam** (*mixed* $param, *mixed* $value) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Set a param by its name or numeric index -public *mixed* **getParam** (*mixed* $param, [*string* | *array* $filters], [*mixed* $defaultValue]) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public *mixed* **getParam** (*mixed* $param, [*string* | *array* $filters], [*mixed* $defaultValue]) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets a param by its name or numeric index -public *boolean* **hasParam** (*mixed* $param) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public *boolean* **hasParam** (*mixed* $param) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Check if a param exists -public **getActiveMethod** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getActiveMethod** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns the current method to be/executed in the dispatcher -public **isFinished** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **isFinished** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Checks if the dispatch loop is finished or has more pendent controllers/tasks to dispatch -public **setReturnedValue** (*mixed* $value) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setReturnedValue** (*mixed* $value) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the latest returned value by an action manually -public *mixed* **getReturnedValue** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public *mixed* **getReturnedValue** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns value returned by the latest dispatched action -public **setModelBinding** (*mixed* $value, [*mixed* $cache]) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setModelBinding** (*mixed* $value, [*mixed* $cache]) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Enable/Disable model binding during dispatch @@ -197,7 +206,7 @@ $di->set('dispatcher', function() { ``` -public **setModelBinder** ([Phalcon\Mvc\Model\BinderInterface](/en/3.1.2/api/Phalcon_Mvc_Model_BinderInterface) $modelBinder, [*mixed* $cache]) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setModelBinder** ([Phalcon\Mvc\Model\BinderInterface](/en/3.2/api/Phalcon_Mvc_Model_BinderInterface) $modelBinder, [*mixed* $cache]) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Enable model binding during dispatch @@ -213,21 +222,21 @@ $di->set('dispatcher', function() { ``` -public **getModelBinder** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getModelBinder** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets model binder -public *object* **dispatch** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public *object* **dispatch** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Dispatches a handle action taking into account the routing parameters -protected *object* **_dispatch** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +protected *object* **_dispatch** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Dispatches a handle action taking into account the routing parameters -public **forward** (*array* $forward) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **forward** (*array* $forward) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) -Forwards the execution flow to another controller/action Dispatchers are unique per module. Forwarding between modules is not allowed +Forwards the execution flow to another controller/action. ```php dispatcher->forward( ``` -public **wasForwarded** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **wasForwarded** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Check if the current executed action was forwarded by another one -public **getHandlerClass** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getHandlerClass** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Possible class name that will be located to dispatch the request -public **getBoundModels** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getBoundModels** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns bound models from binder instance @@ -266,6 +275,6 @@ class UserController extends Controller ``` -protected **_resolveEmptyProperties** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +protected **_resolveEmptyProperties** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Set empty properties to their defaults (where defaults are available) \ No newline at end of file diff --git a/bg/api/Phalcon_Cli_DispatcherInterface.md b/bg/api/Phalcon_Cli_DispatcherInterface.md index 58914bf4b682..78f4d7b40c9c 100644 --- a/bg/api/Phalcon_Cli_DispatcherInterface.md +++ b/bg/api/Phalcon_Cli_DispatcherInterface.md @@ -1,6 +1,6 @@ # Interface **Phalcon\\Cli\\DispatcherInterface** -*implements* [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +*implements* [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) Source on GitHub @@ -30,70 +30,70 @@ abstract public **getActiveTask** () ... -abstract public **setActionSuffix** (*mixed* $actionSuffix) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setActionSuffix** (*mixed* $actionSuffix) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **getActionSuffix** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **getActionSuffix** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setDefaultNamespace** (*mixed* $defaultNamespace) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setDefaultNamespace** (*mixed* $defaultNamespace) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setDefaultAction** (*mixed* $actionName) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setDefaultAction** (*mixed* $actionName) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setNamespaceName** (*mixed* $namespaceName) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setNamespaceName** (*mixed* $namespaceName) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setModuleName** (*mixed* $moduleName) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setModuleName** (*mixed* $moduleName) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setActionName** (*mixed* $actionName) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setActionName** (*mixed* $actionName) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **getActionName** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **getActionName** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setParams** (*mixed* $params) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setParams** (*mixed* $params) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **getParams** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **getParams** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setParam** (*mixed* $param, *mixed* $value) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setParam** (*mixed* $param, *mixed* $value) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **getParam** (*mixed* $param, [*mixed* $filters]) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **getParam** (*mixed* $param, [*mixed* $filters]) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **hasParam** (*mixed* $param) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **hasParam** (*mixed* $param) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **isFinished** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **isFinished** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **getReturnedValue** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **getReturnedValue** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **dispatch** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **dispatch** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **forward** (*mixed* $forward) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **forward** (*mixed* $forward) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... \ No newline at end of file diff --git a/bg/api/Phalcon_Cli_Dispatcher_Exception.md b/bg/api/Phalcon_Cli_Dispatcher_Exception.md index 0eeb05860d89..fbd0a6c4292d 100644 --- a/bg/api/Phalcon_Cli_Dispatcher_Exception.md +++ b/bg/api/Phalcon_Cli_Dispatcher_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cli\\Dispatcher\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/bg/api/Phalcon_Cli_Router.md b/bg/api/Phalcon_Cli_Router.md index d2cb10a44276..5a0943627b36 100644 --- a/bg/api/Phalcon_Cli_Router.md +++ b/bg/api/Phalcon_Cli_Router.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cli\\Router** -*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface) +*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface) Source on GitHub @@ -29,7 +29,7 @@ public **__construct** ([*mixed* $defaultRoutes]) Phalcon\\Cli\\Router constructor -public **setDI** ([Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector) +public **setDI** ([Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector) Sets the dependency injector @@ -69,7 +69,7 @@ public **handle** ([*array* $arguments]) Handles routing information received from command-line arguments -public [Phalcon\Cli\Router\Route](/en/3.1.2/api/Phalcon_Cli_Router_Route) **add** (*string* $pattern, [*string/array* $paths]) +public [Phalcon\Cli\Router\Route](/en/3.2/api/Phalcon_Cli_Router_Route) **add** (*string* $pattern, [*string/array* $paths]) Adds a route to the router @@ -112,7 +112,7 @@ public **getRoutes** () Returns all the routes defined in the router -public [Phalcon\Cli\Router\Route](/en/3.1.2/api/Phalcon_Cli_Router_Route) **getRouteById** (*int* $id) +public [Phalcon\Cli\Router\Route](/en/3.2/api/Phalcon_Cli_Router_Route) **getRouteById** (*int* $id) Returns a route object by its id diff --git a/bg/api/Phalcon_Cli_Router_Exception.md b/bg/api/Phalcon_Cli_Router_Exception.md index ebd81a411422..e063b3861132 100644 --- a/bg/api/Phalcon_Cli_Router_Exception.md +++ b/bg/api/Phalcon_Cli_Router_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cli\\Router\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/bg/api/Phalcon_Db_Adapter.md b/bg/api/Phalcon_Db_Adapter.md index c1deaded19cd..a5d397a98c83 100644 --- a/bg/api/Phalcon_Db_Adapter.md +++ b/bg/api/Phalcon_Db_Adapter.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Db\\Adapter** -*implements* [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -24,7 +24,7 @@ public **__construct** (*array* $descriptor) Phalcon\\Db\\Adapter constructor -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) Sets the event manager @@ -32,7 +32,7 @@ public **getEventsManager** () Returns the internal event manager -public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) $dialect) +public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) $dialect) Sets the dialect used to produce the SQL @@ -309,11 +309,11 @@ public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExist Drops a view -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Adds a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) Modifies a table column based on a definition @@ -321,7 +321,7 @@ public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnN Drops a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Adds an index to a table @@ -329,7 +329,7 @@ public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexNam Drop an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Adds a primary key to a table @@ -337,7 +337,7 @@ public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) Drops a table's primary key -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) Adds a foreign key to a table @@ -345,7 +345,7 @@ public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $ref Drops a foreign key from a table -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Returns the SQL column definition from a column @@ -375,7 +375,7 @@ print_r( ``` -public [Phalcon\Db\Index](/en/3.1.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) +public [Phalcon\Db\Index](/en/3.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) Lists table indexes @@ -512,54 +512,54 @@ public *array* **getSQLBindTypes** () Active SQL statement in the object -abstract public **connect** ([*array* $descriptor]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **connect** ([*array* $descriptor]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **query** (*mixed* $sqlStatement, [*mixed* $placeholders], [*mixed* $dataTypes]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **query** (*mixed* $sqlStatement, [*mixed* $placeholders], [*mixed* $dataTypes]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **execute** (*mixed* $sqlStatement, [*mixed* $placeholders], [*mixed* $dataTypes]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **execute** (*mixed* $sqlStatement, [*mixed* $placeholders], [*mixed* $dataTypes]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **affectedRows** () inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **affectedRows** () inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **close** () inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **close** () inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **lastInsertId** ([*mixed* $sequenceName]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **lastInsertId** ([*mixed* $sequenceName]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **isUnderTransaction** () inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **isUnderTransaction** () inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **getInternalHandler** () inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **getInternalHandler** () inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... \ No newline at end of file diff --git a/bg/api/Phalcon_Db_AdapterInterface.md b/bg/api/Phalcon_Db_AdapterInterface.md index 2b9bec9a2acd..4c6a8f54b3f1 100644 --- a/bg/api/Phalcon_Db_AdapterInterface.md +++ b/bg/api/Phalcon_Db_AdapterInterface.md @@ -64,11 +64,11 @@ abstract public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* ... -abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) ... -abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) ... @@ -76,7 +76,7 @@ abstract public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* ... -abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) ... @@ -84,7 +84,7 @@ abstract public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* ... -abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) ... @@ -92,7 +92,7 @@ abstract public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) ... -abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) ... @@ -100,7 +100,7 @@ abstract public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mi ... -abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) ... diff --git a/bg/api/Phalcon_Db_Adapter_Pdo.md b/bg/api/Phalcon_Db_Adapter_Pdo.md index 44de7d9e6e1f..c23a014e3d58 100644 --- a/bg/api/Phalcon_Db_Adapter_Pdo.md +++ b/bg/api/Phalcon_Db_Adapter_Pdo.md @@ -1,8 +1,8 @@ # Abstract class **Phalcon\\Db\\Adapter\\Pdo** -*extends* abstract class [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +*extends* abstract class [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) -*implements* [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +*implements* [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) Source on GitHub @@ -262,35 +262,35 @@ public *array* **getErrorInfo** () Return the error info, if any -public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Name of the dialect used -public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Type of database system the adapter is used for -public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL bound parameter variables -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the event manager -public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the internal event manager -public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the dialect used to produce the SQL -public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns internal dialect instance -public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the first row in a SQL query result @@ -307,7 +307,7 @@ print_r($robot); ``` -public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Dumps the complete result of a query into an array @@ -338,7 +338,7 @@ foreach($robots as $robot) { ``` -public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the n'th field of first row in a SQL query result @@ -358,7 +358,7 @@ print_r($robot); ``` -public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RDBMS SQL syntax @@ -377,7 +377,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RBDM SQL syntax @@ -398,7 +398,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax @@ -435,7 +435,7 @@ $success = $connection->update( Warning! If $whereCondition is string it not escaped. -public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax Another, more convenient syntax @@ -456,7 +456,7 @@ UPDATE `robots` SET `name` = "Astro boy" WHERE id = 101 ``` -public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Deletes data from a table using custom RBDM SQL syntax @@ -474,7 +474,7 @@ DELETE FROM `robots` WHERE `id` = 101 ``` -public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Escapes a column/table/schema name @@ -494,11 +494,11 @@ $escapedTable = $connection->escapeIdentifier( ``` -public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets a list of columns -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Appends a LIMIT clause to $sqlQuery argument @@ -509,7 +509,7 @@ echo $connection->limit("SELECT * FROM robots", 5); ``` -public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.table @@ -522,7 +522,7 @@ var_dump( ``` -public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.view @@ -535,71 +535,71 @@ var_dump( ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a FOR UPDATE clause -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a LOCK IN SHARE MODE clause -public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a table -public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table from a schema/database -public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a view -public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a view -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Modifies a table column based on a definition -public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds an index to a table -public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drop an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a primary key to a table -public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table's primary key -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a foreign key to a table -public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a foreign key from a table -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the SQL column definition from a column -public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all tables on a database @@ -612,7 +612,7 @@ print_r( ``` -public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all views on a database @@ -625,7 +625,7 @@ print_r( ``` -public [Phalcon\Db\Index](/en/3.1.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public [Phalcon\Db\Index](/en/3.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Lists table indexes @@ -638,7 +638,7 @@ print_r( ``` -public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Lists table references @@ -651,7 +651,7 @@ print_r( ``` -public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets creation options from a table @@ -664,31 +664,31 @@ print_r( ``` -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Releases given savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Rollbacks given savepoint -public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Set if nested transactions should use savepoints -public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns if nested transactions should use savepoints -public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the savepoint name to use for nested transactions -public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default identity value to be inserted in an identity column @@ -712,7 +712,7 @@ $success = $connection->insert( ``` -public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default value to make the RBDM use the default value declared in the table definition @@ -734,34 +734,34 @@ $success = $connection->insert( ``` -public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Check whether the database system requires a sequence to produce auto-numeric values -public **useExplicitIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **useExplicitIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Check whether the database system requires an explicit value for identity columns -public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Return descriptor used to connect to the active database -public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets the active connection unique identifier -public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object -public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object without replace bound parameters -public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object -abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... \ No newline at end of file diff --git a/bg/api/Phalcon_Db_Adapter_Pdo_Mysql.md b/bg/api/Phalcon_Db_Adapter_Pdo_Mysql.md index fe17030fddcf..5013bf0def80 100644 --- a/bg/api/Phalcon_Db_Adapter_Pdo_Mysql.md +++ b/bg/api/Phalcon_Db_Adapter_Pdo_Mysql.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Adapter\\Pdo\\Mysql** -*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) -*implements* [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -40,7 +40,7 @@ print_r( ``` -public [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface[]) **describeIndexes** (*string* $table, [*string* $schema]) +public [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface[]) **describeIndexes** (*string* $table, [*string* $schema]) Lists table indexes @@ -66,11 +66,11 @@ print_r( ``` -public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Constructor for Phalcon\\Db\\Adapter\\Pdo -public **connect** ([*array* $descriptor]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **connect** ([*array* $descriptor]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) This method is automatically called in \\Phalcon\\Db\\Adapter\\Pdo constructor. Call it when you need to restore a database connection. @@ -95,7 +95,7 @@ $connection->connect(); ``` -public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns a PDO prepared statement to be executed with 'executePrepared' @@ -120,7 +120,7 @@ $result = $connection->executePrepared( ``` -public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Executes a prepared statement binding. This function uses integer indexes starting from zero @@ -145,7 +145,7 @@ $result = $connection->executePrepared( ``` -public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server is returning rows @@ -166,7 +166,7 @@ $resultset = $connection->query( ``` -public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server doesn't return any rows @@ -188,7 +188,7 @@ $success = $connection->execute( ``` -public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the number of affected rows by the latest INSERT/UPDATE/DELETE executed in the database system @@ -203,11 +203,11 @@ echo $connection->affectedRows(), " were deleted"; ``` -public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Closes the active connection returning success. Phalcon automatically closes and destroys active connections when the request ends -public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Escapes a value to avoid SQL injections according to the active charset in the connection @@ -218,7 +218,7 @@ $escapedStr = $connection->escapeString("some dangerous value"); ``` -public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Converts bound parameters such as :name: or ?1 into PDO bind params ? @@ -236,7 +236,7 @@ print_r( ``` -public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the insert id for the auto_increment/serial column inserted in the latest executed SQL statement @@ -261,23 +261,23 @@ $id = $connection->lastInsertId(); ``` -public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Starts a transaction in the connection -public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Rollbacks the active transaction in the connection -public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Commits the active transaction in the connection -public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the current transaction nesting level -public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Checks whether the connection is under a transaction @@ -293,43 +293,43 @@ var_dump( ``` -public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return internal PDO handler -public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return the error info, if any -public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Name of the dialect used -public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Type of database system the adapter is used for -public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL bound parameter variables -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the event manager -public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the internal event manager -public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the dialect used to produce the SQL -public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns internal dialect instance -public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the first row in a SQL query result @@ -346,7 +346,7 @@ print_r($robot); ``` -public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Dumps the complete result of a query into an array @@ -377,7 +377,7 @@ foreach($robots as $robot) { ``` -public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the n'th field of first row in a SQL query result @@ -397,7 +397,7 @@ print_r($robot); ``` -public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RDBMS SQL syntax @@ -416,7 +416,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RBDM SQL syntax @@ -437,7 +437,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax @@ -474,7 +474,7 @@ $success = $connection->update( Warning! If $whereCondition is string it not escaped. -public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax Another, more convenient syntax @@ -495,7 +495,7 @@ UPDATE `robots` SET `name` = "Astro boy" WHERE id = 101 ``` -public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Deletes data from a table using custom RBDM SQL syntax @@ -513,7 +513,7 @@ DELETE FROM `robots` WHERE `id` = 101 ``` -public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Escapes a column/table/schema name @@ -533,11 +533,11 @@ $escapedTable = $connection->escapeIdentifier( ``` -public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets a list of columns -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Appends a LIMIT clause to $sqlQuery argument @@ -548,7 +548,7 @@ echo $connection->limit("SELECT * FROM robots", 5); ``` -public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.table @@ -561,7 +561,7 @@ var_dump( ``` -public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.view @@ -574,71 +574,71 @@ var_dump( ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a FOR UPDATE clause -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a LOCK IN SHARE MODE clause -public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a table -public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table from a schema/database -public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a view -public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a view -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Modifies a table column based on a definition -public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds an index to a table -public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drop an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a primary key to a table -public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table's primary key -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a foreign key to a table -public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a foreign key from a table -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the SQL column definition from a column -public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all tables on a database @@ -651,7 +651,7 @@ print_r( ``` -public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all views on a database @@ -664,7 +664,7 @@ print_r( ``` -public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets creation options from a table @@ -677,31 +677,31 @@ print_r( ``` -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Releases given savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Rollbacks given savepoint -public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Set if nested transactions should use savepoints -public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns if nested transactions should use savepoints -public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the savepoint name to use for nested transactions -public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default identity value to be inserted in an identity column @@ -725,7 +725,7 @@ $success = $connection->insert( ``` -public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default value to make the RBDM use the default value declared in the table definition @@ -747,30 +747,30 @@ $success = $connection->insert( ``` -public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Check whether the database system requires a sequence to produce auto-numeric values -public **useExplicitIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **useExplicitIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Check whether the database system requires an explicit value for identity columns -public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Return descriptor used to connect to the active database -public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets the active connection unique identifier -public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object -public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object without replace bound parameters -public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object \ No newline at end of file diff --git a/bg/api/Phalcon_Db_Adapter_Pdo_Postgresql.md b/bg/api/Phalcon_Db_Adapter_Pdo_Postgresql.md index c7f35273d52a..9a66f69a4ec1 100644 --- a/bg/api/Phalcon_Db_Adapter_Pdo_Postgresql.md +++ b/bg/api/Phalcon_Db_Adapter_Pdo_Postgresql.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Adapter\\Pdo\\Postgresql** -*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) -*implements* [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -48,7 +48,7 @@ public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $defini Creates a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) Modifies a table column based on a definition @@ -84,11 +84,11 @@ public **supportSequences** () Check whether the database system requires a sequence to produce auto-numeric values -public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Constructor for Phalcon\\Db\\Adapter\\Pdo -public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns a PDO prepared statement to be executed with 'executePrepared' @@ -113,7 +113,7 @@ $result = $connection->executePrepared( ``` -public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Executes a prepared statement binding. This function uses integer indexes starting from zero @@ -138,7 +138,7 @@ $result = $connection->executePrepared( ``` -public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server is returning rows @@ -159,7 +159,7 @@ $resultset = $connection->query( ``` -public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server doesn't return any rows @@ -181,7 +181,7 @@ $success = $connection->execute( ``` -public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the number of affected rows by the latest INSERT/UPDATE/DELETE executed in the database system @@ -196,11 +196,11 @@ echo $connection->affectedRows(), " were deleted"; ``` -public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Closes the active connection returning success. Phalcon automatically closes and destroys active connections when the request ends -public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Escapes a value to avoid SQL injections according to the active charset in the connection @@ -211,7 +211,7 @@ $escapedStr = $connection->escapeString("some dangerous value"); ``` -public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Converts bound parameters such as :name: or ?1 into PDO bind params ? @@ -229,7 +229,7 @@ print_r( ``` -public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the insert id for the auto_increment/serial column inserted in the latest executed SQL statement @@ -254,23 +254,23 @@ $id = $connection->lastInsertId(); ``` -public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Starts a transaction in the connection -public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Rollbacks the active transaction in the connection -public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Commits the active transaction in the connection -public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the current transaction nesting level -public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Checks whether the connection is under a transaction @@ -286,43 +286,43 @@ var_dump( ``` -public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return internal PDO handler -public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return the error info, if any -public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Name of the dialect used -public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Type of database system the adapter is used for -public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL bound parameter variables -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the event manager -public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the internal event manager -public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the dialect used to produce the SQL -public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns internal dialect instance -public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the first row in a SQL query result @@ -339,7 +339,7 @@ print_r($robot); ``` -public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Dumps the complete result of a query into an array @@ -370,7 +370,7 @@ foreach($robots as $robot) { ``` -public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the n'th field of first row in a SQL query result @@ -390,7 +390,7 @@ print_r($robot); ``` -public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RDBMS SQL syntax @@ -409,7 +409,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RBDM SQL syntax @@ -430,7 +430,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax @@ -467,7 +467,7 @@ $success = $connection->update( Warning! If $whereCondition is string it not escaped. -public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax Another, more convenient syntax @@ -488,7 +488,7 @@ UPDATE `robots` SET `name` = "Astro boy" WHERE id = 101 ``` -public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Deletes data from a table using custom RBDM SQL syntax @@ -506,7 +506,7 @@ DELETE FROM `robots` WHERE `id` = 101 ``` -public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Escapes a column/table/schema name @@ -526,11 +526,11 @@ $escapedTable = $connection->escapeIdentifier( ``` -public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets a list of columns -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Appends a LIMIT clause to $sqlQuery argument @@ -541,7 +541,7 @@ echo $connection->limit("SELECT * FROM robots", 5); ``` -public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.table @@ -554,7 +554,7 @@ var_dump( ``` -public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.view @@ -567,63 +567,63 @@ var_dump( ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a FOR UPDATE clause -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a LOCK IN SHARE MODE clause -public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table from a schema/database -public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a view -public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a view -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a column to a table -public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds an index to a table -public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drop an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a primary key to a table -public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table's primary key -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a foreign key to a table -public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a foreign key from a table -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the SQL column definition from a column -public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all tables on a database @@ -636,7 +636,7 @@ print_r( ``` -public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all views on a database @@ -649,7 +649,7 @@ print_r( ``` -public [Phalcon\Db\Index](/en/3.1.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public [Phalcon\Db\Index](/en/3.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Lists table indexes @@ -662,7 +662,7 @@ print_r( ``` -public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Lists table references @@ -675,7 +675,7 @@ print_r( ``` -public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets creation options from a table @@ -688,31 +688,31 @@ print_r( ``` -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Releases given savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Rollbacks given savepoint -public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Set if nested transactions should use savepoints -public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns if nested transactions should use savepoints -public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the savepoint name to use for nested transactions -public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default value to make the RBDM use the default value declared in the table definition @@ -734,22 +734,22 @@ $success = $connection->insert( ``` -public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Return descriptor used to connect to the active database -public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets the active connection unique identifier -public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object -public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object without replace bound parameters -public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object \ No newline at end of file diff --git a/bg/api/Phalcon_Db_Adapter_Pdo_Sqlite.md b/bg/api/Phalcon_Db_Adapter_Pdo_Sqlite.md index 1f92cfbfc6bd..a568c933ce4a 100644 --- a/bg/api/Phalcon_Db_Adapter_Pdo_Sqlite.md +++ b/bg/api/Phalcon_Db_Adapter_Pdo_Sqlite.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Adapter\\Pdo\\Sqlite** -*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) -*implements* [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -40,7 +40,7 @@ print_r( ``` -public [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface[]) **describeIndexes** (*string* $table, [*string* $schema]) +public [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface[]) **describeIndexes** (*string* $table, [*string* $schema]) Lists table indexes @@ -53,7 +53,7 @@ print_r( ``` -public [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface[]) **describeReferences** (*string* $table, [*string* $schema]) +public [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface[]) **describeReferences** (*string* $table, [*string* $schema]) Lists table references @@ -83,11 +83,11 @@ $success = $connection->insert( ``` -public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Constructor for Phalcon\\Db\\Adapter\\Pdo -public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns a PDO prepared statement to be executed with 'executePrepared' @@ -112,7 +112,7 @@ $result = $connection->executePrepared( ``` -public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Executes a prepared statement binding. This function uses integer indexes starting from zero @@ -137,7 +137,7 @@ $result = $connection->executePrepared( ``` -public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server is returning rows @@ -158,7 +158,7 @@ $resultset = $connection->query( ``` -public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server doesn't return any rows @@ -180,7 +180,7 @@ $success = $connection->execute( ``` -public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the number of affected rows by the latest INSERT/UPDATE/DELETE executed in the database system @@ -195,11 +195,11 @@ echo $connection->affectedRows(), " were deleted"; ``` -public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Closes the active connection returning success. Phalcon automatically closes and destroys active connections when the request ends -public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Escapes a value to avoid SQL injections according to the active charset in the connection @@ -210,7 +210,7 @@ $escapedStr = $connection->escapeString("some dangerous value"); ``` -public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Converts bound parameters such as :name: or ?1 into PDO bind params ? @@ -228,7 +228,7 @@ print_r( ``` -public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the insert id for the auto_increment/serial column inserted in the latest executed SQL statement @@ -253,23 +253,23 @@ $id = $connection->lastInsertId(); ``` -public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Starts a transaction in the connection -public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Rollbacks the active transaction in the connection -public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Commits the active transaction in the connection -public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the current transaction nesting level -public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Checks whether the connection is under a transaction @@ -285,43 +285,43 @@ var_dump( ``` -public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return internal PDO handler -public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return the error info, if any -public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Name of the dialect used -public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Type of database system the adapter is used for -public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL bound parameter variables -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the event manager -public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the internal event manager -public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the dialect used to produce the SQL -public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns internal dialect instance -public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the first row in a SQL query result @@ -338,7 +338,7 @@ print_r($robot); ``` -public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Dumps the complete result of a query into an array @@ -369,7 +369,7 @@ foreach($robots as $robot) { ``` -public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the n'th field of first row in a SQL query result @@ -389,7 +389,7 @@ print_r($robot); ``` -public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RDBMS SQL syntax @@ -408,7 +408,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RBDM SQL syntax @@ -429,7 +429,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax @@ -466,7 +466,7 @@ $success = $connection->update( Warning! If $whereCondition is string it not escaped. -public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax Another, more convenient syntax @@ -487,7 +487,7 @@ UPDATE `robots` SET `name` = "Astro boy" WHERE id = 101 ``` -public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Deletes data from a table using custom RBDM SQL syntax @@ -505,7 +505,7 @@ DELETE FROM `robots` WHERE `id` = 101 ``` -public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Escapes a column/table/schema name @@ -525,11 +525,11 @@ $escapedTable = $connection->escapeIdentifier( ``` -public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets a list of columns -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Appends a LIMIT clause to $sqlQuery argument @@ -540,7 +540,7 @@ echo $connection->limit("SELECT * FROM robots", 5); ``` -public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.table @@ -553,7 +553,7 @@ var_dump( ``` -public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.view @@ -566,71 +566,71 @@ var_dump( ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a FOR UPDATE clause -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a LOCK IN SHARE MODE clause -public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a table -public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table from a schema/database -public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a view -public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a view -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Modifies a table column based on a definition -public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds an index to a table -public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drop an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a primary key to a table -public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table's primary key -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a foreign key to a table -public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a foreign key from a table -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the SQL column definition from a column -public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all tables on a database @@ -643,7 +643,7 @@ print_r( ``` -public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all views on a database @@ -656,7 +656,7 @@ print_r( ``` -public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets creation options from a table @@ -669,31 +669,31 @@ print_r( ``` -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Releases given savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Rollbacks given savepoint -public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Set if nested transactions should use savepoints -public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns if nested transactions should use savepoints -public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the savepoint name to use for nested transactions -public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default identity value to be inserted in an identity column @@ -717,26 +717,26 @@ $success = $connection->insert( ``` -public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Check whether the database system requires a sequence to produce auto-numeric values -public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Return descriptor used to connect to the active database -public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets the active connection unique identifier -public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object -public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object without replace bound parameters -public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object \ No newline at end of file diff --git a/bg/api/Phalcon_Db_Column.md b/bg/api/Phalcon_Db_Column.md index ab2fdfb7a40e..fe0210a2b411 100644 --- a/bg/api/Phalcon_Db_Column.md +++ b/bg/api/Phalcon_Db_Column.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Db\\Column** -*implements* [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) +*implements* [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) Source on GitHub diff --git a/bg/api/Phalcon_Db_Dialect.md b/bg/api/Phalcon_Db_Dialect.md index 11c52ea58df4..df25f0af03ab 100644 --- a/bg/api/Phalcon_Db_Dialect.md +++ b/bg/api/Phalcon_Db_Dialect.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Db\\Dialect** -*implements* [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +*implements* [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) Source on GitHub @@ -199,86 +199,86 @@ protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $es Prepares qualified for this RDBMS -abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropTable** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropTable** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **describeIndexes** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **describeIndexes** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **tableOptions** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **tableOptions** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... \ No newline at end of file diff --git a/bg/api/Phalcon_Db_DialectInterface.md b/bg/api/Phalcon_Db_DialectInterface.md index 0bf993854d79..90ee58afb9e1 100644 --- a/bg/api/Phalcon_Db_DialectInterface.md +++ b/bg/api/Phalcon_Db_DialectInterface.md @@ -24,15 +24,15 @@ abstract public **getColumnList** (*array* $columnList) ... -abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) ... -abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) ... -abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) ... @@ -40,7 +40,7 @@ abstract public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* ... -abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) ... @@ -48,7 +48,7 @@ abstract public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* ... -abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) ... @@ -56,7 +56,7 @@ abstract public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) ... -abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) ... diff --git a/bg/api/Phalcon_Db_Dialect_Mysql.md b/bg/api/Phalcon_Db_Dialect_Mysql.md index 6178388fc739..d1a80102e14c 100644 --- a/bg/api/Phalcon_Db_Dialect_Mysql.md +++ b/bg/api/Phalcon_Db_Dialect_Mysql.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Dialect\\Mysql** -*extends* abstract class [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +*extends* abstract class [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) -*implements* [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +*implements* [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) Source on GitHub @@ -10,15 +10,15 @@ Generates database specific SQL for the MySQL RDBMS ## Methods -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Gets the column name in MySQL -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Generates SQL to add a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) Generates SQL to modify a column in a table @@ -26,7 +26,7 @@ public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnN Generates SQL to delete a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add an index to a table @@ -34,7 +34,7 @@ public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexNam Generates SQL to delete an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add the primary key to a table @@ -42,7 +42,7 @@ public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) Generates SQL to delete primary key from a table -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) Generates SQL to add an index to a table @@ -133,23 +133,23 @@ protected **_getTableOptions** (*array* $definition) Generates SQL to add the table creation options -public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Registers custom SQL functions -public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns registered functions -final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape Schema -final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape identifiers -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generates the SQL for LIMIT clause @@ -164,7 +164,7 @@ echo $sql; // SELECT * FROM robots LIMIT 10 OFFSET 50 ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a FOR UPDATE clause @@ -176,7 +176,7 @@ echo $sql; // SELECT * FROM robots FOR UPDATE ``` -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a LOCK IN SHARE MODE clause @@ -188,7 +188,7 @@ echo $sql; // SELECT * FROM robots LOCK IN SHARE MODE ``` -final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Gets a list of columns with escaped identifiers @@ -204,122 +204,122 @@ echo $dialect->getColumnList( ``` -final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transforms an intermediate representation for an expression into a database system valid expression -final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transform an intermediate representation of a schema/table into a database system valid expression -public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Builds a SELECT statement -public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports savepoints -public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports releasing savepoints. -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to create a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to release a savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to rollback a savepoint -final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve object expressions -final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve qualified expressions -final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve binary operations expressions -final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve unary operations expressions -final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve function calls -final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Lists -final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve * -final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CAST of values -final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CONVERT of values encodings -final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CASE expressions -final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a FROM clause -final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a JOINs clause -final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a WHERE clause -final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a GROUP BY clause -final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a HAVING clause -final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve an ORDER BY clause -final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a LIMIT clause -protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares column for this RDBMS -protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares table for this RDBMS -protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares qualified for this RDBMS \ No newline at end of file diff --git a/bg/api/Phalcon_Db_Dialect_Postgresql.md b/bg/api/Phalcon_Db_Dialect_Postgresql.md index 01fe5982984c..f10d03525235 100644 --- a/bg/api/Phalcon_Db_Dialect_Postgresql.md +++ b/bg/api/Phalcon_Db_Dialect_Postgresql.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Dialect\\Postgresql** -*extends* abstract class [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +*extends* abstract class [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) -*implements* [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +*implements* [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) Source on GitHub @@ -10,15 +10,15 @@ Generates database specific SQL for the PostgreSQL RDBMS ## Methods -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Gets the column name in PostgreSQL -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Generates SQL to add a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) Generates SQL to modify a column in a table @@ -26,7 +26,7 @@ public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnN Generates SQL to delete a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add an index to a table @@ -34,7 +34,7 @@ public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexNam Generates SQL to delete an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add the primary key to a table @@ -42,7 +42,7 @@ public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) Generates SQL to delete primary key from a table -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) Generates SQL to add an index to a table @@ -129,7 +129,7 @@ public **tableOptions** (*mixed* $table, [*mixed* $schema]) Generates the SQL to describe the table creation options -protected **_castDefault** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +protected **_castDefault** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) ... @@ -137,23 +137,23 @@ protected **_getTableOptions** (*array* $definition) ... -public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Registers custom SQL functions -public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns registered functions -final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape Schema -final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape identifiers -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generates the SQL for LIMIT clause @@ -168,7 +168,7 @@ echo $sql; // SELECT * FROM robots LIMIT 10 OFFSET 50 ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a FOR UPDATE clause @@ -180,7 +180,7 @@ echo $sql; // SELECT * FROM robots FOR UPDATE ``` -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a LOCK IN SHARE MODE clause @@ -192,7 +192,7 @@ echo $sql; // SELECT * FROM robots LOCK IN SHARE MODE ``` -final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Gets a list of columns with escaped identifiers @@ -208,122 +208,122 @@ echo $dialect->getColumnList( ``` -final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transforms an intermediate representation for an expression into a database system valid expression -final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transform an intermediate representation of a schema/table into a database system valid expression -public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Builds a SELECT statement -public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports savepoints -public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports releasing savepoints. -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to create a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to release a savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to rollback a savepoint -final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve object expressions -final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve qualified expressions -final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve binary operations expressions -final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve unary operations expressions -final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve function calls -final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Lists -final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve * -final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CAST of values -final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CONVERT of values encodings -final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CASE expressions -final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a FROM clause -final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a JOINs clause -final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a WHERE clause -final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a GROUP BY clause -final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a HAVING clause -final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve an ORDER BY clause -final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a LIMIT clause -protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares column for this RDBMS -protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares table for this RDBMS -protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares qualified for this RDBMS \ No newline at end of file diff --git a/bg/api/Phalcon_Db_Dialect_Sqlite.md b/bg/api/Phalcon_Db_Dialect_Sqlite.md index 7b38162151a0..dabec6d39e49 100644 --- a/bg/api/Phalcon_Db_Dialect_Sqlite.md +++ b/bg/api/Phalcon_Db_Dialect_Sqlite.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Dialect\\Sqlite** -*extends* abstract class [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +*extends* abstract class [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) -*implements* [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +*implements* [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) Source on GitHub @@ -10,15 +10,15 @@ Generates database specific SQL for the Sqlite RDBMS ## Methods -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Gets the column name in SQLite -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Generates SQL to add a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) Generates SQL to modify a column in a table @@ -26,7 +26,7 @@ public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnN Generates SQL to delete a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add an index to a table @@ -34,7 +34,7 @@ public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexNam Generates SQL to delete an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add the primary key to a table @@ -42,7 +42,7 @@ public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) Generates SQL to delete primary key from a table -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) Generates SQL to add an index to a table @@ -146,23 +146,23 @@ public **tableOptions** (*mixed* $table, [*mixed* $schema]) Generates the SQL to describe the table creation options -public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Registers custom SQL functions -public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns registered functions -final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape Schema -final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape identifiers -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generates the SQL for LIMIT clause @@ -177,7 +177,7 @@ echo $sql; // SELECT * FROM robots LIMIT 10 OFFSET 50 ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a FOR UPDATE clause @@ -189,7 +189,7 @@ echo $sql; // SELECT * FROM robots FOR UPDATE ``` -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a LOCK IN SHARE MODE clause @@ -201,7 +201,7 @@ echo $sql; // SELECT * FROM robots LOCK IN SHARE MODE ``` -final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Gets a list of columns with escaped identifiers @@ -217,122 +217,122 @@ echo $dialect->getColumnList( ``` -final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transforms an intermediate representation for an expression into a database system valid expression -final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transform an intermediate representation of a schema/table into a database system valid expression -public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Builds a SELECT statement -public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports savepoints -public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports releasing savepoints. -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to create a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to release a savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to rollback a savepoint -final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve object expressions -final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve qualified expressions -final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve binary operations expressions -final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve unary operations expressions -final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve function calls -final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Lists -final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve * -final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CAST of values -final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CONVERT of values encodings -final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CASE expressions -final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a FROM clause -final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a JOINs clause -final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a WHERE clause -final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a GROUP BY clause -final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a HAVING clause -final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve an ORDER BY clause -final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a LIMIT clause -protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares column for this RDBMS -protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares table for this RDBMS -protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares qualified for this RDBMS \ No newline at end of file diff --git a/bg/api/Phalcon_Db_Exception.md b/bg/api/Phalcon_Db_Exception.md index 839c2d00fbf8..00160179b065 100644 --- a/bg/api/Phalcon_Db_Exception.md +++ b/bg/api/Phalcon_Db_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Db\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/bg/api/Phalcon_Db_Index.md b/bg/api/Phalcon_Db_Index.md index 60a5b41f764f..9ca94ad0e146 100644 --- a/bg/api/Phalcon_Db_Index.md +++ b/bg/api/Phalcon_Db_Index.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Db\\Index** -*implements* [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) +*implements* [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) Source on GitHub diff --git a/bg/api/Phalcon_Db_Profiler.md b/bg/api/Phalcon_Db_Profiler.md index 05a913cb9c2c..1d6dde6d6e69 100644 --- a/bg/api/Phalcon_Db_Profiler.md +++ b/bg/api/Phalcon_Db_Profiler.md @@ -31,7 +31,7 @@ echo "Total Elapsed Time: ", $profile->getTotalElapsedSeconds(), "\n"; ## Methods -public [Phalcon\Db\Profiler](/en/3.1.2/api/Phalcon_Db_Profiler) **startProfile** (*string* $sqlStatement, [*mixed* $sqlVariables], [*mixed* $sqlBindTypes]) +public [Phalcon\Db\Profiler](/en/3.2/api/Phalcon_Db_Profiler) **startProfile** (*string* $sqlStatement, [*mixed* $sqlVariables], [*mixed* $sqlBindTypes]) Starts the profile of a SQL sentence diff --git a/bg/api/Phalcon_Db_Reference.md b/bg/api/Phalcon_Db_Reference.md index 30ac1a686521..2e83e14de226 100644 --- a/bg/api/Phalcon_Db_Reference.md +++ b/bg/api/Phalcon_Db_Reference.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Db\\Reference** -*implements* [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) +*implements* [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) Source on GitHub diff --git a/bg/api/Phalcon_Db_Result_Pdo.md b/bg/api/Phalcon_Db_Result_Pdo.md index 2e053d67ae6f..91808dece71f 100644 --- a/bg/api/Phalcon_Db_Result_Pdo.md +++ b/bg/api/Phalcon_Db_Result_Pdo.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Db\\Result\\Pdo** -*implements* [Phalcon\Db\ResultInterface](/en/3.1.2/api/Phalcon_Db_ResultInterface) +*implements* [Phalcon\Db\ResultInterface](/en/3.2/api/Phalcon_Db_ResultInterface) Source on GitHub @@ -23,7 +23,7 @@ while ($robot = $result->fetchArray()) { ## Methods -public **__construct** ([Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) $connection, [PDOStatement](http://php.net/manual/en/class.pdostatement.php) $result, [*string* $sqlStatement], [*array* $bindParams], [*array* $bindTypes]) +public **__construct** ([Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) $connection, [PDOStatement](http://php.net/manual/en/class.pdostatement.php) $result, [*string* $sqlStatement], [*array* $bindParams], [*array* $bindTypes]) Phalcon\\Db\\Result\\Pdo constructor diff --git a/bg/api/Phalcon_Debug_Exception.md b/bg/api/Phalcon_Debug_Exception.md index 81c02149efc6..170f204a2e35 100644 --- a/bg/api/Phalcon_Debug_Exception.md +++ b/bg/api/Phalcon_Debug_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Debug\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/bs/api/Phalcon_Acl_Adapter.md b/bs/api/Phalcon_Acl_Adapter.md index 9f86a2a2a142..1696a50b6e15 100644 --- a/bs/api/Phalcon_Acl_Adapter.md +++ b/bs/api/Phalcon_Acl_Adapter.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Acl\\Adapter** -*implements* [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -20,7 +20,7 @@ public **getActiveAccess** () Active access which the list is checking if some role can access it -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) Sets the events manager @@ -36,58 +36,58 @@ public **getDefaultAction** () Returns the default ACL access level -abstract public **setNoArgumentsDefaultAction** (*mixed* $defaultAccess) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **setNoArgumentsDefaultAction** (*mixed* $defaultAccess) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **getNoArgumentsDefaultAction** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **getNoArgumentsDefaultAction** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **addRole** (*mixed* $role, [*mixed* $accessInherits]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **addRole** (*mixed* $role, [*mixed* $accessInherits]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **addInherit** (*mixed* $roleName, *mixed* $roleToInherit) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **addInherit** (*mixed* $roleName, *mixed* $roleToInherit) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **isRole** (*mixed* $roleName) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **isRole** (*mixed* $roleName) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **isResource** (*mixed* $resourceName) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **isResource** (*mixed* $resourceName) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **addResource** (*mixed* $resourceObject, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **addResource** (*mixed* $resourceObject, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **addResourceAccess** (*mixed* $resourceName, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **addResourceAccess** (*mixed* $resourceName, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **dropResourceAccess** (*mixed* $resourceName, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **dropResourceAccess** (*mixed* $resourceName, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **allow** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*mixed* $func]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **allow** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*mixed* $func]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **deny** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*mixed* $func]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **deny** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*mixed* $func]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **isAllowed** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*array* $parameters]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **isAllowed** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*array* $parameters]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **getRoles** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **getRoles** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **getResources** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **getResources** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... \ No newline at end of file diff --git a/bs/api/Phalcon_Acl_Adapter_Memory.md b/bs/api/Phalcon_Acl_Adapter_Memory.md index e9ea95ccda45..889751c95b98 100644 --- a/bs/api/Phalcon_Acl_Adapter_Memory.md +++ b/bs/api/Phalcon_Acl_Adapter_Memory.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Acl\\Adapter\\Memory** -*extends* abstract class [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +*extends* abstract class [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) -*implements* [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +*implements* [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) Source on GitHub @@ -105,7 +105,7 @@ public **isResource** (*mixed* $resourceName) Check whether resource exist in the resources list -public **addResource** ([Phalcon\Acl\Resource](/en/3.1.2/api/Phalcon_Acl_Resource) | *string* $resourceValue, *array* | *string* $accessList) +public **addResource** ([Phalcon\Acl\Resource](/en/3.2/api/Phalcon_Acl_Resource) | *string* $resourceValue, *array* | *string* $accessList) Adds a resource to the ACL list Access names can be a particular action, by example search, update, delete, etc or a list of them Example: @@ -224,30 +224,30 @@ public **getResources** () Return an array with every resource registered in the list -public **getActiveRole** () inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **getActiveRole** () inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Role which the list is checking if it's allowed to certain resource/access -public **getActiveResource** () inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **getActiveResource** () inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Resource which the list is checking if some role can access it -public **getActiveAccess** () inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **getActiveAccess** () inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Active access which the list is checking if some role can access it -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Sets the events manager -public **getEventsManager** () inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **getEventsManager** () inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Returns the internal event manager -public **setDefaultAction** (*mixed* $defaultAccess) inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **setDefaultAction** (*mixed* $defaultAccess) inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Sets the default access level (Phalcon\\Acl::ALLOW or Phalcon\\Acl::DENY) -public **getDefaultAction** () inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **getDefaultAction** () inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Returns the default ACL access level \ No newline at end of file diff --git a/bs/api/Phalcon_Acl_Exception.md b/bs/api/Phalcon_Acl_Exception.md index 153094579c30..9c1b44ab7b5d 100644 --- a/bs/api/Phalcon_Acl_Exception.md +++ b/bs/api/Phalcon_Acl_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Acl\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/bs/api/Phalcon_Acl_Resource.md b/bs/api/Phalcon_Acl_Resource.md index 1663e1ad2e93..25ac2d3e792b 100644 --- a/bs/api/Phalcon_Acl_Resource.md +++ b/bs/api/Phalcon_Acl_Resource.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Acl\\Resource** -*implements* [Phalcon\Acl\ResourceInterface](/en/3.1.2/api/Phalcon_Acl_ResourceInterface) +*implements* [Phalcon\Acl\ResourceInterface](/en/3.2/api/Phalcon_Acl_ResourceInterface) Source on GitHub diff --git a/bs/api/Phalcon_Acl_Role.md b/bs/api/Phalcon_Acl_Role.md index e105183dd7f4..c8252648d6c8 100644 --- a/bs/api/Phalcon_Acl_Role.md +++ b/bs/api/Phalcon_Acl_Role.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Acl\\Role** -*implements* [Phalcon\Acl\RoleInterface](/en/3.1.2/api/Phalcon_Acl_RoleInterface) +*implements* [Phalcon\Acl\RoleInterface](/en/3.2/api/Phalcon_Acl_RoleInterface) Source on GitHub diff --git a/bs/api/Phalcon_Annotations_Adapter.md b/bs/api/Phalcon_Annotations_Adapter.md index 7a2b31fc4dc1..d42ac348bbc9 100644 --- a/bs/api/Phalcon_Annotations_Adapter.md +++ b/bs/api/Phalcon_Annotations_Adapter.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Annotations\\Adapter** -*implements* [Phalcon\Annotations\AdapterInterface](/en/3.1.2/api/Phalcon_Annotations_AdapterInterface) +*implements* [Phalcon\Annotations\AdapterInterface](/en/3.2/api/Phalcon_Annotations_AdapterInterface) Source on GitHub @@ -8,7 +8,7 @@ This is the base class for Phalcon\\Annotations adapters ## Methods -public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) +public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) Sets the annotations parser diff --git a/bs/api/Phalcon_Annotations_AdapterInterface.md b/bs/api/Phalcon_Annotations_AdapterInterface.md index a4e2c689503a..a1ff65cb01a1 100644 --- a/bs/api/Phalcon_Annotations_AdapterInterface.md +++ b/bs/api/Phalcon_Annotations_AdapterInterface.md @@ -4,7 +4,7 @@ ## Methods -abstract public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) +abstract public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) ... diff --git a/bs/api/Phalcon_Annotations_Adapter_Apc.md b/bs/api/Phalcon_Annotations_Adapter_Apc.md index 1b8a1d6d0d7d..467622a88425 100644 --- a/bs/api/Phalcon_Annotations_Adapter_Apc.md +++ b/bs/api/Phalcon_Annotations_Adapter_Apc.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Annotations\\Adapter\\Apc** -*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) -*implements* [Phalcon\Annotations\AdapterInterface](/en/3.1.2/api/Phalcon_Annotations_AdapterInterface) +*implements* [Phalcon\Annotations\AdapterInterface](/en/3.2/api/Phalcon_Annotations_AdapterInterface) Source on GitHub @@ -27,34 +27,34 @@ public **read** (*mixed* $key) Reads parsed annotations from APC -public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) $data) +public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) $data) Writes parsed annotations to APC -public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Sets the annotations parser -public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotation reader -public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Parses or retrieves all the annotations found in a class -public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific method -public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific property \ No newline at end of file diff --git a/bs/api/Phalcon_Annotations_Adapter_Files.md b/bs/api/Phalcon_Annotations_Adapter_Files.md index fcb4c23e6c2e..e4c407e5954e 100644 --- a/bs/api/Phalcon_Annotations_Adapter_Files.md +++ b/bs/api/Phalcon_Annotations_Adapter_Files.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Annotations\\Adapter\\Files** -*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) -*implements* [Phalcon\Annotations\AdapterInterface](/en/3.1.2/api/Phalcon_Annotations_AdapterInterface) +*implements* [Phalcon\Annotations\AdapterInterface](/en/3.2/api/Phalcon_Annotations_AdapterInterface) Source on GitHub @@ -27,38 +27,38 @@ public **__construct** ([*array* $options]) Phalcon\\Annotations\\Adapter\\Files constructor -public [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) **read** (*string* $key) +public [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) **read** (*string* $key) Reads parsed annotations from files -public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) $data) +public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) $data) Writes parsed annotations to files -public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Sets the annotations parser -public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotation reader -public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Parses or retrieves all the annotations found in a class -public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific method -public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific property \ No newline at end of file diff --git a/bs/api/Phalcon_Annotations_Adapter_Memory.md b/bs/api/Phalcon_Annotations_Adapter_Memory.md index 53fc2e3769c7..205f20e6b1b8 100644 --- a/bs/api/Phalcon_Annotations_Adapter_Memory.md +++ b/bs/api/Phalcon_Annotations_Adapter_Memory.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Annotations\\Adapter\\Memory** -*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) -*implements* [Phalcon\Annotations\AdapterInterface](/en/3.1.2/api/Phalcon_Annotations_AdapterInterface) +*implements* [Phalcon\Annotations\AdapterInterface](/en/3.2/api/Phalcon_Annotations_AdapterInterface) Source on GitHub @@ -14,34 +14,34 @@ public **read** (*mixed* $key) Reads parsed annotations from memory -public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) $data) +public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) $data) Writes parsed annotations to memory -public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Sets the annotations parser -public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotation reader -public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Parses or retrieves all the annotations found in a class -public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific method -public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific property \ No newline at end of file diff --git a/bs/api/Phalcon_Annotations_Adapter_Xcache.md b/bs/api/Phalcon_Annotations_Adapter_Xcache.md index 79bfa9e6b4d3..37c97e7e6b8c 100644 --- a/bs/api/Phalcon_Annotations_Adapter_Xcache.md +++ b/bs/api/Phalcon_Annotations_Adapter_Xcache.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Annotations\\Adapter\\Xcache** -*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) -*implements* [Phalcon\Annotations\AdapterInterface](/en/3.1.2/api/Phalcon_Annotations_AdapterInterface) +*implements* [Phalcon\Annotations\AdapterInterface](/en/3.2/api/Phalcon_Annotations_AdapterInterface) Source on GitHub @@ -17,38 +17,38 @@ $annotations = new \Phalcon\Annotations\Adapter\Xcache(); ## Methods -public [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) **read** (*string* $key) +public [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) **read** (*string* $key) Reads parsed annotations from XCache -public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) $data) +public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) $data) Writes parsed annotations to XCache -public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Sets the annotations parser -public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotation reader -public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Parses or retrieves all the annotations found in a class -public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific method -public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific property \ No newline at end of file diff --git a/bs/api/Phalcon_Annotations_Collection.md b/bs/api/Phalcon_Annotations_Collection.md index 8176520b43ea..ba33511a50fe 100644 --- a/bs/api/Phalcon_Annotations_Collection.md +++ b/bs/api/Phalcon_Annotations_Collection.md @@ -36,7 +36,7 @@ public **rewind** () Rewinds the internal iterator -public [Phalcon\Annotations\Annotation](/en/3.1.2/api/Phalcon_Annotations_Annotation) **current** () +public [Phalcon\Annotations\Annotation](/en/3.2/api/Phalcon_Annotations_Annotation) **current** () Returns the current annotation in the iterator diff --git a/bs/api/Phalcon_Annotations_Reader.md b/bs/api/Phalcon_Annotations_Reader.md index 56ca9b058cd1..4e8e513ffea9 100644 --- a/bs/api/Phalcon_Annotations_Reader.md +++ b/bs/api/Phalcon_Annotations_Reader.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Annotations\\Reader** -*implements* [Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) +*implements* [Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) Source on GitHub diff --git a/bs/api/Phalcon_Application.md b/bs/api/Phalcon_Application.md index e7e767824af2..5ff2b07edaf4 100644 --- a/bs/api/Phalcon_Application.md +++ b/bs/api/Phalcon_Application.md @@ -1,8 +1,8 @@ # Abstract class **Phalcon\\Application** -*extends* abstract class [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +*extends* abstract class [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) -*implements* [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface) +*implements* [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface) Source on GitHub @@ -10,9 +10,9 @@ Base class for Phalcon\\Cli\\Console and Phalcon\\Mvc\\Application. ## Methods -public **__construct** ([[Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector]) +public **__construct** ([[Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector]) -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) Sets the events manager @@ -62,14 +62,14 @@ abstract public **handle** () Handles a request -public **setDI** ([Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **setDI** ([Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Sets the dependency injector -public **getDI** () inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **getDI** () inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Returns the internal dependency injector -public **__get** (*mixed* $propertyName) inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **__get** (*mixed* $propertyName) inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Magic method __get \ No newline at end of file diff --git a/bs/api/Phalcon_Application_Exception.md b/bs/api/Phalcon_Application_Exception.md index ade9f4d1b49e..49637aa88e5e 100644 --- a/bs/api/Phalcon_Application_Exception.md +++ b/bs/api/Phalcon_Application_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Application\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/bs/api/Phalcon_Assets_Collection.md b/bs/api/Phalcon_Assets_Collection.md index 9c3e06cdb077..f6f18d5a1d60 100644 --- a/bs/api/Phalcon_Assets_Collection.md +++ b/bs/api/Phalcon_Assets_Collection.md @@ -56,14 +56,35 @@ public **getSourcePath** () ... -public **add** ([Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) $resource) +public **__construct** () + +Phalcon\\Assets\\Collection constructor + +public **add** ([Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) $resource) Adds a resource to the collection -public **addInline** ([Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) $code) +public **addInline** ([Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) $code) Adds an inline code to the collection +public **has** ([Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) $resource) + +Checks this the resource is added to the collection. + +```php +has($resource); // true + +``` + public **addCss** (*mixed* $path, [*mixed* $local], [*mixed* $filter], [*mixed* $attributes]) Adds a CSS resource to the collection @@ -72,7 +93,7 @@ public **addInlineCss** (*mixed* $content, [*mixed* $filter], [*mixed* $attribut Adds an inline CSS to the collection -public [Phalcon\Assets\Collection](/en/3.1.2/api/Phalcon_Assets_Collection) **addJs** (*string* $path, [*boolean* $local], [*boolean* $filter], [*array* $attributes]) +public [Phalcon\Assets\Collection](/en/3.2/api/Phalcon_Assets_Collection) **addJs** (*string* $path, [*boolean* $local], [*boolean* $filter], [*array* $attributes]) Adds a javascript resource to the collection @@ -144,6 +165,10 @@ public **getRealTargetPath** (*mixed* $basePath) Returns the complete location where the joined/filtered collection must be written -public **addFilter** ([Phalcon\Assets\FilterInterface](/en/3.1.2/api/Phalcon_Assets_FilterInterface) $filter) +public **addFilter** ([Phalcon\Assets\FilterInterface](/en/3.2/api/Phalcon_Assets_FilterInterface) $filter) + +Adds a filter to the collection + +final protected **addResource** ([Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) $resource) -Adds a filter to the collection \ No newline at end of file +Adds a resource or inline-code to the collection \ No newline at end of file diff --git a/bs/api/Phalcon_Assets_Exception.md b/bs/api/Phalcon_Assets_Exception.md index bf3c9a57c01a..4c8c0516fd94 100644 --- a/bs/api/Phalcon_Assets_Exception.md +++ b/bs/api/Phalcon_Assets_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Assets\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/bs/api/Phalcon_Assets_Filters_Cssmin.md b/bs/api/Phalcon_Assets_Filters_Cssmin.md index 75e2781f79a0..a807a59e4880 100644 --- a/bs/api/Phalcon_Assets_Filters_Cssmin.md +++ b/bs/api/Phalcon_Assets_Filters_Cssmin.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Assets\\Filters\\Cssmin** -*implements* [Phalcon\Assets\FilterInterface](/en/3.1.2/api/Phalcon_Assets_FilterInterface) +*implements* [Phalcon\Assets\FilterInterface](/en/3.2/api/Phalcon_Assets_FilterInterface) Source on GitHub diff --git a/bs/api/Phalcon_Assets_Filters_Jsmin.md b/bs/api/Phalcon_Assets_Filters_Jsmin.md index 2ee9aa7f5390..2bfe2b4851a4 100644 --- a/bs/api/Phalcon_Assets_Filters_Jsmin.md +++ b/bs/api/Phalcon_Assets_Filters_Jsmin.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Assets\\Filters\\Jsmin** -*implements* [Phalcon\Assets\FilterInterface](/en/3.1.2/api/Phalcon_Assets_FilterInterface) +*implements* [Phalcon\Assets\FilterInterface](/en/3.2/api/Phalcon_Assets_FilterInterface) Source on GitHub diff --git a/bs/api/Phalcon_Assets_Filters_None.md b/bs/api/Phalcon_Assets_Filters_None.md index 93c79dd941f6..60e59aac09de 100644 --- a/bs/api/Phalcon_Assets_Filters_None.md +++ b/bs/api/Phalcon_Assets_Filters_None.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Assets\\Filters\\None** -*implements* [Phalcon\Assets\FilterInterface](/en/3.1.2/api/Phalcon_Assets_FilterInterface) +*implements* [Phalcon\Assets\FilterInterface](/en/3.2/api/Phalcon_Assets_FilterInterface) Source on GitHub diff --git a/bs/api/Phalcon_Assets_Inline.md b/bs/api/Phalcon_Assets_Inline.md index 05a1f622aa48..e5c3ef631536 100644 --- a/bs/api/Phalcon_Assets_Inline.md +++ b/bs/api/Phalcon_Assets_Inline.md @@ -1,5 +1,7 @@ # Class **Phalcon\\Assets\\Inline** +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) + Source on GitHub Represents an inline asset @@ -43,4 +45,8 @@ Sets if the resource must be filtered or not public **setAttributes** (*array* $attributes) -Sets extra HTML attributes \ No newline at end of file +Sets extra HTML attributes + +public **getResourceKey** () + +Gets the resource's key. \ No newline at end of file diff --git a/bs/api/Phalcon_Assets_Inline_Css.md b/bs/api/Phalcon_Assets_Inline_Css.md index c4d7a9d0e919..aad74b78beca 100644 --- a/bs/api/Phalcon_Assets_Inline_Css.md +++ b/bs/api/Phalcon_Assets_Inline_Css.md @@ -1,6 +1,8 @@ # Class **Phalcon\\Assets\\Inline\\Css** -*extends* class [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +*extends* class [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) + +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) Source on GitHub @@ -10,30 +12,34 @@ Represents an inlined CSS public **__construct** (*string* $content, [*boolean* $filter], [*array* $attributes]) -public **getType** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getType** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getContent** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getContent** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getFilter** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getFilter** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getAttributes** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getAttributes** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) Sets the inline's type -public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) Sets if the resource must be filtered or not -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) + +Sets extra HTML attributes + +public **getResourceKey** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) -Sets extra HTML attributes \ No newline at end of file +Gets the resource's key. \ No newline at end of file diff --git a/bs/api/Phalcon_Assets_Inline_Js.md b/bs/api/Phalcon_Assets_Inline_Js.md index 27d57246d817..1cce336b4116 100644 --- a/bs/api/Phalcon_Assets_Inline_Js.md +++ b/bs/api/Phalcon_Assets_Inline_Js.md @@ -1,6 +1,8 @@ # Class **Phalcon\\Assets\\Inline\\Js** -*extends* class [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +*extends* class [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) + +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) Source on GitHub @@ -10,30 +12,34 @@ Represents an inline Javascript public **__construct** (*string* $content, [*boolean* $filter], [*array* $attributes]) -public **getType** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getType** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getContent** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getContent** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getFilter** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getFilter** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getAttributes** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getAttributes** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) Sets the inline's type -public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) Sets if the resource must be filtered or not -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) + +Sets extra HTML attributes + +public **getResourceKey** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) -Sets extra HTML attributes \ No newline at end of file +Gets the resource's key. \ No newline at end of file diff --git a/bs/api/Phalcon_Assets_Manager.md b/bs/api/Phalcon_Assets_Manager.md index 55ab07f19201..13ecabf4ff9c 100644 --- a/bs/api/Phalcon_Assets_Manager.md +++ b/bs/api/Phalcon_Assets_Manager.md @@ -52,7 +52,7 @@ public **addInlineJs** (*mixed* $content, [*mixed* $filter], [*mixed* $attribute Adds an inline javascript to the 'js' collection -public **addResourceByType** (*mixed* $type, [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) $resource) +public **addResourceByType** (*mixed* $type, [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) $resource) Adds a resource by its type @@ -65,11 +65,11 @@ $assets->addResourceByType("css", ``` -public **addInlineCodeByType** (*mixed* $type, [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) $code) +public **addInlineCodeByType** (*mixed* $type, [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) $code) Adds an inline code by its type -public **addResource** ([Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) $resource) +public **addResource** ([Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) $resource) Adds a raw resource to the manager @@ -82,11 +82,11 @@ $assets->addResource( ``` -public **addInlineCode** ([Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) $code) +public **addInlineCode** ([Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) $code) Adds a raw inline code to the manager -public **set** (*mixed* $id, [Phalcon\Assets\Collection](/en/3.1.2/api/Phalcon_Assets_Collection) $collection) +public **set** (*mixed* $id, [Phalcon\Assets\Collection](/en/3.2/api/Phalcon_Assets_Collection) $collection) Sets a collection in the Assets Manager @@ -99,7 +99,7 @@ $assets->set("js", $collection); public **get** (*mixed* $id) -Returns a collection by its id +Returns a collection by its id. ```php exists("jsHeader")) { + // \Phalcon\Assets\Collection + $collection = $assets->get("jsHeader"); +} + +``` \ No newline at end of file diff --git a/bs/api/Phalcon_Assets_Resource.md b/bs/api/Phalcon_Assets_Resource.md index 9718061c348e..d67dc71b7929 100644 --- a/bs/api/Phalcon_Assets_Resource.md +++ b/bs/api/Phalcon_Assets_Resource.md @@ -1,5 +1,7 @@ # Class **Phalcon\\Assets\\Resource** +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) + Source on GitHub Represents an asset resource @@ -85,4 +87,8 @@ Returns the complete location where the resource is located public **getRealTargetPath** ([*mixed* $basePath]) -Returns the complete location where the resource must be written \ No newline at end of file +Returns the complete location where the resource must be written + +public **getResourceKey** () + +Gets the resource's key. \ No newline at end of file diff --git a/bs/api/Phalcon_Assets_Resource_Css.md b/bs/api/Phalcon_Assets_Resource_Css.md index 9376a4de5f6d..11c938e391ca 100644 --- a/bs/api/Phalcon_Assets_Resource_Css.md +++ b/bs/api/Phalcon_Assets_Resource_Css.md @@ -1,6 +1,8 @@ # Class **Phalcon\\Assets\\Resource\\Css** -*extends* class [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +*extends* class [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) + +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) Source on GitHub @@ -10,72 +12,76 @@ Represents CSS resources public **__construct** (*string* $path, [*boolean* $local], [*boolean* $filter], [*array* $attributes]) -public **getType** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getType** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getPath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getPath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getLocal** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getLocal** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getFilter** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getFilter** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getAttributes** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getAttributes** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getSourcePath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getSourcePath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **getTargetPath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getTargetPath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **getTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's type -public **setPath** (*mixed* $path) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setPath** (*mixed* $path) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's path -public **setLocal** (*mixed* $local) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setLocal** (*mixed* $local) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets if the resource is local or external -public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets if the resource must be filtered or not -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets extra HTML attributes -public **setTargetUri** (*mixed* $targetUri) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setTargetUri** (*mixed* $targetUri) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets a target uri for the generated HTML -public **setSourcePath** (*mixed* $sourcePath) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setSourcePath** (*mixed* $sourcePath) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's source path -public **setTargetPath** (*mixed* $targetPath) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setTargetPath** (*mixed* $targetPath) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's target path -public **getContent** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getContent** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the content of the resource as an string Optionally a base path where the resource is located can be set -public **getRealTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the real target uri for the generated HTML -public **getRealSourcePath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealSourcePath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the complete location where the resource is located -public **getRealTargetPath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealTargetPath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) + +Returns the complete location where the resource must be written + +public **getResourceKey** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -Returns the complete location where the resource must be written \ No newline at end of file +Gets the resource's key. \ No newline at end of file diff --git a/bs/api/Phalcon_Assets_Resource_Js.md b/bs/api/Phalcon_Assets_Resource_Js.md index a4c132ff1ed1..2acc4d239b9d 100644 --- a/bs/api/Phalcon_Assets_Resource_Js.md +++ b/bs/api/Phalcon_Assets_Resource_Js.md @@ -1,6 +1,8 @@ # Class **Phalcon\\Assets\\Resource\\Js** -*extends* class [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +*extends* class [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) + +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) Source on GitHub @@ -10,72 +12,76 @@ Represents Javascript resources public **__construct** (*string* $path, [*boolean* $local], [*boolean* $filter], [*array* $attributes]) -public **getType** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getType** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getPath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getPath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getLocal** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getLocal** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getFilter** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getFilter** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getAttributes** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getAttributes** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getSourcePath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getSourcePath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **getTargetPath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getTargetPath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **getTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's type -public **setPath** (*mixed* $path) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setPath** (*mixed* $path) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's path -public **setLocal** (*mixed* $local) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setLocal** (*mixed* $local) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets if the resource is local or external -public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets if the resource must be filtered or not -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets extra HTML attributes -public **setTargetUri** (*mixed* $targetUri) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setTargetUri** (*mixed* $targetUri) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets a target uri for the generated HTML -public **setSourcePath** (*mixed* $sourcePath) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setSourcePath** (*mixed* $sourcePath) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's source path -public **setTargetPath** (*mixed* $targetPath) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setTargetPath** (*mixed* $targetPath) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's target path -public **getContent** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getContent** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the content of the resource as an string Optionally a base path where the resource is located can be set -public **getRealTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the real target uri for the generated HTML -public **getRealSourcePath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealSourcePath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the complete location where the resource is located -public **getRealTargetPath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealTargetPath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) + +Returns the complete location where the resource must be written + +public **getResourceKey** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -Returns the complete location where the resource must be written \ No newline at end of file +Gets the resource's key. \ No newline at end of file diff --git a/bs/api/Phalcon_Cache_Backend.md b/bs/api/Phalcon_Cache_Backend.md index f81ba2e57820..6e8b2e14bbff 100644 --- a/bs/api/Phalcon_Cache_Backend.md +++ b/bs/api/Phalcon_Cache_Backend.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Cache\\Backend** -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -32,7 +32,7 @@ public **setLastKey** (*mixed* $lastKey) ... -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend constructor @@ -56,22 +56,22 @@ public *int* **getLifetime** () Gets the last lifetime set -abstract public **get** (*mixed* $keyName, [*mixed* $lifetime]) inherited from [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +abstract public **get** (*mixed* $keyName, [*mixed* $lifetime]) inherited from [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) ... -abstract public **save** ([*mixed* $keyName], [*mixed* $content], [*mixed* $lifetime], [*mixed* $stopBuffer]) inherited from [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +abstract public **save** ([*mixed* $keyName], [*mixed* $content], [*mixed* $lifetime], [*mixed* $stopBuffer]) inherited from [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) ... -abstract public **delete** (*mixed* $keyName) inherited from [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +abstract public **delete** (*mixed* $keyName) inherited from [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) ... -abstract public **queryKeys** ([*mixed* $prefix]) inherited from [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +abstract public **queryKeys** ([*mixed* $prefix]) inherited from [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) ... -abstract public **exists** ([*mixed* $keyName], [*mixed* $lifetime]) inherited from [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +abstract public **exists** ([*mixed* $keyName], [*mixed* $lifetime]) inherited from [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) ... \ No newline at end of file diff --git a/bs/api/Phalcon_Cache_Backend_Apc.md b/bs/api/Phalcon_Cache_Backend_Apc.md index 6f08c1fef4b7..92b01c89d25a 100644 --- a/bs/api/Phalcon_Cache_Backend_Apc.md +++ b/bs/api/Phalcon_Cache_Backend_Apc.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Apc** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -94,50 +94,50 @@ $cache->flush(); ``` -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Phalcon\\Cache\\Backend constructor -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/bs/api/Phalcon_Cache_Backend_File.md b/bs/api/Phalcon_Cache_Backend_File.md index 78c3aff0e84c..3ea73b705889 100644 --- a/bs/api/Phalcon_Cache_Backend_File.md +++ b/bs/api/Phalcon_Cache_Backend_File.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\File** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -44,7 +44,7 @@ if ($content === null) { ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, *array* $options) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, *array* $options) Phalcon\\Cache\\Backend\\File constructor @@ -98,46 +98,46 @@ public **useSafeKey** (*mixed* $useSafeKey) Set whether to use the safekey or not -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/bs/api/Phalcon_Cache_Backend_Libmemcached.md b/bs/api/Phalcon_Cache_Backend_Libmemcached.md index 88948897b300..9ec4b031d82e 100644 --- a/bs/api/Phalcon_Cache_Backend_Libmemcached.md +++ b/bs/api/Phalcon_Cache_Backend_Libmemcached.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Libmemcached** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -49,7 +49,7 @@ $data = $cache->get("my-data"); ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend\\Memcache constructor @@ -116,46 +116,46 @@ $cache->flush(); ``` -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/bs/api/Phalcon_Cache_Backend_Memcache.md b/bs/api/Phalcon_Cache_Backend_Memcache.md index 7310592149b1..6f2575ca5c8d 100644 --- a/bs/api/Phalcon_Cache_Backend_Memcache.md +++ b/bs/api/Phalcon_Cache_Backend_Memcache.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Memcache** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -43,7 +43,7 @@ $data = $cache->get("my-data"); ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend\\Memcache constructor @@ -97,46 +97,46 @@ public **flush** () Immediately invalidates all existing items. -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/bs/api/Phalcon_Cache_Backend_Memory.md b/bs/api/Phalcon_Cache_Backend_Memory.md index 06a4216cf7ac..a269432ab9f3 100644 --- a/bs/api/Phalcon_Cache_Backend_Memory.md +++ b/bs/api/Phalcon_Cache_Backend_Memory.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Memory** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface), [Serializable](http://php.net/manual/en/class.serializable.php) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface), [Serializable](http://php.net/manual/en/class.serializable.php) Source on GitHub @@ -79,50 +79,50 @@ public **unserialize** (*mixed* $data) Required for interface \\Serializable -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Phalcon\\Cache\\Backend constructor -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/bs/api/Phalcon_Cache_Backend_Mongo.md b/bs/api/Phalcon_Cache_Backend_Mongo.md index 9ad0f67b530c..6421cd0f4f29 100644 --- a/bs/api/Phalcon_Cache_Backend_Mongo.md +++ b/bs/api/Phalcon_Cache_Backend_Mongo.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Mongo** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -44,7 +44,7 @@ $data = $cache->get("my-data"); ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend\\Mongo constructor @@ -98,46 +98,46 @@ public **flush** () Immediately invalidates all existing items. -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/bs/api/Phalcon_Cache_Backend_Redis.md b/bs/api/Phalcon_Cache_Backend_Redis.md index 123bf025f2af..a3509251d509 100644 --- a/bs/api/Phalcon_Cache_Backend_Redis.md +++ b/bs/api/Phalcon_Cache_Backend_Redis.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Redis** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -45,7 +45,7 @@ $data = $cache->get("my-data"); ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend\\Redis constructor @@ -105,46 +105,46 @@ public **flush** () Immediately invalidates all existing items. -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/bs/api/Phalcon_Cache_Backend_Xcache.md b/bs/api/Phalcon_Cache_Backend_Xcache.md index b91e75b19c79..7dac8215d5f3 100644 --- a/bs/api/Phalcon_Cache_Backend_Xcache.md +++ b/bs/api/Phalcon_Cache_Backend_Xcache.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Xcache** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -38,7 +38,7 @@ $data = $cache->get("my-data"); ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend\\Xcache constructor @@ -84,46 +84,46 @@ public **flush** () Immediately invalidates all existing items. -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/bs/api/Phalcon_Cache_Exception.md b/bs/api/Phalcon_Cache_Exception.md index cbb05a3a76e4..87f2372e7864 100644 --- a/bs/api/Phalcon_Cache_Exception.md +++ b/bs/api/Phalcon_Cache_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/bs/api/Phalcon_Cache_Frontend_Base64.md b/bs/api/Phalcon_Cache_Frontend_Base64.md index 92f36996b4b7..473895a88aa8 100644 --- a/bs/api/Phalcon_Cache_Frontend_Base64.md +++ b/bs/api/Phalcon_Cache_Frontend_Base64.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Frontend\\Base64** -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/bs/api/Phalcon_Cache_Frontend_Data.md b/bs/api/Phalcon_Cache_Frontend_Data.md index f46469ab7410..1f249be7103c 100644 --- a/bs/api/Phalcon_Cache_Frontend_Data.md +++ b/bs/api/Phalcon_Cache_Frontend_Data.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Frontend\\Data** -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/bs/api/Phalcon_Cache_Frontend_Igbinary.md b/bs/api/Phalcon_Cache_Frontend_Igbinary.md index 1460a42ce867..714a96bb4de1 100644 --- a/bs/api/Phalcon_Cache_Frontend_Igbinary.md +++ b/bs/api/Phalcon_Cache_Frontend_Igbinary.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Frontend\\Igbinary** -*extends* class [Phalcon\Cache\Frontend\Data](/en/3.1.2/api/Phalcon_Cache_Frontend_Data) +*extends* class [Phalcon\Cache\Frontend\Data](/en/3.2/api/Phalcon_Cache_Frontend_Data) -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/bs/api/Phalcon_Cache_Frontend_Json.md b/bs/api/Phalcon_Cache_Frontend_Json.md index 64a296ca976f..bfe39cdc53c4 100644 --- a/bs/api/Phalcon_Cache_Frontend_Json.md +++ b/bs/api/Phalcon_Cache_Frontend_Json.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Frontend\\Json** -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/bs/api/Phalcon_Cache_Frontend_Msgpack.md b/bs/api/Phalcon_Cache_Frontend_Msgpack.md index f77a99a21168..857b40d4bbdc 100644 --- a/bs/api/Phalcon_Cache_Frontend_Msgpack.md +++ b/bs/api/Phalcon_Cache_Frontend_Msgpack.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Frontend\\Msgpack** -*extends* class [Phalcon\Cache\Frontend\Data](/en/3.1.2/api/Phalcon_Cache_Frontend_Data) +*extends* class [Phalcon\Cache\Frontend\Data](/en/3.2/api/Phalcon_Cache_Frontend_Data) -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/bs/api/Phalcon_Cache_Frontend_None.md b/bs/api/Phalcon_Cache_Frontend_None.md index 521fcd02f344..bdc0af2d4135 100644 --- a/bs/api/Phalcon_Cache_Frontend_None.md +++ b/bs/api/Phalcon_Cache_Frontend_None.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Frontend\\None** -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/bs/api/Phalcon_Cache_Frontend_Output.md b/bs/api/Phalcon_Cache_Frontend_Output.md index 8421c02f1276..c6a0543703d6 100644 --- a/bs/api/Phalcon_Cache_Frontend_Output.md +++ b/bs/api/Phalcon_Cache_Frontend_Output.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Frontend\\Output** -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/bs/api/Phalcon_Cache_Multiple.md b/bs/api/Phalcon_Cache_Multiple.md index bbfa61a13274..1d9fd1365aa9 100644 --- a/bs/api/Phalcon_Cache_Multiple.md +++ b/bs/api/Phalcon_Cache_Multiple.md @@ -65,11 +65,11 @@ $cache->save("my-key", $data); ## Methods -public **__construct** ([[Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface[]) $backends]) +public **__construct** ([[Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface[]) $backends]) Phalcon\\Cache\\Multiple constructor -public **push** ([Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) $backend) +public **push** ([Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) $backend) Adds a backend diff --git a/bs/api/Phalcon_Cli_Console.md b/bs/api/Phalcon_Cli_Console.md index c769b7ad7659..f0337bf3f1ec 100644 --- a/bs/api/Phalcon_Cli_Console.md +++ b/bs/api/Phalcon_Cli_Console.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cli\\Console** -*extends* abstract class [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +*extends* abstract class [Phalcon\Application](/en/3.2/api/Phalcon_Application) -*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -36,19 +36,19 @@ public **setArgument** ([*array* $arguments], [*mixed* $str], [*mixed* $shift]) Set an specific argument -public **__construct** ([[Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector]) inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **__construct** ([[Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector]) inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Phalcon\\Application -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Sets the events manager -public **getEventsManager** () inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **getEventsManager** () inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Returns the internal event manager -public **registerModules** (*array* $modules, [*mixed* $merge]) inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **registerModules** (*array* $modules, [*mixed* $merge]) inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Register an array of modules present in the application @@ -70,30 +70,30 @@ $this->registerModules( ``` -public **getModules** () inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **getModules** () inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Return the modules registered in the application -public **getModule** (*mixed* $name) inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **getModule** (*mixed* $name) inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Gets the module definition registered in the application via module name -public **setDefaultModule** (*mixed* $defaultModule) inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **setDefaultModule** (*mixed* $defaultModule) inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Sets the module name to be used if the router doesn't return a valid module -public **getDefaultModule** () inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **getDefaultModule** () inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Returns the default module name -public **setDI** ([Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **setDI** ([Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Sets the dependency injector -public **getDI** () inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **getDI** () inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Returns the internal dependency injector -public **__get** (*mixed* $propertyName) inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **__get** (*mixed* $propertyName) inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Magic method __get \ No newline at end of file diff --git a/bs/api/Phalcon_Cli_Console_Exception.md b/bs/api/Phalcon_Cli_Console_Exception.md index 64a6f1f9162a..e7bfea5dbde1 100644 --- a/bs/api/Phalcon_Cli_Console_Exception.md +++ b/bs/api/Phalcon_Cli_Console_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cli\\Console\\Exception** -*extends* class [Phalcon\Application\Exception](/en/3.1.2/api/Phalcon_Application_Exception) +*extends* class [Phalcon\Application\Exception](/en/3.2/api/Phalcon_Application_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/bs/api/Phalcon_Cli_Dispatcher.md b/bs/api/Phalcon_Cli_Dispatcher.md index 7b91f5c9f537..f03b7c7c61ac 100644 --- a/bs/api/Phalcon_Cli_Dispatcher.md +++ b/bs/api/Phalcon_Cli_Dispatcher.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cli\\Dispatcher** -*extends* abstract class [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +*extends* abstract class [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) -*implements* [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface), [Phalcon\Cli\DispatcherInterface](/en/3.1.2/api/Phalcon_Cli_DispatcherInterface) +*implements* [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface), [Phalcon\Cli\DispatcherInterface](/en/3.2/api/Phalcon_Cli_DispatcherInterface) Source on GitHub @@ -11,10 +11,11 @@ Dispatching is the process of taking the command-line arguments, extracting the ```php setDi($di); $dispatcher->setTaskName("posts"); @@ -81,107 +82,115 @@ public **getOptions** () Get dispatched options +public **getOption** (*mixed* $option, [*string* | *array* $filters], [*mixed* $defaultValue]) + +Gets an option by its name or numeric index + +public **hasOption** (*mixed* $option) + +Check if an option exists + public **callActionMethod** (*mixed* $handler, *mixed* $actionMethod, [*array* $params]) -... +Calls the action method. -public **setDI** ([Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setDI** ([Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the dependency injector -public **getDI** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getDI** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns the internal dependency injector -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the events manager -public **getEventsManager** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getEventsManager** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns the internal event manager -public **setActionSuffix** (*mixed* $actionSuffix) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setActionSuffix** (*mixed* $actionSuffix) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the default action suffix -public **getActionSuffix** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getActionSuffix** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets the default action suffix -public **setModuleName** (*mixed* $moduleName) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setModuleName** (*mixed* $moduleName) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the module where the controller is (only informative) -public **getModuleName** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getModuleName** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets the module where the controller class is -public **setNamespaceName** (*mixed* $namespaceName) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setNamespaceName** (*mixed* $namespaceName) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the namespace where the controller class is -public **getNamespaceName** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getNamespaceName** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets a namespace to be prepended to the current handler name -public **setDefaultNamespace** (*mixed* $namespaceName) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setDefaultNamespace** (*mixed* $namespaceName) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the default namespace -public **getDefaultNamespace** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getDefaultNamespace** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns the default namespace -public **setDefaultAction** (*mixed* $actionName) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setDefaultAction** (*mixed* $actionName) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the default action name -public **setActionName** (*mixed* $actionName) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setActionName** (*mixed* $actionName) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the action name to be dispatched -public **getActionName** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getActionName** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets the latest dispatched action name -public **setParams** (*array* $params) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setParams** (*array* $params) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets action params to be dispatched -public **getParams** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getParams** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets action params -public **setParam** (*mixed* $param, *mixed* $value) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setParam** (*mixed* $param, *mixed* $value) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Set a param by its name or numeric index -public *mixed* **getParam** (*mixed* $param, [*string* | *array* $filters], [*mixed* $defaultValue]) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public *mixed* **getParam** (*mixed* $param, [*string* | *array* $filters], [*mixed* $defaultValue]) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets a param by its name or numeric index -public *boolean* **hasParam** (*mixed* $param) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public *boolean* **hasParam** (*mixed* $param) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Check if a param exists -public **getActiveMethod** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getActiveMethod** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns the current method to be/executed in the dispatcher -public **isFinished** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **isFinished** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Checks if the dispatch loop is finished or has more pendent controllers/tasks to dispatch -public **setReturnedValue** (*mixed* $value) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setReturnedValue** (*mixed* $value) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the latest returned value by an action manually -public *mixed* **getReturnedValue** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public *mixed* **getReturnedValue** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns value returned by the latest dispatched action -public **setModelBinding** (*mixed* $value, [*mixed* $cache]) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setModelBinding** (*mixed* $value, [*mixed* $cache]) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Enable/Disable model binding during dispatch @@ -197,7 +206,7 @@ $di->set('dispatcher', function() { ``` -public **setModelBinder** ([Phalcon\Mvc\Model\BinderInterface](/en/3.1.2/api/Phalcon_Mvc_Model_BinderInterface) $modelBinder, [*mixed* $cache]) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setModelBinder** ([Phalcon\Mvc\Model\BinderInterface](/en/3.2/api/Phalcon_Mvc_Model_BinderInterface) $modelBinder, [*mixed* $cache]) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Enable model binding during dispatch @@ -213,21 +222,21 @@ $di->set('dispatcher', function() { ``` -public **getModelBinder** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getModelBinder** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets model binder -public *object* **dispatch** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public *object* **dispatch** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Dispatches a handle action taking into account the routing parameters -protected *object* **_dispatch** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +protected *object* **_dispatch** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Dispatches a handle action taking into account the routing parameters -public **forward** (*array* $forward) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **forward** (*array* $forward) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) -Forwards the execution flow to another controller/action Dispatchers are unique per module. Forwarding between modules is not allowed +Forwards the execution flow to another controller/action. ```php dispatcher->forward( ``` -public **wasForwarded** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **wasForwarded** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Check if the current executed action was forwarded by another one -public **getHandlerClass** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getHandlerClass** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Possible class name that will be located to dispatch the request -public **getBoundModels** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getBoundModels** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns bound models from binder instance @@ -266,6 +275,6 @@ class UserController extends Controller ``` -protected **_resolveEmptyProperties** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +protected **_resolveEmptyProperties** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Set empty properties to their defaults (where defaults are available) \ No newline at end of file diff --git a/bs/api/Phalcon_Cli_DispatcherInterface.md b/bs/api/Phalcon_Cli_DispatcherInterface.md index 58914bf4b682..78f4d7b40c9c 100644 --- a/bs/api/Phalcon_Cli_DispatcherInterface.md +++ b/bs/api/Phalcon_Cli_DispatcherInterface.md @@ -1,6 +1,6 @@ # Interface **Phalcon\\Cli\\DispatcherInterface** -*implements* [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +*implements* [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) Source on GitHub @@ -30,70 +30,70 @@ abstract public **getActiveTask** () ... -abstract public **setActionSuffix** (*mixed* $actionSuffix) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setActionSuffix** (*mixed* $actionSuffix) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **getActionSuffix** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **getActionSuffix** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setDefaultNamespace** (*mixed* $defaultNamespace) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setDefaultNamespace** (*mixed* $defaultNamespace) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setDefaultAction** (*mixed* $actionName) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setDefaultAction** (*mixed* $actionName) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setNamespaceName** (*mixed* $namespaceName) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setNamespaceName** (*mixed* $namespaceName) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setModuleName** (*mixed* $moduleName) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setModuleName** (*mixed* $moduleName) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setActionName** (*mixed* $actionName) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setActionName** (*mixed* $actionName) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **getActionName** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **getActionName** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setParams** (*mixed* $params) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setParams** (*mixed* $params) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **getParams** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **getParams** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setParam** (*mixed* $param, *mixed* $value) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setParam** (*mixed* $param, *mixed* $value) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **getParam** (*mixed* $param, [*mixed* $filters]) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **getParam** (*mixed* $param, [*mixed* $filters]) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **hasParam** (*mixed* $param) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **hasParam** (*mixed* $param) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **isFinished** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **isFinished** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **getReturnedValue** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **getReturnedValue** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **dispatch** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **dispatch** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **forward** (*mixed* $forward) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **forward** (*mixed* $forward) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... \ No newline at end of file diff --git a/bs/api/Phalcon_Cli_Dispatcher_Exception.md b/bs/api/Phalcon_Cli_Dispatcher_Exception.md index 0eeb05860d89..fbd0a6c4292d 100644 --- a/bs/api/Phalcon_Cli_Dispatcher_Exception.md +++ b/bs/api/Phalcon_Cli_Dispatcher_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cli\\Dispatcher\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/bs/api/Phalcon_Cli_Router.md b/bs/api/Phalcon_Cli_Router.md index d2cb10a44276..5a0943627b36 100644 --- a/bs/api/Phalcon_Cli_Router.md +++ b/bs/api/Phalcon_Cli_Router.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cli\\Router** -*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface) +*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface) Source on GitHub @@ -29,7 +29,7 @@ public **__construct** ([*mixed* $defaultRoutes]) Phalcon\\Cli\\Router constructor -public **setDI** ([Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector) +public **setDI** ([Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector) Sets the dependency injector @@ -69,7 +69,7 @@ public **handle** ([*array* $arguments]) Handles routing information received from command-line arguments -public [Phalcon\Cli\Router\Route](/en/3.1.2/api/Phalcon_Cli_Router_Route) **add** (*string* $pattern, [*string/array* $paths]) +public [Phalcon\Cli\Router\Route](/en/3.2/api/Phalcon_Cli_Router_Route) **add** (*string* $pattern, [*string/array* $paths]) Adds a route to the router @@ -112,7 +112,7 @@ public **getRoutes** () Returns all the routes defined in the router -public [Phalcon\Cli\Router\Route](/en/3.1.2/api/Phalcon_Cli_Router_Route) **getRouteById** (*int* $id) +public [Phalcon\Cli\Router\Route](/en/3.2/api/Phalcon_Cli_Router_Route) **getRouteById** (*int* $id) Returns a route object by its id diff --git a/bs/api/Phalcon_Cli_Router_Exception.md b/bs/api/Phalcon_Cli_Router_Exception.md index ebd81a411422..e063b3861132 100644 --- a/bs/api/Phalcon_Cli_Router_Exception.md +++ b/bs/api/Phalcon_Cli_Router_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cli\\Router\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/bs/api/Phalcon_Db_Adapter.md b/bs/api/Phalcon_Db_Adapter.md index c1deaded19cd..a5d397a98c83 100644 --- a/bs/api/Phalcon_Db_Adapter.md +++ b/bs/api/Phalcon_Db_Adapter.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Db\\Adapter** -*implements* [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -24,7 +24,7 @@ public **__construct** (*array* $descriptor) Phalcon\\Db\\Adapter constructor -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) Sets the event manager @@ -32,7 +32,7 @@ public **getEventsManager** () Returns the internal event manager -public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) $dialect) +public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) $dialect) Sets the dialect used to produce the SQL @@ -309,11 +309,11 @@ public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExist Drops a view -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Adds a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) Modifies a table column based on a definition @@ -321,7 +321,7 @@ public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnN Drops a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Adds an index to a table @@ -329,7 +329,7 @@ public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexNam Drop an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Adds a primary key to a table @@ -337,7 +337,7 @@ public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) Drops a table's primary key -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) Adds a foreign key to a table @@ -345,7 +345,7 @@ public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $ref Drops a foreign key from a table -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Returns the SQL column definition from a column @@ -375,7 +375,7 @@ print_r( ``` -public [Phalcon\Db\Index](/en/3.1.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) +public [Phalcon\Db\Index](/en/3.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) Lists table indexes @@ -512,54 +512,54 @@ public *array* **getSQLBindTypes** () Active SQL statement in the object -abstract public **connect** ([*array* $descriptor]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **connect** ([*array* $descriptor]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **query** (*mixed* $sqlStatement, [*mixed* $placeholders], [*mixed* $dataTypes]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **query** (*mixed* $sqlStatement, [*mixed* $placeholders], [*mixed* $dataTypes]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **execute** (*mixed* $sqlStatement, [*mixed* $placeholders], [*mixed* $dataTypes]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **execute** (*mixed* $sqlStatement, [*mixed* $placeholders], [*mixed* $dataTypes]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **affectedRows** () inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **affectedRows** () inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **close** () inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **close** () inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **lastInsertId** ([*mixed* $sequenceName]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **lastInsertId** ([*mixed* $sequenceName]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **isUnderTransaction** () inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **isUnderTransaction** () inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **getInternalHandler** () inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **getInternalHandler** () inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... \ No newline at end of file diff --git a/bs/api/Phalcon_Db_AdapterInterface.md b/bs/api/Phalcon_Db_AdapterInterface.md index 2b9bec9a2acd..4c6a8f54b3f1 100644 --- a/bs/api/Phalcon_Db_AdapterInterface.md +++ b/bs/api/Phalcon_Db_AdapterInterface.md @@ -64,11 +64,11 @@ abstract public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* ... -abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) ... -abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) ... @@ -76,7 +76,7 @@ abstract public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* ... -abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) ... @@ -84,7 +84,7 @@ abstract public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* ... -abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) ... @@ -92,7 +92,7 @@ abstract public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) ... -abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) ... @@ -100,7 +100,7 @@ abstract public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mi ... -abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) ... diff --git a/bs/api/Phalcon_Db_Adapter_Pdo.md b/bs/api/Phalcon_Db_Adapter_Pdo.md index 44de7d9e6e1f..c23a014e3d58 100644 --- a/bs/api/Phalcon_Db_Adapter_Pdo.md +++ b/bs/api/Phalcon_Db_Adapter_Pdo.md @@ -1,8 +1,8 @@ # Abstract class **Phalcon\\Db\\Adapter\\Pdo** -*extends* abstract class [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +*extends* abstract class [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) -*implements* [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +*implements* [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) Source on GitHub @@ -262,35 +262,35 @@ public *array* **getErrorInfo** () Return the error info, if any -public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Name of the dialect used -public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Type of database system the adapter is used for -public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL bound parameter variables -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the event manager -public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the internal event manager -public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the dialect used to produce the SQL -public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns internal dialect instance -public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the first row in a SQL query result @@ -307,7 +307,7 @@ print_r($robot); ``` -public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Dumps the complete result of a query into an array @@ -338,7 +338,7 @@ foreach($robots as $robot) { ``` -public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the n'th field of first row in a SQL query result @@ -358,7 +358,7 @@ print_r($robot); ``` -public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RDBMS SQL syntax @@ -377,7 +377,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RBDM SQL syntax @@ -398,7 +398,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax @@ -435,7 +435,7 @@ $success = $connection->update( Warning! If $whereCondition is string it not escaped. -public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax Another, more convenient syntax @@ -456,7 +456,7 @@ UPDATE `robots` SET `name` = "Astro boy" WHERE id = 101 ``` -public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Deletes data from a table using custom RBDM SQL syntax @@ -474,7 +474,7 @@ DELETE FROM `robots` WHERE `id` = 101 ``` -public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Escapes a column/table/schema name @@ -494,11 +494,11 @@ $escapedTable = $connection->escapeIdentifier( ``` -public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets a list of columns -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Appends a LIMIT clause to $sqlQuery argument @@ -509,7 +509,7 @@ echo $connection->limit("SELECT * FROM robots", 5); ``` -public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.table @@ -522,7 +522,7 @@ var_dump( ``` -public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.view @@ -535,71 +535,71 @@ var_dump( ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a FOR UPDATE clause -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a LOCK IN SHARE MODE clause -public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a table -public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table from a schema/database -public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a view -public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a view -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Modifies a table column based on a definition -public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds an index to a table -public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drop an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a primary key to a table -public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table's primary key -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a foreign key to a table -public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a foreign key from a table -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the SQL column definition from a column -public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all tables on a database @@ -612,7 +612,7 @@ print_r( ``` -public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all views on a database @@ -625,7 +625,7 @@ print_r( ``` -public [Phalcon\Db\Index](/en/3.1.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public [Phalcon\Db\Index](/en/3.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Lists table indexes @@ -638,7 +638,7 @@ print_r( ``` -public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Lists table references @@ -651,7 +651,7 @@ print_r( ``` -public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets creation options from a table @@ -664,31 +664,31 @@ print_r( ``` -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Releases given savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Rollbacks given savepoint -public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Set if nested transactions should use savepoints -public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns if nested transactions should use savepoints -public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the savepoint name to use for nested transactions -public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default identity value to be inserted in an identity column @@ -712,7 +712,7 @@ $success = $connection->insert( ``` -public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default value to make the RBDM use the default value declared in the table definition @@ -734,34 +734,34 @@ $success = $connection->insert( ``` -public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Check whether the database system requires a sequence to produce auto-numeric values -public **useExplicitIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **useExplicitIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Check whether the database system requires an explicit value for identity columns -public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Return descriptor used to connect to the active database -public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets the active connection unique identifier -public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object -public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object without replace bound parameters -public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object -abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... \ No newline at end of file diff --git a/bs/api/Phalcon_Db_Adapter_Pdo_Mysql.md b/bs/api/Phalcon_Db_Adapter_Pdo_Mysql.md index fe17030fddcf..5013bf0def80 100644 --- a/bs/api/Phalcon_Db_Adapter_Pdo_Mysql.md +++ b/bs/api/Phalcon_Db_Adapter_Pdo_Mysql.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Adapter\\Pdo\\Mysql** -*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) -*implements* [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -40,7 +40,7 @@ print_r( ``` -public [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface[]) **describeIndexes** (*string* $table, [*string* $schema]) +public [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface[]) **describeIndexes** (*string* $table, [*string* $schema]) Lists table indexes @@ -66,11 +66,11 @@ print_r( ``` -public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Constructor for Phalcon\\Db\\Adapter\\Pdo -public **connect** ([*array* $descriptor]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **connect** ([*array* $descriptor]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) This method is automatically called in \\Phalcon\\Db\\Adapter\\Pdo constructor. Call it when you need to restore a database connection. @@ -95,7 +95,7 @@ $connection->connect(); ``` -public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns a PDO prepared statement to be executed with 'executePrepared' @@ -120,7 +120,7 @@ $result = $connection->executePrepared( ``` -public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Executes a prepared statement binding. This function uses integer indexes starting from zero @@ -145,7 +145,7 @@ $result = $connection->executePrepared( ``` -public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server is returning rows @@ -166,7 +166,7 @@ $resultset = $connection->query( ``` -public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server doesn't return any rows @@ -188,7 +188,7 @@ $success = $connection->execute( ``` -public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the number of affected rows by the latest INSERT/UPDATE/DELETE executed in the database system @@ -203,11 +203,11 @@ echo $connection->affectedRows(), " were deleted"; ``` -public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Closes the active connection returning success. Phalcon automatically closes and destroys active connections when the request ends -public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Escapes a value to avoid SQL injections according to the active charset in the connection @@ -218,7 +218,7 @@ $escapedStr = $connection->escapeString("some dangerous value"); ``` -public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Converts bound parameters such as :name: or ?1 into PDO bind params ? @@ -236,7 +236,7 @@ print_r( ``` -public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the insert id for the auto_increment/serial column inserted in the latest executed SQL statement @@ -261,23 +261,23 @@ $id = $connection->lastInsertId(); ``` -public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Starts a transaction in the connection -public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Rollbacks the active transaction in the connection -public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Commits the active transaction in the connection -public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the current transaction nesting level -public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Checks whether the connection is under a transaction @@ -293,43 +293,43 @@ var_dump( ``` -public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return internal PDO handler -public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return the error info, if any -public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Name of the dialect used -public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Type of database system the adapter is used for -public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL bound parameter variables -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the event manager -public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the internal event manager -public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the dialect used to produce the SQL -public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns internal dialect instance -public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the first row in a SQL query result @@ -346,7 +346,7 @@ print_r($robot); ``` -public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Dumps the complete result of a query into an array @@ -377,7 +377,7 @@ foreach($robots as $robot) { ``` -public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the n'th field of first row in a SQL query result @@ -397,7 +397,7 @@ print_r($robot); ``` -public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RDBMS SQL syntax @@ -416,7 +416,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RBDM SQL syntax @@ -437,7 +437,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax @@ -474,7 +474,7 @@ $success = $connection->update( Warning! If $whereCondition is string it not escaped. -public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax Another, more convenient syntax @@ -495,7 +495,7 @@ UPDATE `robots` SET `name` = "Astro boy" WHERE id = 101 ``` -public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Deletes data from a table using custom RBDM SQL syntax @@ -513,7 +513,7 @@ DELETE FROM `robots` WHERE `id` = 101 ``` -public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Escapes a column/table/schema name @@ -533,11 +533,11 @@ $escapedTable = $connection->escapeIdentifier( ``` -public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets a list of columns -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Appends a LIMIT clause to $sqlQuery argument @@ -548,7 +548,7 @@ echo $connection->limit("SELECT * FROM robots", 5); ``` -public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.table @@ -561,7 +561,7 @@ var_dump( ``` -public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.view @@ -574,71 +574,71 @@ var_dump( ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a FOR UPDATE clause -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a LOCK IN SHARE MODE clause -public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a table -public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table from a schema/database -public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a view -public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a view -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Modifies a table column based on a definition -public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds an index to a table -public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drop an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a primary key to a table -public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table's primary key -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a foreign key to a table -public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a foreign key from a table -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the SQL column definition from a column -public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all tables on a database @@ -651,7 +651,7 @@ print_r( ``` -public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all views on a database @@ -664,7 +664,7 @@ print_r( ``` -public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets creation options from a table @@ -677,31 +677,31 @@ print_r( ``` -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Releases given savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Rollbacks given savepoint -public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Set if nested transactions should use savepoints -public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns if nested transactions should use savepoints -public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the savepoint name to use for nested transactions -public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default identity value to be inserted in an identity column @@ -725,7 +725,7 @@ $success = $connection->insert( ``` -public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default value to make the RBDM use the default value declared in the table definition @@ -747,30 +747,30 @@ $success = $connection->insert( ``` -public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Check whether the database system requires a sequence to produce auto-numeric values -public **useExplicitIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **useExplicitIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Check whether the database system requires an explicit value for identity columns -public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Return descriptor used to connect to the active database -public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets the active connection unique identifier -public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object -public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object without replace bound parameters -public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object \ No newline at end of file diff --git a/bs/api/Phalcon_Db_Adapter_Pdo_Postgresql.md b/bs/api/Phalcon_Db_Adapter_Pdo_Postgresql.md index c7f35273d52a..9a66f69a4ec1 100644 --- a/bs/api/Phalcon_Db_Adapter_Pdo_Postgresql.md +++ b/bs/api/Phalcon_Db_Adapter_Pdo_Postgresql.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Adapter\\Pdo\\Postgresql** -*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) -*implements* [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -48,7 +48,7 @@ public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $defini Creates a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) Modifies a table column based on a definition @@ -84,11 +84,11 @@ public **supportSequences** () Check whether the database system requires a sequence to produce auto-numeric values -public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Constructor for Phalcon\\Db\\Adapter\\Pdo -public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns a PDO prepared statement to be executed with 'executePrepared' @@ -113,7 +113,7 @@ $result = $connection->executePrepared( ``` -public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Executes a prepared statement binding. This function uses integer indexes starting from zero @@ -138,7 +138,7 @@ $result = $connection->executePrepared( ``` -public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server is returning rows @@ -159,7 +159,7 @@ $resultset = $connection->query( ``` -public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server doesn't return any rows @@ -181,7 +181,7 @@ $success = $connection->execute( ``` -public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the number of affected rows by the latest INSERT/UPDATE/DELETE executed in the database system @@ -196,11 +196,11 @@ echo $connection->affectedRows(), " were deleted"; ``` -public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Closes the active connection returning success. Phalcon automatically closes and destroys active connections when the request ends -public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Escapes a value to avoid SQL injections according to the active charset in the connection @@ -211,7 +211,7 @@ $escapedStr = $connection->escapeString("some dangerous value"); ``` -public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Converts bound parameters such as :name: or ?1 into PDO bind params ? @@ -229,7 +229,7 @@ print_r( ``` -public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the insert id for the auto_increment/serial column inserted in the latest executed SQL statement @@ -254,23 +254,23 @@ $id = $connection->lastInsertId(); ``` -public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Starts a transaction in the connection -public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Rollbacks the active transaction in the connection -public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Commits the active transaction in the connection -public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the current transaction nesting level -public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Checks whether the connection is under a transaction @@ -286,43 +286,43 @@ var_dump( ``` -public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return internal PDO handler -public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return the error info, if any -public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Name of the dialect used -public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Type of database system the adapter is used for -public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL bound parameter variables -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the event manager -public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the internal event manager -public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the dialect used to produce the SQL -public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns internal dialect instance -public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the first row in a SQL query result @@ -339,7 +339,7 @@ print_r($robot); ``` -public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Dumps the complete result of a query into an array @@ -370,7 +370,7 @@ foreach($robots as $robot) { ``` -public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the n'th field of first row in a SQL query result @@ -390,7 +390,7 @@ print_r($robot); ``` -public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RDBMS SQL syntax @@ -409,7 +409,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RBDM SQL syntax @@ -430,7 +430,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax @@ -467,7 +467,7 @@ $success = $connection->update( Warning! If $whereCondition is string it not escaped. -public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax Another, more convenient syntax @@ -488,7 +488,7 @@ UPDATE `robots` SET `name` = "Astro boy" WHERE id = 101 ``` -public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Deletes data from a table using custom RBDM SQL syntax @@ -506,7 +506,7 @@ DELETE FROM `robots` WHERE `id` = 101 ``` -public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Escapes a column/table/schema name @@ -526,11 +526,11 @@ $escapedTable = $connection->escapeIdentifier( ``` -public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets a list of columns -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Appends a LIMIT clause to $sqlQuery argument @@ -541,7 +541,7 @@ echo $connection->limit("SELECT * FROM robots", 5); ``` -public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.table @@ -554,7 +554,7 @@ var_dump( ``` -public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.view @@ -567,63 +567,63 @@ var_dump( ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a FOR UPDATE clause -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a LOCK IN SHARE MODE clause -public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table from a schema/database -public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a view -public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a view -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a column to a table -public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds an index to a table -public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drop an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a primary key to a table -public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table's primary key -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a foreign key to a table -public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a foreign key from a table -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the SQL column definition from a column -public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all tables on a database @@ -636,7 +636,7 @@ print_r( ``` -public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all views on a database @@ -649,7 +649,7 @@ print_r( ``` -public [Phalcon\Db\Index](/en/3.1.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public [Phalcon\Db\Index](/en/3.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Lists table indexes @@ -662,7 +662,7 @@ print_r( ``` -public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Lists table references @@ -675,7 +675,7 @@ print_r( ``` -public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets creation options from a table @@ -688,31 +688,31 @@ print_r( ``` -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Releases given savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Rollbacks given savepoint -public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Set if nested transactions should use savepoints -public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns if nested transactions should use savepoints -public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the savepoint name to use for nested transactions -public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default value to make the RBDM use the default value declared in the table definition @@ -734,22 +734,22 @@ $success = $connection->insert( ``` -public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Return descriptor used to connect to the active database -public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets the active connection unique identifier -public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object -public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object without replace bound parameters -public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object \ No newline at end of file diff --git a/bs/api/Phalcon_Db_Adapter_Pdo_Sqlite.md b/bs/api/Phalcon_Db_Adapter_Pdo_Sqlite.md index 1f92cfbfc6bd..a568c933ce4a 100644 --- a/bs/api/Phalcon_Db_Adapter_Pdo_Sqlite.md +++ b/bs/api/Phalcon_Db_Adapter_Pdo_Sqlite.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Adapter\\Pdo\\Sqlite** -*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) -*implements* [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -40,7 +40,7 @@ print_r( ``` -public [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface[]) **describeIndexes** (*string* $table, [*string* $schema]) +public [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface[]) **describeIndexes** (*string* $table, [*string* $schema]) Lists table indexes @@ -53,7 +53,7 @@ print_r( ``` -public [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface[]) **describeReferences** (*string* $table, [*string* $schema]) +public [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface[]) **describeReferences** (*string* $table, [*string* $schema]) Lists table references @@ -83,11 +83,11 @@ $success = $connection->insert( ``` -public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Constructor for Phalcon\\Db\\Adapter\\Pdo -public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns a PDO prepared statement to be executed with 'executePrepared' @@ -112,7 +112,7 @@ $result = $connection->executePrepared( ``` -public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Executes a prepared statement binding. This function uses integer indexes starting from zero @@ -137,7 +137,7 @@ $result = $connection->executePrepared( ``` -public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server is returning rows @@ -158,7 +158,7 @@ $resultset = $connection->query( ``` -public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server doesn't return any rows @@ -180,7 +180,7 @@ $success = $connection->execute( ``` -public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the number of affected rows by the latest INSERT/UPDATE/DELETE executed in the database system @@ -195,11 +195,11 @@ echo $connection->affectedRows(), " were deleted"; ``` -public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Closes the active connection returning success. Phalcon automatically closes and destroys active connections when the request ends -public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Escapes a value to avoid SQL injections according to the active charset in the connection @@ -210,7 +210,7 @@ $escapedStr = $connection->escapeString("some dangerous value"); ``` -public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Converts bound parameters such as :name: or ?1 into PDO bind params ? @@ -228,7 +228,7 @@ print_r( ``` -public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the insert id for the auto_increment/serial column inserted in the latest executed SQL statement @@ -253,23 +253,23 @@ $id = $connection->lastInsertId(); ``` -public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Starts a transaction in the connection -public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Rollbacks the active transaction in the connection -public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Commits the active transaction in the connection -public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the current transaction nesting level -public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Checks whether the connection is under a transaction @@ -285,43 +285,43 @@ var_dump( ``` -public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return internal PDO handler -public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return the error info, if any -public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Name of the dialect used -public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Type of database system the adapter is used for -public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL bound parameter variables -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the event manager -public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the internal event manager -public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the dialect used to produce the SQL -public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns internal dialect instance -public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the first row in a SQL query result @@ -338,7 +338,7 @@ print_r($robot); ``` -public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Dumps the complete result of a query into an array @@ -369,7 +369,7 @@ foreach($robots as $robot) { ``` -public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the n'th field of first row in a SQL query result @@ -389,7 +389,7 @@ print_r($robot); ``` -public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RDBMS SQL syntax @@ -408,7 +408,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RBDM SQL syntax @@ -429,7 +429,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax @@ -466,7 +466,7 @@ $success = $connection->update( Warning! If $whereCondition is string it not escaped. -public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax Another, more convenient syntax @@ -487,7 +487,7 @@ UPDATE `robots` SET `name` = "Astro boy" WHERE id = 101 ``` -public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Deletes data from a table using custom RBDM SQL syntax @@ -505,7 +505,7 @@ DELETE FROM `robots` WHERE `id` = 101 ``` -public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Escapes a column/table/schema name @@ -525,11 +525,11 @@ $escapedTable = $connection->escapeIdentifier( ``` -public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets a list of columns -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Appends a LIMIT clause to $sqlQuery argument @@ -540,7 +540,7 @@ echo $connection->limit("SELECT * FROM robots", 5); ``` -public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.table @@ -553,7 +553,7 @@ var_dump( ``` -public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.view @@ -566,71 +566,71 @@ var_dump( ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a FOR UPDATE clause -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a LOCK IN SHARE MODE clause -public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a table -public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table from a schema/database -public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a view -public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a view -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Modifies a table column based on a definition -public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds an index to a table -public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drop an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a primary key to a table -public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table's primary key -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a foreign key to a table -public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a foreign key from a table -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the SQL column definition from a column -public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all tables on a database @@ -643,7 +643,7 @@ print_r( ``` -public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all views on a database @@ -656,7 +656,7 @@ print_r( ``` -public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets creation options from a table @@ -669,31 +669,31 @@ print_r( ``` -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Releases given savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Rollbacks given savepoint -public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Set if nested transactions should use savepoints -public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns if nested transactions should use savepoints -public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the savepoint name to use for nested transactions -public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default identity value to be inserted in an identity column @@ -717,26 +717,26 @@ $success = $connection->insert( ``` -public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Check whether the database system requires a sequence to produce auto-numeric values -public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Return descriptor used to connect to the active database -public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets the active connection unique identifier -public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object -public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object without replace bound parameters -public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object \ No newline at end of file diff --git a/bs/api/Phalcon_Db_Column.md b/bs/api/Phalcon_Db_Column.md index ab2fdfb7a40e..fe0210a2b411 100644 --- a/bs/api/Phalcon_Db_Column.md +++ b/bs/api/Phalcon_Db_Column.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Db\\Column** -*implements* [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) +*implements* [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) Source on GitHub diff --git a/bs/api/Phalcon_Db_Dialect.md b/bs/api/Phalcon_Db_Dialect.md index 11c52ea58df4..df25f0af03ab 100644 --- a/bs/api/Phalcon_Db_Dialect.md +++ b/bs/api/Phalcon_Db_Dialect.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Db\\Dialect** -*implements* [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +*implements* [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) Source on GitHub @@ -199,86 +199,86 @@ protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $es Prepares qualified for this RDBMS -abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropTable** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropTable** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **describeIndexes** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **describeIndexes** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **tableOptions** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **tableOptions** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... \ No newline at end of file diff --git a/bs/api/Phalcon_Db_DialectInterface.md b/bs/api/Phalcon_Db_DialectInterface.md index 0bf993854d79..90ee58afb9e1 100644 --- a/bs/api/Phalcon_Db_DialectInterface.md +++ b/bs/api/Phalcon_Db_DialectInterface.md @@ -24,15 +24,15 @@ abstract public **getColumnList** (*array* $columnList) ... -abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) ... -abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) ... -abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) ... @@ -40,7 +40,7 @@ abstract public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* ... -abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) ... @@ -48,7 +48,7 @@ abstract public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* ... -abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) ... @@ -56,7 +56,7 @@ abstract public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) ... -abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) ... diff --git a/bs/api/Phalcon_Db_Dialect_Mysql.md b/bs/api/Phalcon_Db_Dialect_Mysql.md index 6178388fc739..d1a80102e14c 100644 --- a/bs/api/Phalcon_Db_Dialect_Mysql.md +++ b/bs/api/Phalcon_Db_Dialect_Mysql.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Dialect\\Mysql** -*extends* abstract class [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +*extends* abstract class [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) -*implements* [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +*implements* [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) Source on GitHub @@ -10,15 +10,15 @@ Generates database specific SQL for the MySQL RDBMS ## Methods -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Gets the column name in MySQL -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Generates SQL to add a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) Generates SQL to modify a column in a table @@ -26,7 +26,7 @@ public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnN Generates SQL to delete a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add an index to a table @@ -34,7 +34,7 @@ public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexNam Generates SQL to delete an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add the primary key to a table @@ -42,7 +42,7 @@ public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) Generates SQL to delete primary key from a table -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) Generates SQL to add an index to a table @@ -133,23 +133,23 @@ protected **_getTableOptions** (*array* $definition) Generates SQL to add the table creation options -public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Registers custom SQL functions -public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns registered functions -final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape Schema -final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape identifiers -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generates the SQL for LIMIT clause @@ -164,7 +164,7 @@ echo $sql; // SELECT * FROM robots LIMIT 10 OFFSET 50 ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a FOR UPDATE clause @@ -176,7 +176,7 @@ echo $sql; // SELECT * FROM robots FOR UPDATE ``` -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a LOCK IN SHARE MODE clause @@ -188,7 +188,7 @@ echo $sql; // SELECT * FROM robots LOCK IN SHARE MODE ``` -final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Gets a list of columns with escaped identifiers @@ -204,122 +204,122 @@ echo $dialect->getColumnList( ``` -final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transforms an intermediate representation for an expression into a database system valid expression -final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transform an intermediate representation of a schema/table into a database system valid expression -public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Builds a SELECT statement -public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports savepoints -public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports releasing savepoints. -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to create a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to release a savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to rollback a savepoint -final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve object expressions -final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve qualified expressions -final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve binary operations expressions -final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve unary operations expressions -final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve function calls -final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Lists -final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve * -final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CAST of values -final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CONVERT of values encodings -final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CASE expressions -final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a FROM clause -final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a JOINs clause -final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a WHERE clause -final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a GROUP BY clause -final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a HAVING clause -final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve an ORDER BY clause -final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a LIMIT clause -protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares column for this RDBMS -protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares table for this RDBMS -protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares qualified for this RDBMS \ No newline at end of file diff --git a/bs/api/Phalcon_Db_Dialect_Postgresql.md b/bs/api/Phalcon_Db_Dialect_Postgresql.md index 01fe5982984c..f10d03525235 100644 --- a/bs/api/Phalcon_Db_Dialect_Postgresql.md +++ b/bs/api/Phalcon_Db_Dialect_Postgresql.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Dialect\\Postgresql** -*extends* abstract class [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +*extends* abstract class [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) -*implements* [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +*implements* [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) Source on GitHub @@ -10,15 +10,15 @@ Generates database specific SQL for the PostgreSQL RDBMS ## Methods -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Gets the column name in PostgreSQL -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Generates SQL to add a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) Generates SQL to modify a column in a table @@ -26,7 +26,7 @@ public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnN Generates SQL to delete a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add an index to a table @@ -34,7 +34,7 @@ public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexNam Generates SQL to delete an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add the primary key to a table @@ -42,7 +42,7 @@ public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) Generates SQL to delete primary key from a table -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) Generates SQL to add an index to a table @@ -129,7 +129,7 @@ public **tableOptions** (*mixed* $table, [*mixed* $schema]) Generates the SQL to describe the table creation options -protected **_castDefault** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +protected **_castDefault** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) ... @@ -137,23 +137,23 @@ protected **_getTableOptions** (*array* $definition) ... -public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Registers custom SQL functions -public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns registered functions -final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape Schema -final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape identifiers -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generates the SQL for LIMIT clause @@ -168,7 +168,7 @@ echo $sql; // SELECT * FROM robots LIMIT 10 OFFSET 50 ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a FOR UPDATE clause @@ -180,7 +180,7 @@ echo $sql; // SELECT * FROM robots FOR UPDATE ``` -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a LOCK IN SHARE MODE clause @@ -192,7 +192,7 @@ echo $sql; // SELECT * FROM robots LOCK IN SHARE MODE ``` -final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Gets a list of columns with escaped identifiers @@ -208,122 +208,122 @@ echo $dialect->getColumnList( ``` -final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transforms an intermediate representation for an expression into a database system valid expression -final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transform an intermediate representation of a schema/table into a database system valid expression -public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Builds a SELECT statement -public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports savepoints -public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports releasing savepoints. -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to create a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to release a savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to rollback a savepoint -final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve object expressions -final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve qualified expressions -final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve binary operations expressions -final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve unary operations expressions -final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve function calls -final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Lists -final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve * -final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CAST of values -final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CONVERT of values encodings -final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CASE expressions -final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a FROM clause -final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a JOINs clause -final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a WHERE clause -final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a GROUP BY clause -final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a HAVING clause -final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve an ORDER BY clause -final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a LIMIT clause -protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares column for this RDBMS -protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares table for this RDBMS -protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares qualified for this RDBMS \ No newline at end of file diff --git a/bs/api/Phalcon_Db_Dialect_Sqlite.md b/bs/api/Phalcon_Db_Dialect_Sqlite.md index 7b38162151a0..dabec6d39e49 100644 --- a/bs/api/Phalcon_Db_Dialect_Sqlite.md +++ b/bs/api/Phalcon_Db_Dialect_Sqlite.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Dialect\\Sqlite** -*extends* abstract class [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +*extends* abstract class [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) -*implements* [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +*implements* [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) Source on GitHub @@ -10,15 +10,15 @@ Generates database specific SQL for the Sqlite RDBMS ## Methods -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Gets the column name in SQLite -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Generates SQL to add a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) Generates SQL to modify a column in a table @@ -26,7 +26,7 @@ public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnN Generates SQL to delete a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add an index to a table @@ -34,7 +34,7 @@ public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexNam Generates SQL to delete an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add the primary key to a table @@ -42,7 +42,7 @@ public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) Generates SQL to delete primary key from a table -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) Generates SQL to add an index to a table @@ -146,23 +146,23 @@ public **tableOptions** (*mixed* $table, [*mixed* $schema]) Generates the SQL to describe the table creation options -public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Registers custom SQL functions -public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns registered functions -final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape Schema -final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape identifiers -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generates the SQL for LIMIT clause @@ -177,7 +177,7 @@ echo $sql; // SELECT * FROM robots LIMIT 10 OFFSET 50 ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a FOR UPDATE clause @@ -189,7 +189,7 @@ echo $sql; // SELECT * FROM robots FOR UPDATE ``` -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a LOCK IN SHARE MODE clause @@ -201,7 +201,7 @@ echo $sql; // SELECT * FROM robots LOCK IN SHARE MODE ``` -final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Gets a list of columns with escaped identifiers @@ -217,122 +217,122 @@ echo $dialect->getColumnList( ``` -final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transforms an intermediate representation for an expression into a database system valid expression -final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transform an intermediate representation of a schema/table into a database system valid expression -public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Builds a SELECT statement -public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports savepoints -public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports releasing savepoints. -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to create a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to release a savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to rollback a savepoint -final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve object expressions -final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve qualified expressions -final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve binary operations expressions -final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve unary operations expressions -final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve function calls -final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Lists -final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve * -final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CAST of values -final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CONVERT of values encodings -final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CASE expressions -final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a FROM clause -final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a JOINs clause -final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a WHERE clause -final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a GROUP BY clause -final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a HAVING clause -final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve an ORDER BY clause -final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a LIMIT clause -protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares column for this RDBMS -protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares table for this RDBMS -protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares qualified for this RDBMS \ No newline at end of file diff --git a/bs/api/Phalcon_Db_Exception.md b/bs/api/Phalcon_Db_Exception.md index 839c2d00fbf8..00160179b065 100644 --- a/bs/api/Phalcon_Db_Exception.md +++ b/bs/api/Phalcon_Db_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Db\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/bs/api/Phalcon_Db_Index.md b/bs/api/Phalcon_Db_Index.md index 60a5b41f764f..9ca94ad0e146 100644 --- a/bs/api/Phalcon_Db_Index.md +++ b/bs/api/Phalcon_Db_Index.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Db\\Index** -*implements* [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) +*implements* [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) Source on GitHub diff --git a/bs/api/Phalcon_Db_Profiler.md b/bs/api/Phalcon_Db_Profiler.md index 05a913cb9c2c..1d6dde6d6e69 100644 --- a/bs/api/Phalcon_Db_Profiler.md +++ b/bs/api/Phalcon_Db_Profiler.md @@ -31,7 +31,7 @@ echo "Total Elapsed Time: ", $profile->getTotalElapsedSeconds(), "\n"; ## Methods -public [Phalcon\Db\Profiler](/en/3.1.2/api/Phalcon_Db_Profiler) **startProfile** (*string* $sqlStatement, [*mixed* $sqlVariables], [*mixed* $sqlBindTypes]) +public [Phalcon\Db\Profiler](/en/3.2/api/Phalcon_Db_Profiler) **startProfile** (*string* $sqlStatement, [*mixed* $sqlVariables], [*mixed* $sqlBindTypes]) Starts the profile of a SQL sentence diff --git a/bs/api/Phalcon_Db_Reference.md b/bs/api/Phalcon_Db_Reference.md index 30ac1a686521..2e83e14de226 100644 --- a/bs/api/Phalcon_Db_Reference.md +++ b/bs/api/Phalcon_Db_Reference.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Db\\Reference** -*implements* [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) +*implements* [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) Source on GitHub diff --git a/bs/api/Phalcon_Db_Result_Pdo.md b/bs/api/Phalcon_Db_Result_Pdo.md index 2e053d67ae6f..91808dece71f 100644 --- a/bs/api/Phalcon_Db_Result_Pdo.md +++ b/bs/api/Phalcon_Db_Result_Pdo.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Db\\Result\\Pdo** -*implements* [Phalcon\Db\ResultInterface](/en/3.1.2/api/Phalcon_Db_ResultInterface) +*implements* [Phalcon\Db\ResultInterface](/en/3.2/api/Phalcon_Db_ResultInterface) Source on GitHub @@ -23,7 +23,7 @@ while ($robot = $result->fetchArray()) { ## Methods -public **__construct** ([Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) $connection, [PDOStatement](http://php.net/manual/en/class.pdostatement.php) $result, [*string* $sqlStatement], [*array* $bindParams], [*array* $bindTypes]) +public **__construct** ([Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) $connection, [PDOStatement](http://php.net/manual/en/class.pdostatement.php) $result, [*string* $sqlStatement], [*array* $bindParams], [*array* $bindTypes]) Phalcon\\Db\\Result\\Pdo constructor diff --git a/bs/api/Phalcon_Debug_Exception.md b/bs/api/Phalcon_Debug_Exception.md index 81c02149efc6..170f204a2e35 100644 --- a/bs/api/Phalcon_Debug_Exception.md +++ b/bs/api/Phalcon_Debug_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Debug\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/cs/api/Phalcon_Acl_Adapter.md b/cs/api/Phalcon_Acl_Adapter.md index 9f86a2a2a142..1696a50b6e15 100644 --- a/cs/api/Phalcon_Acl_Adapter.md +++ b/cs/api/Phalcon_Acl_Adapter.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Acl\\Adapter** -*implements* [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -20,7 +20,7 @@ public **getActiveAccess** () Active access which the list is checking if some role can access it -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) Sets the events manager @@ -36,58 +36,58 @@ public **getDefaultAction** () Returns the default ACL access level -abstract public **setNoArgumentsDefaultAction** (*mixed* $defaultAccess) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **setNoArgumentsDefaultAction** (*mixed* $defaultAccess) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **getNoArgumentsDefaultAction** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **getNoArgumentsDefaultAction** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **addRole** (*mixed* $role, [*mixed* $accessInherits]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **addRole** (*mixed* $role, [*mixed* $accessInherits]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **addInherit** (*mixed* $roleName, *mixed* $roleToInherit) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **addInherit** (*mixed* $roleName, *mixed* $roleToInherit) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **isRole** (*mixed* $roleName) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **isRole** (*mixed* $roleName) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **isResource** (*mixed* $resourceName) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **isResource** (*mixed* $resourceName) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **addResource** (*mixed* $resourceObject, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **addResource** (*mixed* $resourceObject, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **addResourceAccess** (*mixed* $resourceName, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **addResourceAccess** (*mixed* $resourceName, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **dropResourceAccess** (*mixed* $resourceName, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **dropResourceAccess** (*mixed* $resourceName, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **allow** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*mixed* $func]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **allow** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*mixed* $func]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **deny** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*mixed* $func]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **deny** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*mixed* $func]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **isAllowed** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*array* $parameters]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **isAllowed** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*array* $parameters]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **getRoles** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **getRoles** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **getResources** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **getResources** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... \ No newline at end of file diff --git a/cs/api/Phalcon_Acl_Adapter_Memory.md b/cs/api/Phalcon_Acl_Adapter_Memory.md index e9ea95ccda45..889751c95b98 100644 --- a/cs/api/Phalcon_Acl_Adapter_Memory.md +++ b/cs/api/Phalcon_Acl_Adapter_Memory.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Acl\\Adapter\\Memory** -*extends* abstract class [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +*extends* abstract class [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) -*implements* [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +*implements* [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) Source on GitHub @@ -105,7 +105,7 @@ public **isResource** (*mixed* $resourceName) Check whether resource exist in the resources list -public **addResource** ([Phalcon\Acl\Resource](/en/3.1.2/api/Phalcon_Acl_Resource) | *string* $resourceValue, *array* | *string* $accessList) +public **addResource** ([Phalcon\Acl\Resource](/en/3.2/api/Phalcon_Acl_Resource) | *string* $resourceValue, *array* | *string* $accessList) Adds a resource to the ACL list Access names can be a particular action, by example search, update, delete, etc or a list of them Example: @@ -224,30 +224,30 @@ public **getResources** () Return an array with every resource registered in the list -public **getActiveRole** () inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **getActiveRole** () inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Role which the list is checking if it's allowed to certain resource/access -public **getActiveResource** () inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **getActiveResource** () inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Resource which the list is checking if some role can access it -public **getActiveAccess** () inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **getActiveAccess** () inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Active access which the list is checking if some role can access it -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Sets the events manager -public **getEventsManager** () inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **getEventsManager** () inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Returns the internal event manager -public **setDefaultAction** (*mixed* $defaultAccess) inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **setDefaultAction** (*mixed* $defaultAccess) inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Sets the default access level (Phalcon\\Acl::ALLOW or Phalcon\\Acl::DENY) -public **getDefaultAction** () inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **getDefaultAction** () inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Returns the default ACL access level \ No newline at end of file diff --git a/cs/api/Phalcon_Acl_Exception.md b/cs/api/Phalcon_Acl_Exception.md index 153094579c30..9c1b44ab7b5d 100644 --- a/cs/api/Phalcon_Acl_Exception.md +++ b/cs/api/Phalcon_Acl_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Acl\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/cs/api/Phalcon_Acl_Resource.md b/cs/api/Phalcon_Acl_Resource.md index 1663e1ad2e93..25ac2d3e792b 100644 --- a/cs/api/Phalcon_Acl_Resource.md +++ b/cs/api/Phalcon_Acl_Resource.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Acl\\Resource** -*implements* [Phalcon\Acl\ResourceInterface](/en/3.1.2/api/Phalcon_Acl_ResourceInterface) +*implements* [Phalcon\Acl\ResourceInterface](/en/3.2/api/Phalcon_Acl_ResourceInterface) Source on GitHub diff --git a/cs/api/Phalcon_Acl_Role.md b/cs/api/Phalcon_Acl_Role.md index e105183dd7f4..c8252648d6c8 100644 --- a/cs/api/Phalcon_Acl_Role.md +++ b/cs/api/Phalcon_Acl_Role.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Acl\\Role** -*implements* [Phalcon\Acl\RoleInterface](/en/3.1.2/api/Phalcon_Acl_RoleInterface) +*implements* [Phalcon\Acl\RoleInterface](/en/3.2/api/Phalcon_Acl_RoleInterface) Source on GitHub diff --git a/cs/api/Phalcon_Annotations_Adapter.md b/cs/api/Phalcon_Annotations_Adapter.md index 7a2b31fc4dc1..d42ac348bbc9 100644 --- a/cs/api/Phalcon_Annotations_Adapter.md +++ b/cs/api/Phalcon_Annotations_Adapter.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Annotations\\Adapter** -*implements* [Phalcon\Annotations\AdapterInterface](/en/3.1.2/api/Phalcon_Annotations_AdapterInterface) +*implements* [Phalcon\Annotations\AdapterInterface](/en/3.2/api/Phalcon_Annotations_AdapterInterface) Source on GitHub @@ -8,7 +8,7 @@ This is the base class for Phalcon\\Annotations adapters ## Methods -public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) +public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) Sets the annotations parser diff --git a/cs/api/Phalcon_Annotations_AdapterInterface.md b/cs/api/Phalcon_Annotations_AdapterInterface.md index a4e2c689503a..a1ff65cb01a1 100644 --- a/cs/api/Phalcon_Annotations_AdapterInterface.md +++ b/cs/api/Phalcon_Annotations_AdapterInterface.md @@ -4,7 +4,7 @@ ## Methods -abstract public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) +abstract public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) ... diff --git a/cs/api/Phalcon_Annotations_Adapter_Apc.md b/cs/api/Phalcon_Annotations_Adapter_Apc.md index 1b8a1d6d0d7d..467622a88425 100644 --- a/cs/api/Phalcon_Annotations_Adapter_Apc.md +++ b/cs/api/Phalcon_Annotations_Adapter_Apc.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Annotations\\Adapter\\Apc** -*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) -*implements* [Phalcon\Annotations\AdapterInterface](/en/3.1.2/api/Phalcon_Annotations_AdapterInterface) +*implements* [Phalcon\Annotations\AdapterInterface](/en/3.2/api/Phalcon_Annotations_AdapterInterface) Source on GitHub @@ -27,34 +27,34 @@ public **read** (*mixed* $key) Reads parsed annotations from APC -public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) $data) +public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) $data) Writes parsed annotations to APC -public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Sets the annotations parser -public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotation reader -public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Parses or retrieves all the annotations found in a class -public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific method -public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific property \ No newline at end of file diff --git a/cs/api/Phalcon_Annotations_Adapter_Files.md b/cs/api/Phalcon_Annotations_Adapter_Files.md index fcb4c23e6c2e..e4c407e5954e 100644 --- a/cs/api/Phalcon_Annotations_Adapter_Files.md +++ b/cs/api/Phalcon_Annotations_Adapter_Files.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Annotations\\Adapter\\Files** -*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) -*implements* [Phalcon\Annotations\AdapterInterface](/en/3.1.2/api/Phalcon_Annotations_AdapterInterface) +*implements* [Phalcon\Annotations\AdapterInterface](/en/3.2/api/Phalcon_Annotations_AdapterInterface) Source on GitHub @@ -27,38 +27,38 @@ public **__construct** ([*array* $options]) Phalcon\\Annotations\\Adapter\\Files constructor -public [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) **read** (*string* $key) +public [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) **read** (*string* $key) Reads parsed annotations from files -public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) $data) +public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) $data) Writes parsed annotations to files -public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Sets the annotations parser -public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotation reader -public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Parses or retrieves all the annotations found in a class -public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific method -public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific property \ No newline at end of file diff --git a/cs/api/Phalcon_Annotations_Adapter_Memory.md b/cs/api/Phalcon_Annotations_Adapter_Memory.md index 53fc2e3769c7..205f20e6b1b8 100644 --- a/cs/api/Phalcon_Annotations_Adapter_Memory.md +++ b/cs/api/Phalcon_Annotations_Adapter_Memory.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Annotations\\Adapter\\Memory** -*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) -*implements* [Phalcon\Annotations\AdapterInterface](/en/3.1.2/api/Phalcon_Annotations_AdapterInterface) +*implements* [Phalcon\Annotations\AdapterInterface](/en/3.2/api/Phalcon_Annotations_AdapterInterface) Source on GitHub @@ -14,34 +14,34 @@ public **read** (*mixed* $key) Reads parsed annotations from memory -public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) $data) +public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) $data) Writes parsed annotations to memory -public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Sets the annotations parser -public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotation reader -public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Parses or retrieves all the annotations found in a class -public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific method -public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific property \ No newline at end of file diff --git a/cs/api/Phalcon_Annotations_Adapter_Xcache.md b/cs/api/Phalcon_Annotations_Adapter_Xcache.md index 79bfa9e6b4d3..37c97e7e6b8c 100644 --- a/cs/api/Phalcon_Annotations_Adapter_Xcache.md +++ b/cs/api/Phalcon_Annotations_Adapter_Xcache.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Annotations\\Adapter\\Xcache** -*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) -*implements* [Phalcon\Annotations\AdapterInterface](/en/3.1.2/api/Phalcon_Annotations_AdapterInterface) +*implements* [Phalcon\Annotations\AdapterInterface](/en/3.2/api/Phalcon_Annotations_AdapterInterface) Source on GitHub @@ -17,38 +17,38 @@ $annotations = new \Phalcon\Annotations\Adapter\Xcache(); ## Methods -public [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) **read** (*string* $key) +public [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) **read** (*string* $key) Reads parsed annotations from XCache -public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) $data) +public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) $data) Writes parsed annotations to XCache -public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Sets the annotations parser -public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotation reader -public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Parses or retrieves all the annotations found in a class -public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific method -public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific property \ No newline at end of file diff --git a/cs/api/Phalcon_Annotations_Collection.md b/cs/api/Phalcon_Annotations_Collection.md index 8176520b43ea..ba33511a50fe 100644 --- a/cs/api/Phalcon_Annotations_Collection.md +++ b/cs/api/Phalcon_Annotations_Collection.md @@ -36,7 +36,7 @@ public **rewind** () Rewinds the internal iterator -public [Phalcon\Annotations\Annotation](/en/3.1.2/api/Phalcon_Annotations_Annotation) **current** () +public [Phalcon\Annotations\Annotation](/en/3.2/api/Phalcon_Annotations_Annotation) **current** () Returns the current annotation in the iterator diff --git a/cs/api/Phalcon_Annotations_Reader.md b/cs/api/Phalcon_Annotations_Reader.md index 56ca9b058cd1..4e8e513ffea9 100644 --- a/cs/api/Phalcon_Annotations_Reader.md +++ b/cs/api/Phalcon_Annotations_Reader.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Annotations\\Reader** -*implements* [Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) +*implements* [Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) Source on GitHub diff --git a/cs/api/Phalcon_Application.md b/cs/api/Phalcon_Application.md index e7e767824af2..5ff2b07edaf4 100644 --- a/cs/api/Phalcon_Application.md +++ b/cs/api/Phalcon_Application.md @@ -1,8 +1,8 @@ # Abstract class **Phalcon\\Application** -*extends* abstract class [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +*extends* abstract class [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) -*implements* [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface) +*implements* [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface) Source on GitHub @@ -10,9 +10,9 @@ Base class for Phalcon\\Cli\\Console and Phalcon\\Mvc\\Application. ## Methods -public **__construct** ([[Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector]) +public **__construct** ([[Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector]) -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) Sets the events manager @@ -62,14 +62,14 @@ abstract public **handle** () Handles a request -public **setDI** ([Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **setDI** ([Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Sets the dependency injector -public **getDI** () inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **getDI** () inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Returns the internal dependency injector -public **__get** (*mixed* $propertyName) inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **__get** (*mixed* $propertyName) inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Magic method __get \ No newline at end of file diff --git a/cs/api/Phalcon_Application_Exception.md b/cs/api/Phalcon_Application_Exception.md index ade9f4d1b49e..49637aa88e5e 100644 --- a/cs/api/Phalcon_Application_Exception.md +++ b/cs/api/Phalcon_Application_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Application\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/cs/api/Phalcon_Assets_Collection.md b/cs/api/Phalcon_Assets_Collection.md index 9c3e06cdb077..f6f18d5a1d60 100644 --- a/cs/api/Phalcon_Assets_Collection.md +++ b/cs/api/Phalcon_Assets_Collection.md @@ -56,14 +56,35 @@ public **getSourcePath** () ... -public **add** ([Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) $resource) +public **__construct** () + +Phalcon\\Assets\\Collection constructor + +public **add** ([Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) $resource) Adds a resource to the collection -public **addInline** ([Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) $code) +public **addInline** ([Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) $code) Adds an inline code to the collection +public **has** ([Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) $resource) + +Checks this the resource is added to the collection. + +```php +has($resource); // true + +``` + public **addCss** (*mixed* $path, [*mixed* $local], [*mixed* $filter], [*mixed* $attributes]) Adds a CSS resource to the collection @@ -72,7 +93,7 @@ public **addInlineCss** (*mixed* $content, [*mixed* $filter], [*mixed* $attribut Adds an inline CSS to the collection -public [Phalcon\Assets\Collection](/en/3.1.2/api/Phalcon_Assets_Collection) **addJs** (*string* $path, [*boolean* $local], [*boolean* $filter], [*array* $attributes]) +public [Phalcon\Assets\Collection](/en/3.2/api/Phalcon_Assets_Collection) **addJs** (*string* $path, [*boolean* $local], [*boolean* $filter], [*array* $attributes]) Adds a javascript resource to the collection @@ -144,6 +165,10 @@ public **getRealTargetPath** (*mixed* $basePath) Returns the complete location where the joined/filtered collection must be written -public **addFilter** ([Phalcon\Assets\FilterInterface](/en/3.1.2/api/Phalcon_Assets_FilterInterface) $filter) +public **addFilter** ([Phalcon\Assets\FilterInterface](/en/3.2/api/Phalcon_Assets_FilterInterface) $filter) + +Adds a filter to the collection + +final protected **addResource** ([Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) $resource) -Adds a filter to the collection \ No newline at end of file +Adds a resource or inline-code to the collection \ No newline at end of file diff --git a/cs/api/Phalcon_Assets_Exception.md b/cs/api/Phalcon_Assets_Exception.md index bf3c9a57c01a..4c8c0516fd94 100644 --- a/cs/api/Phalcon_Assets_Exception.md +++ b/cs/api/Phalcon_Assets_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Assets\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/cs/api/Phalcon_Assets_Filters_Cssmin.md b/cs/api/Phalcon_Assets_Filters_Cssmin.md index 75e2781f79a0..a807a59e4880 100644 --- a/cs/api/Phalcon_Assets_Filters_Cssmin.md +++ b/cs/api/Phalcon_Assets_Filters_Cssmin.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Assets\\Filters\\Cssmin** -*implements* [Phalcon\Assets\FilterInterface](/en/3.1.2/api/Phalcon_Assets_FilterInterface) +*implements* [Phalcon\Assets\FilterInterface](/en/3.2/api/Phalcon_Assets_FilterInterface) Source on GitHub diff --git a/cs/api/Phalcon_Assets_Filters_Jsmin.md b/cs/api/Phalcon_Assets_Filters_Jsmin.md index 2ee9aa7f5390..2bfe2b4851a4 100644 --- a/cs/api/Phalcon_Assets_Filters_Jsmin.md +++ b/cs/api/Phalcon_Assets_Filters_Jsmin.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Assets\\Filters\\Jsmin** -*implements* [Phalcon\Assets\FilterInterface](/en/3.1.2/api/Phalcon_Assets_FilterInterface) +*implements* [Phalcon\Assets\FilterInterface](/en/3.2/api/Phalcon_Assets_FilterInterface) Source on GitHub diff --git a/cs/api/Phalcon_Assets_Filters_None.md b/cs/api/Phalcon_Assets_Filters_None.md index 93c79dd941f6..60e59aac09de 100644 --- a/cs/api/Phalcon_Assets_Filters_None.md +++ b/cs/api/Phalcon_Assets_Filters_None.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Assets\\Filters\\None** -*implements* [Phalcon\Assets\FilterInterface](/en/3.1.2/api/Phalcon_Assets_FilterInterface) +*implements* [Phalcon\Assets\FilterInterface](/en/3.2/api/Phalcon_Assets_FilterInterface) Source on GitHub diff --git a/cs/api/Phalcon_Assets_Inline.md b/cs/api/Phalcon_Assets_Inline.md index 05a1f622aa48..e5c3ef631536 100644 --- a/cs/api/Phalcon_Assets_Inline.md +++ b/cs/api/Phalcon_Assets_Inline.md @@ -1,5 +1,7 @@ # Class **Phalcon\\Assets\\Inline** +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) + Source on GitHub Represents an inline asset @@ -43,4 +45,8 @@ Sets if the resource must be filtered or not public **setAttributes** (*array* $attributes) -Sets extra HTML attributes \ No newline at end of file +Sets extra HTML attributes + +public **getResourceKey** () + +Gets the resource's key. \ No newline at end of file diff --git a/cs/api/Phalcon_Assets_Inline_Css.md b/cs/api/Phalcon_Assets_Inline_Css.md index c4d7a9d0e919..aad74b78beca 100644 --- a/cs/api/Phalcon_Assets_Inline_Css.md +++ b/cs/api/Phalcon_Assets_Inline_Css.md @@ -1,6 +1,8 @@ # Class **Phalcon\\Assets\\Inline\\Css** -*extends* class [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +*extends* class [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) + +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) Source on GitHub @@ -10,30 +12,34 @@ Represents an inlined CSS public **__construct** (*string* $content, [*boolean* $filter], [*array* $attributes]) -public **getType** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getType** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getContent** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getContent** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getFilter** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getFilter** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getAttributes** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getAttributes** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) Sets the inline's type -public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) Sets if the resource must be filtered or not -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) + +Sets extra HTML attributes + +public **getResourceKey** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) -Sets extra HTML attributes \ No newline at end of file +Gets the resource's key. \ No newline at end of file diff --git a/cs/api/Phalcon_Assets_Inline_Js.md b/cs/api/Phalcon_Assets_Inline_Js.md index 27d57246d817..1cce336b4116 100644 --- a/cs/api/Phalcon_Assets_Inline_Js.md +++ b/cs/api/Phalcon_Assets_Inline_Js.md @@ -1,6 +1,8 @@ # Class **Phalcon\\Assets\\Inline\\Js** -*extends* class [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +*extends* class [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) + +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) Source on GitHub @@ -10,30 +12,34 @@ Represents an inline Javascript public **__construct** (*string* $content, [*boolean* $filter], [*array* $attributes]) -public **getType** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getType** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getContent** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getContent** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getFilter** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getFilter** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getAttributes** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getAttributes** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) Sets the inline's type -public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) Sets if the resource must be filtered or not -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) + +Sets extra HTML attributes + +public **getResourceKey** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) -Sets extra HTML attributes \ No newline at end of file +Gets the resource's key. \ No newline at end of file diff --git a/cs/api/Phalcon_Assets_Manager.md b/cs/api/Phalcon_Assets_Manager.md index 55ab07f19201..13ecabf4ff9c 100644 --- a/cs/api/Phalcon_Assets_Manager.md +++ b/cs/api/Phalcon_Assets_Manager.md @@ -52,7 +52,7 @@ public **addInlineJs** (*mixed* $content, [*mixed* $filter], [*mixed* $attribute Adds an inline javascript to the 'js' collection -public **addResourceByType** (*mixed* $type, [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) $resource) +public **addResourceByType** (*mixed* $type, [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) $resource) Adds a resource by its type @@ -65,11 +65,11 @@ $assets->addResourceByType("css", ``` -public **addInlineCodeByType** (*mixed* $type, [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) $code) +public **addInlineCodeByType** (*mixed* $type, [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) $code) Adds an inline code by its type -public **addResource** ([Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) $resource) +public **addResource** ([Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) $resource) Adds a raw resource to the manager @@ -82,11 +82,11 @@ $assets->addResource( ``` -public **addInlineCode** ([Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) $code) +public **addInlineCode** ([Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) $code) Adds a raw inline code to the manager -public **set** (*mixed* $id, [Phalcon\Assets\Collection](/en/3.1.2/api/Phalcon_Assets_Collection) $collection) +public **set** (*mixed* $id, [Phalcon\Assets\Collection](/en/3.2/api/Phalcon_Assets_Collection) $collection) Sets a collection in the Assets Manager @@ -99,7 +99,7 @@ $assets->set("js", $collection); public **get** (*mixed* $id) -Returns a collection by its id +Returns a collection by its id. ```php exists("jsHeader")) { + // \Phalcon\Assets\Collection + $collection = $assets->get("jsHeader"); +} + +``` \ No newline at end of file diff --git a/cs/api/Phalcon_Assets_Resource.md b/cs/api/Phalcon_Assets_Resource.md index 9718061c348e..d67dc71b7929 100644 --- a/cs/api/Phalcon_Assets_Resource.md +++ b/cs/api/Phalcon_Assets_Resource.md @@ -1,5 +1,7 @@ # Class **Phalcon\\Assets\\Resource** +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) + Source on GitHub Represents an asset resource @@ -85,4 +87,8 @@ Returns the complete location where the resource is located public **getRealTargetPath** ([*mixed* $basePath]) -Returns the complete location where the resource must be written \ No newline at end of file +Returns the complete location where the resource must be written + +public **getResourceKey** () + +Gets the resource's key. \ No newline at end of file diff --git a/cs/api/Phalcon_Assets_Resource_Css.md b/cs/api/Phalcon_Assets_Resource_Css.md index 9376a4de5f6d..11c938e391ca 100644 --- a/cs/api/Phalcon_Assets_Resource_Css.md +++ b/cs/api/Phalcon_Assets_Resource_Css.md @@ -1,6 +1,8 @@ # Class **Phalcon\\Assets\\Resource\\Css** -*extends* class [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +*extends* class [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) + +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) Source on GitHub @@ -10,72 +12,76 @@ Represents CSS resources public **__construct** (*string* $path, [*boolean* $local], [*boolean* $filter], [*array* $attributes]) -public **getType** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getType** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getPath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getPath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getLocal** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getLocal** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getFilter** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getFilter** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getAttributes** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getAttributes** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getSourcePath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getSourcePath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **getTargetPath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getTargetPath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **getTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's type -public **setPath** (*mixed* $path) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setPath** (*mixed* $path) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's path -public **setLocal** (*mixed* $local) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setLocal** (*mixed* $local) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets if the resource is local or external -public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets if the resource must be filtered or not -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets extra HTML attributes -public **setTargetUri** (*mixed* $targetUri) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setTargetUri** (*mixed* $targetUri) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets a target uri for the generated HTML -public **setSourcePath** (*mixed* $sourcePath) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setSourcePath** (*mixed* $sourcePath) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's source path -public **setTargetPath** (*mixed* $targetPath) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setTargetPath** (*mixed* $targetPath) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's target path -public **getContent** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getContent** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the content of the resource as an string Optionally a base path where the resource is located can be set -public **getRealTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the real target uri for the generated HTML -public **getRealSourcePath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealSourcePath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the complete location where the resource is located -public **getRealTargetPath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealTargetPath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) + +Returns the complete location where the resource must be written + +public **getResourceKey** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -Returns the complete location where the resource must be written \ No newline at end of file +Gets the resource's key. \ No newline at end of file diff --git a/cs/api/Phalcon_Assets_Resource_Js.md b/cs/api/Phalcon_Assets_Resource_Js.md index a4c132ff1ed1..2acc4d239b9d 100644 --- a/cs/api/Phalcon_Assets_Resource_Js.md +++ b/cs/api/Phalcon_Assets_Resource_Js.md @@ -1,6 +1,8 @@ # Class **Phalcon\\Assets\\Resource\\Js** -*extends* class [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +*extends* class [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) + +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) Source on GitHub @@ -10,72 +12,76 @@ Represents Javascript resources public **__construct** (*string* $path, [*boolean* $local], [*boolean* $filter], [*array* $attributes]) -public **getType** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getType** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getPath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getPath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getLocal** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getLocal** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getFilter** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getFilter** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getAttributes** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getAttributes** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getSourcePath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getSourcePath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **getTargetPath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getTargetPath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **getTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's type -public **setPath** (*mixed* $path) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setPath** (*mixed* $path) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's path -public **setLocal** (*mixed* $local) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setLocal** (*mixed* $local) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets if the resource is local or external -public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets if the resource must be filtered or not -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets extra HTML attributes -public **setTargetUri** (*mixed* $targetUri) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setTargetUri** (*mixed* $targetUri) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets a target uri for the generated HTML -public **setSourcePath** (*mixed* $sourcePath) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setSourcePath** (*mixed* $sourcePath) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's source path -public **setTargetPath** (*mixed* $targetPath) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setTargetPath** (*mixed* $targetPath) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's target path -public **getContent** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getContent** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the content of the resource as an string Optionally a base path where the resource is located can be set -public **getRealTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the real target uri for the generated HTML -public **getRealSourcePath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealSourcePath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the complete location where the resource is located -public **getRealTargetPath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealTargetPath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) + +Returns the complete location where the resource must be written + +public **getResourceKey** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -Returns the complete location where the resource must be written \ No newline at end of file +Gets the resource's key. \ No newline at end of file diff --git a/cs/api/Phalcon_Cache_Backend.md b/cs/api/Phalcon_Cache_Backend.md index f81ba2e57820..6e8b2e14bbff 100644 --- a/cs/api/Phalcon_Cache_Backend.md +++ b/cs/api/Phalcon_Cache_Backend.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Cache\\Backend** -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -32,7 +32,7 @@ public **setLastKey** (*mixed* $lastKey) ... -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend constructor @@ -56,22 +56,22 @@ public *int* **getLifetime** () Gets the last lifetime set -abstract public **get** (*mixed* $keyName, [*mixed* $lifetime]) inherited from [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +abstract public **get** (*mixed* $keyName, [*mixed* $lifetime]) inherited from [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) ... -abstract public **save** ([*mixed* $keyName], [*mixed* $content], [*mixed* $lifetime], [*mixed* $stopBuffer]) inherited from [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +abstract public **save** ([*mixed* $keyName], [*mixed* $content], [*mixed* $lifetime], [*mixed* $stopBuffer]) inherited from [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) ... -abstract public **delete** (*mixed* $keyName) inherited from [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +abstract public **delete** (*mixed* $keyName) inherited from [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) ... -abstract public **queryKeys** ([*mixed* $prefix]) inherited from [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +abstract public **queryKeys** ([*mixed* $prefix]) inherited from [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) ... -abstract public **exists** ([*mixed* $keyName], [*mixed* $lifetime]) inherited from [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +abstract public **exists** ([*mixed* $keyName], [*mixed* $lifetime]) inherited from [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) ... \ No newline at end of file diff --git a/cs/api/Phalcon_Cache_Backend_Apc.md b/cs/api/Phalcon_Cache_Backend_Apc.md index 6f08c1fef4b7..92b01c89d25a 100644 --- a/cs/api/Phalcon_Cache_Backend_Apc.md +++ b/cs/api/Phalcon_Cache_Backend_Apc.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Apc** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -94,50 +94,50 @@ $cache->flush(); ``` -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Phalcon\\Cache\\Backend constructor -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/cs/api/Phalcon_Cache_Backend_File.md b/cs/api/Phalcon_Cache_Backend_File.md index 78c3aff0e84c..3ea73b705889 100644 --- a/cs/api/Phalcon_Cache_Backend_File.md +++ b/cs/api/Phalcon_Cache_Backend_File.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\File** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -44,7 +44,7 @@ if ($content === null) { ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, *array* $options) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, *array* $options) Phalcon\\Cache\\Backend\\File constructor @@ -98,46 +98,46 @@ public **useSafeKey** (*mixed* $useSafeKey) Set whether to use the safekey or not -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/cs/api/Phalcon_Cache_Backend_Libmemcached.md b/cs/api/Phalcon_Cache_Backend_Libmemcached.md index 88948897b300..9ec4b031d82e 100644 --- a/cs/api/Phalcon_Cache_Backend_Libmemcached.md +++ b/cs/api/Phalcon_Cache_Backend_Libmemcached.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Libmemcached** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -49,7 +49,7 @@ $data = $cache->get("my-data"); ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend\\Memcache constructor @@ -116,46 +116,46 @@ $cache->flush(); ``` -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/cs/api/Phalcon_Cache_Backend_Memcache.md b/cs/api/Phalcon_Cache_Backend_Memcache.md index 7310592149b1..6f2575ca5c8d 100644 --- a/cs/api/Phalcon_Cache_Backend_Memcache.md +++ b/cs/api/Phalcon_Cache_Backend_Memcache.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Memcache** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -43,7 +43,7 @@ $data = $cache->get("my-data"); ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend\\Memcache constructor @@ -97,46 +97,46 @@ public **flush** () Immediately invalidates all existing items. -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/cs/api/Phalcon_Cache_Backend_Memory.md b/cs/api/Phalcon_Cache_Backend_Memory.md index 06a4216cf7ac..a269432ab9f3 100644 --- a/cs/api/Phalcon_Cache_Backend_Memory.md +++ b/cs/api/Phalcon_Cache_Backend_Memory.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Memory** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface), [Serializable](http://php.net/manual/en/class.serializable.php) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface), [Serializable](http://php.net/manual/en/class.serializable.php) Source on GitHub @@ -79,50 +79,50 @@ public **unserialize** (*mixed* $data) Required for interface \\Serializable -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Phalcon\\Cache\\Backend constructor -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/cs/api/Phalcon_Cache_Backend_Mongo.md b/cs/api/Phalcon_Cache_Backend_Mongo.md index 9ad0f67b530c..6421cd0f4f29 100644 --- a/cs/api/Phalcon_Cache_Backend_Mongo.md +++ b/cs/api/Phalcon_Cache_Backend_Mongo.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Mongo** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -44,7 +44,7 @@ $data = $cache->get("my-data"); ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend\\Mongo constructor @@ -98,46 +98,46 @@ public **flush** () Immediately invalidates all existing items. -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/cs/api/Phalcon_Cache_Backend_Redis.md b/cs/api/Phalcon_Cache_Backend_Redis.md index 123bf025f2af..a3509251d509 100644 --- a/cs/api/Phalcon_Cache_Backend_Redis.md +++ b/cs/api/Phalcon_Cache_Backend_Redis.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Redis** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -45,7 +45,7 @@ $data = $cache->get("my-data"); ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend\\Redis constructor @@ -105,46 +105,46 @@ public **flush** () Immediately invalidates all existing items. -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/cs/api/Phalcon_Cache_Backend_Xcache.md b/cs/api/Phalcon_Cache_Backend_Xcache.md index b91e75b19c79..7dac8215d5f3 100644 --- a/cs/api/Phalcon_Cache_Backend_Xcache.md +++ b/cs/api/Phalcon_Cache_Backend_Xcache.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Xcache** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -38,7 +38,7 @@ $data = $cache->get("my-data"); ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend\\Xcache constructor @@ -84,46 +84,46 @@ public **flush** () Immediately invalidates all existing items. -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/cs/api/Phalcon_Cache_Exception.md b/cs/api/Phalcon_Cache_Exception.md index cbb05a3a76e4..87f2372e7864 100644 --- a/cs/api/Phalcon_Cache_Exception.md +++ b/cs/api/Phalcon_Cache_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/cs/api/Phalcon_Cache_Frontend_Base64.md b/cs/api/Phalcon_Cache_Frontend_Base64.md index 92f36996b4b7..473895a88aa8 100644 --- a/cs/api/Phalcon_Cache_Frontend_Base64.md +++ b/cs/api/Phalcon_Cache_Frontend_Base64.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Frontend\\Base64** -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/cs/api/Phalcon_Cache_Frontend_Data.md b/cs/api/Phalcon_Cache_Frontend_Data.md index f46469ab7410..1f249be7103c 100644 --- a/cs/api/Phalcon_Cache_Frontend_Data.md +++ b/cs/api/Phalcon_Cache_Frontend_Data.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Frontend\\Data** -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/cs/api/Phalcon_Cache_Frontend_Igbinary.md b/cs/api/Phalcon_Cache_Frontend_Igbinary.md index 1460a42ce867..714a96bb4de1 100644 --- a/cs/api/Phalcon_Cache_Frontend_Igbinary.md +++ b/cs/api/Phalcon_Cache_Frontend_Igbinary.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Frontend\\Igbinary** -*extends* class [Phalcon\Cache\Frontend\Data](/en/3.1.2/api/Phalcon_Cache_Frontend_Data) +*extends* class [Phalcon\Cache\Frontend\Data](/en/3.2/api/Phalcon_Cache_Frontend_Data) -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/cs/api/Phalcon_Cache_Frontend_Json.md b/cs/api/Phalcon_Cache_Frontend_Json.md index 64a296ca976f..bfe39cdc53c4 100644 --- a/cs/api/Phalcon_Cache_Frontend_Json.md +++ b/cs/api/Phalcon_Cache_Frontend_Json.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Frontend\\Json** -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/cs/api/Phalcon_Cache_Frontend_Msgpack.md b/cs/api/Phalcon_Cache_Frontend_Msgpack.md index f77a99a21168..857b40d4bbdc 100644 --- a/cs/api/Phalcon_Cache_Frontend_Msgpack.md +++ b/cs/api/Phalcon_Cache_Frontend_Msgpack.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Frontend\\Msgpack** -*extends* class [Phalcon\Cache\Frontend\Data](/en/3.1.2/api/Phalcon_Cache_Frontend_Data) +*extends* class [Phalcon\Cache\Frontend\Data](/en/3.2/api/Phalcon_Cache_Frontend_Data) -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/cs/api/Phalcon_Cache_Frontend_None.md b/cs/api/Phalcon_Cache_Frontend_None.md index 521fcd02f344..bdc0af2d4135 100644 --- a/cs/api/Phalcon_Cache_Frontend_None.md +++ b/cs/api/Phalcon_Cache_Frontend_None.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Frontend\\None** -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/cs/api/Phalcon_Cache_Frontend_Output.md b/cs/api/Phalcon_Cache_Frontend_Output.md index 8421c02f1276..c6a0543703d6 100644 --- a/cs/api/Phalcon_Cache_Frontend_Output.md +++ b/cs/api/Phalcon_Cache_Frontend_Output.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Frontend\\Output** -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/cs/api/Phalcon_Cache_Multiple.md b/cs/api/Phalcon_Cache_Multiple.md index bbfa61a13274..1d9fd1365aa9 100644 --- a/cs/api/Phalcon_Cache_Multiple.md +++ b/cs/api/Phalcon_Cache_Multiple.md @@ -65,11 +65,11 @@ $cache->save("my-key", $data); ## Methods -public **__construct** ([[Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface[]) $backends]) +public **__construct** ([[Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface[]) $backends]) Phalcon\\Cache\\Multiple constructor -public **push** ([Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) $backend) +public **push** ([Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) $backend) Adds a backend diff --git a/cs/api/Phalcon_Cli_Console.md b/cs/api/Phalcon_Cli_Console.md index c769b7ad7659..f0337bf3f1ec 100644 --- a/cs/api/Phalcon_Cli_Console.md +++ b/cs/api/Phalcon_Cli_Console.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cli\\Console** -*extends* abstract class [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +*extends* abstract class [Phalcon\Application](/en/3.2/api/Phalcon_Application) -*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -36,19 +36,19 @@ public **setArgument** ([*array* $arguments], [*mixed* $str], [*mixed* $shift]) Set an specific argument -public **__construct** ([[Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector]) inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **__construct** ([[Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector]) inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Phalcon\\Application -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Sets the events manager -public **getEventsManager** () inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **getEventsManager** () inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Returns the internal event manager -public **registerModules** (*array* $modules, [*mixed* $merge]) inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **registerModules** (*array* $modules, [*mixed* $merge]) inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Register an array of modules present in the application @@ -70,30 +70,30 @@ $this->registerModules( ``` -public **getModules** () inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **getModules** () inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Return the modules registered in the application -public **getModule** (*mixed* $name) inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **getModule** (*mixed* $name) inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Gets the module definition registered in the application via module name -public **setDefaultModule** (*mixed* $defaultModule) inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **setDefaultModule** (*mixed* $defaultModule) inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Sets the module name to be used if the router doesn't return a valid module -public **getDefaultModule** () inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **getDefaultModule** () inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Returns the default module name -public **setDI** ([Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **setDI** ([Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Sets the dependency injector -public **getDI** () inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **getDI** () inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Returns the internal dependency injector -public **__get** (*mixed* $propertyName) inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **__get** (*mixed* $propertyName) inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Magic method __get \ No newline at end of file diff --git a/cs/api/Phalcon_Cli_Console_Exception.md b/cs/api/Phalcon_Cli_Console_Exception.md index 64a6f1f9162a..e7bfea5dbde1 100644 --- a/cs/api/Phalcon_Cli_Console_Exception.md +++ b/cs/api/Phalcon_Cli_Console_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cli\\Console\\Exception** -*extends* class [Phalcon\Application\Exception](/en/3.1.2/api/Phalcon_Application_Exception) +*extends* class [Phalcon\Application\Exception](/en/3.2/api/Phalcon_Application_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/cs/api/Phalcon_Cli_Dispatcher.md b/cs/api/Phalcon_Cli_Dispatcher.md index 7b91f5c9f537..f03b7c7c61ac 100644 --- a/cs/api/Phalcon_Cli_Dispatcher.md +++ b/cs/api/Phalcon_Cli_Dispatcher.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cli\\Dispatcher** -*extends* abstract class [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +*extends* abstract class [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) -*implements* [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface), [Phalcon\Cli\DispatcherInterface](/en/3.1.2/api/Phalcon_Cli_DispatcherInterface) +*implements* [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface), [Phalcon\Cli\DispatcherInterface](/en/3.2/api/Phalcon_Cli_DispatcherInterface) Source on GitHub @@ -11,10 +11,11 @@ Dispatching is the process of taking the command-line arguments, extracting the ```php setDi($di); $dispatcher->setTaskName("posts"); @@ -81,107 +82,115 @@ public **getOptions** () Get dispatched options +public **getOption** (*mixed* $option, [*string* | *array* $filters], [*mixed* $defaultValue]) + +Gets an option by its name or numeric index + +public **hasOption** (*mixed* $option) + +Check if an option exists + public **callActionMethod** (*mixed* $handler, *mixed* $actionMethod, [*array* $params]) -... +Calls the action method. -public **setDI** ([Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setDI** ([Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the dependency injector -public **getDI** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getDI** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns the internal dependency injector -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the events manager -public **getEventsManager** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getEventsManager** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns the internal event manager -public **setActionSuffix** (*mixed* $actionSuffix) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setActionSuffix** (*mixed* $actionSuffix) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the default action suffix -public **getActionSuffix** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getActionSuffix** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets the default action suffix -public **setModuleName** (*mixed* $moduleName) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setModuleName** (*mixed* $moduleName) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the module where the controller is (only informative) -public **getModuleName** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getModuleName** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets the module where the controller class is -public **setNamespaceName** (*mixed* $namespaceName) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setNamespaceName** (*mixed* $namespaceName) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the namespace where the controller class is -public **getNamespaceName** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getNamespaceName** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets a namespace to be prepended to the current handler name -public **setDefaultNamespace** (*mixed* $namespaceName) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setDefaultNamespace** (*mixed* $namespaceName) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the default namespace -public **getDefaultNamespace** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getDefaultNamespace** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns the default namespace -public **setDefaultAction** (*mixed* $actionName) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setDefaultAction** (*mixed* $actionName) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the default action name -public **setActionName** (*mixed* $actionName) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setActionName** (*mixed* $actionName) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the action name to be dispatched -public **getActionName** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getActionName** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets the latest dispatched action name -public **setParams** (*array* $params) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setParams** (*array* $params) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets action params to be dispatched -public **getParams** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getParams** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets action params -public **setParam** (*mixed* $param, *mixed* $value) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setParam** (*mixed* $param, *mixed* $value) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Set a param by its name or numeric index -public *mixed* **getParam** (*mixed* $param, [*string* | *array* $filters], [*mixed* $defaultValue]) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public *mixed* **getParam** (*mixed* $param, [*string* | *array* $filters], [*mixed* $defaultValue]) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets a param by its name or numeric index -public *boolean* **hasParam** (*mixed* $param) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public *boolean* **hasParam** (*mixed* $param) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Check if a param exists -public **getActiveMethod** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getActiveMethod** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns the current method to be/executed in the dispatcher -public **isFinished** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **isFinished** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Checks if the dispatch loop is finished or has more pendent controllers/tasks to dispatch -public **setReturnedValue** (*mixed* $value) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setReturnedValue** (*mixed* $value) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the latest returned value by an action manually -public *mixed* **getReturnedValue** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public *mixed* **getReturnedValue** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns value returned by the latest dispatched action -public **setModelBinding** (*mixed* $value, [*mixed* $cache]) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setModelBinding** (*mixed* $value, [*mixed* $cache]) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Enable/Disable model binding during dispatch @@ -197,7 +206,7 @@ $di->set('dispatcher', function() { ``` -public **setModelBinder** ([Phalcon\Mvc\Model\BinderInterface](/en/3.1.2/api/Phalcon_Mvc_Model_BinderInterface) $modelBinder, [*mixed* $cache]) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setModelBinder** ([Phalcon\Mvc\Model\BinderInterface](/en/3.2/api/Phalcon_Mvc_Model_BinderInterface) $modelBinder, [*mixed* $cache]) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Enable model binding during dispatch @@ -213,21 +222,21 @@ $di->set('dispatcher', function() { ``` -public **getModelBinder** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getModelBinder** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets model binder -public *object* **dispatch** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public *object* **dispatch** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Dispatches a handle action taking into account the routing parameters -protected *object* **_dispatch** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +protected *object* **_dispatch** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Dispatches a handle action taking into account the routing parameters -public **forward** (*array* $forward) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **forward** (*array* $forward) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) -Forwards the execution flow to another controller/action Dispatchers are unique per module. Forwarding between modules is not allowed +Forwards the execution flow to another controller/action. ```php dispatcher->forward( ``` -public **wasForwarded** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **wasForwarded** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Check if the current executed action was forwarded by another one -public **getHandlerClass** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getHandlerClass** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Possible class name that will be located to dispatch the request -public **getBoundModels** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getBoundModels** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns bound models from binder instance @@ -266,6 +275,6 @@ class UserController extends Controller ``` -protected **_resolveEmptyProperties** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +protected **_resolveEmptyProperties** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Set empty properties to their defaults (where defaults are available) \ No newline at end of file diff --git a/cs/api/Phalcon_Cli_DispatcherInterface.md b/cs/api/Phalcon_Cli_DispatcherInterface.md index 58914bf4b682..78f4d7b40c9c 100644 --- a/cs/api/Phalcon_Cli_DispatcherInterface.md +++ b/cs/api/Phalcon_Cli_DispatcherInterface.md @@ -1,6 +1,6 @@ # Interface **Phalcon\\Cli\\DispatcherInterface** -*implements* [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +*implements* [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) Source on GitHub @@ -30,70 +30,70 @@ abstract public **getActiveTask** () ... -abstract public **setActionSuffix** (*mixed* $actionSuffix) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setActionSuffix** (*mixed* $actionSuffix) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **getActionSuffix** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **getActionSuffix** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setDefaultNamespace** (*mixed* $defaultNamespace) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setDefaultNamespace** (*mixed* $defaultNamespace) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setDefaultAction** (*mixed* $actionName) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setDefaultAction** (*mixed* $actionName) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setNamespaceName** (*mixed* $namespaceName) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setNamespaceName** (*mixed* $namespaceName) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setModuleName** (*mixed* $moduleName) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setModuleName** (*mixed* $moduleName) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setActionName** (*mixed* $actionName) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setActionName** (*mixed* $actionName) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **getActionName** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **getActionName** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setParams** (*mixed* $params) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setParams** (*mixed* $params) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **getParams** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **getParams** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setParam** (*mixed* $param, *mixed* $value) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setParam** (*mixed* $param, *mixed* $value) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **getParam** (*mixed* $param, [*mixed* $filters]) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **getParam** (*mixed* $param, [*mixed* $filters]) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **hasParam** (*mixed* $param) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **hasParam** (*mixed* $param) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **isFinished** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **isFinished** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **getReturnedValue** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **getReturnedValue** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **dispatch** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **dispatch** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **forward** (*mixed* $forward) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **forward** (*mixed* $forward) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... \ No newline at end of file diff --git a/cs/api/Phalcon_Cli_Dispatcher_Exception.md b/cs/api/Phalcon_Cli_Dispatcher_Exception.md index 0eeb05860d89..fbd0a6c4292d 100644 --- a/cs/api/Phalcon_Cli_Dispatcher_Exception.md +++ b/cs/api/Phalcon_Cli_Dispatcher_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cli\\Dispatcher\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/cs/api/Phalcon_Cli_Router.md b/cs/api/Phalcon_Cli_Router.md index d2cb10a44276..5a0943627b36 100644 --- a/cs/api/Phalcon_Cli_Router.md +++ b/cs/api/Phalcon_Cli_Router.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cli\\Router** -*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface) +*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface) Source on GitHub @@ -29,7 +29,7 @@ public **__construct** ([*mixed* $defaultRoutes]) Phalcon\\Cli\\Router constructor -public **setDI** ([Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector) +public **setDI** ([Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector) Sets the dependency injector @@ -69,7 +69,7 @@ public **handle** ([*array* $arguments]) Handles routing information received from command-line arguments -public [Phalcon\Cli\Router\Route](/en/3.1.2/api/Phalcon_Cli_Router_Route) **add** (*string* $pattern, [*string/array* $paths]) +public [Phalcon\Cli\Router\Route](/en/3.2/api/Phalcon_Cli_Router_Route) **add** (*string* $pattern, [*string/array* $paths]) Adds a route to the router @@ -112,7 +112,7 @@ public **getRoutes** () Returns all the routes defined in the router -public [Phalcon\Cli\Router\Route](/en/3.1.2/api/Phalcon_Cli_Router_Route) **getRouteById** (*int* $id) +public [Phalcon\Cli\Router\Route](/en/3.2/api/Phalcon_Cli_Router_Route) **getRouteById** (*int* $id) Returns a route object by its id diff --git a/cs/api/Phalcon_Cli_Router_Exception.md b/cs/api/Phalcon_Cli_Router_Exception.md index ebd81a411422..e063b3861132 100644 --- a/cs/api/Phalcon_Cli_Router_Exception.md +++ b/cs/api/Phalcon_Cli_Router_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cli\\Router\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/cs/api/Phalcon_Db_Adapter.md b/cs/api/Phalcon_Db_Adapter.md index c1deaded19cd..a5d397a98c83 100644 --- a/cs/api/Phalcon_Db_Adapter.md +++ b/cs/api/Phalcon_Db_Adapter.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Db\\Adapter** -*implements* [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -24,7 +24,7 @@ public **__construct** (*array* $descriptor) Phalcon\\Db\\Adapter constructor -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) Sets the event manager @@ -32,7 +32,7 @@ public **getEventsManager** () Returns the internal event manager -public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) $dialect) +public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) $dialect) Sets the dialect used to produce the SQL @@ -309,11 +309,11 @@ public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExist Drops a view -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Adds a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) Modifies a table column based on a definition @@ -321,7 +321,7 @@ public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnN Drops a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Adds an index to a table @@ -329,7 +329,7 @@ public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexNam Drop an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Adds a primary key to a table @@ -337,7 +337,7 @@ public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) Drops a table's primary key -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) Adds a foreign key to a table @@ -345,7 +345,7 @@ public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $ref Drops a foreign key from a table -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Returns the SQL column definition from a column @@ -375,7 +375,7 @@ print_r( ``` -public [Phalcon\Db\Index](/en/3.1.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) +public [Phalcon\Db\Index](/en/3.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) Lists table indexes @@ -512,54 +512,54 @@ public *array* **getSQLBindTypes** () Active SQL statement in the object -abstract public **connect** ([*array* $descriptor]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **connect** ([*array* $descriptor]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **query** (*mixed* $sqlStatement, [*mixed* $placeholders], [*mixed* $dataTypes]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **query** (*mixed* $sqlStatement, [*mixed* $placeholders], [*mixed* $dataTypes]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **execute** (*mixed* $sqlStatement, [*mixed* $placeholders], [*mixed* $dataTypes]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **execute** (*mixed* $sqlStatement, [*mixed* $placeholders], [*mixed* $dataTypes]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **affectedRows** () inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **affectedRows** () inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **close** () inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **close** () inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **lastInsertId** ([*mixed* $sequenceName]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **lastInsertId** ([*mixed* $sequenceName]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **isUnderTransaction** () inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **isUnderTransaction** () inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **getInternalHandler** () inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **getInternalHandler** () inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... \ No newline at end of file diff --git a/cs/api/Phalcon_Db_AdapterInterface.md b/cs/api/Phalcon_Db_AdapterInterface.md index 2b9bec9a2acd..4c6a8f54b3f1 100644 --- a/cs/api/Phalcon_Db_AdapterInterface.md +++ b/cs/api/Phalcon_Db_AdapterInterface.md @@ -64,11 +64,11 @@ abstract public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* ... -abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) ... -abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) ... @@ -76,7 +76,7 @@ abstract public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* ... -abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) ... @@ -84,7 +84,7 @@ abstract public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* ... -abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) ... @@ -92,7 +92,7 @@ abstract public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) ... -abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) ... @@ -100,7 +100,7 @@ abstract public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mi ... -abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) ... diff --git a/cs/api/Phalcon_Db_Adapter_Pdo.md b/cs/api/Phalcon_Db_Adapter_Pdo.md index 44de7d9e6e1f..c23a014e3d58 100644 --- a/cs/api/Phalcon_Db_Adapter_Pdo.md +++ b/cs/api/Phalcon_Db_Adapter_Pdo.md @@ -1,8 +1,8 @@ # Abstract class **Phalcon\\Db\\Adapter\\Pdo** -*extends* abstract class [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +*extends* abstract class [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) -*implements* [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +*implements* [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) Source on GitHub @@ -262,35 +262,35 @@ public *array* **getErrorInfo** () Return the error info, if any -public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Name of the dialect used -public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Type of database system the adapter is used for -public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL bound parameter variables -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the event manager -public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the internal event manager -public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the dialect used to produce the SQL -public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns internal dialect instance -public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the first row in a SQL query result @@ -307,7 +307,7 @@ print_r($robot); ``` -public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Dumps the complete result of a query into an array @@ -338,7 +338,7 @@ foreach($robots as $robot) { ``` -public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the n'th field of first row in a SQL query result @@ -358,7 +358,7 @@ print_r($robot); ``` -public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RDBMS SQL syntax @@ -377,7 +377,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RBDM SQL syntax @@ -398,7 +398,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax @@ -435,7 +435,7 @@ $success = $connection->update( Warning! If $whereCondition is string it not escaped. -public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax Another, more convenient syntax @@ -456,7 +456,7 @@ UPDATE `robots` SET `name` = "Astro boy" WHERE id = 101 ``` -public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Deletes data from a table using custom RBDM SQL syntax @@ -474,7 +474,7 @@ DELETE FROM `robots` WHERE `id` = 101 ``` -public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Escapes a column/table/schema name @@ -494,11 +494,11 @@ $escapedTable = $connection->escapeIdentifier( ``` -public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets a list of columns -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Appends a LIMIT clause to $sqlQuery argument @@ -509,7 +509,7 @@ echo $connection->limit("SELECT * FROM robots", 5); ``` -public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.table @@ -522,7 +522,7 @@ var_dump( ``` -public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.view @@ -535,71 +535,71 @@ var_dump( ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a FOR UPDATE clause -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a LOCK IN SHARE MODE clause -public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a table -public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table from a schema/database -public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a view -public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a view -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Modifies a table column based on a definition -public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds an index to a table -public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drop an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a primary key to a table -public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table's primary key -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a foreign key to a table -public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a foreign key from a table -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the SQL column definition from a column -public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all tables on a database @@ -612,7 +612,7 @@ print_r( ``` -public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all views on a database @@ -625,7 +625,7 @@ print_r( ``` -public [Phalcon\Db\Index](/en/3.1.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public [Phalcon\Db\Index](/en/3.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Lists table indexes @@ -638,7 +638,7 @@ print_r( ``` -public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Lists table references @@ -651,7 +651,7 @@ print_r( ``` -public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets creation options from a table @@ -664,31 +664,31 @@ print_r( ``` -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Releases given savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Rollbacks given savepoint -public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Set if nested transactions should use savepoints -public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns if nested transactions should use savepoints -public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the savepoint name to use for nested transactions -public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default identity value to be inserted in an identity column @@ -712,7 +712,7 @@ $success = $connection->insert( ``` -public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default value to make the RBDM use the default value declared in the table definition @@ -734,34 +734,34 @@ $success = $connection->insert( ``` -public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Check whether the database system requires a sequence to produce auto-numeric values -public **useExplicitIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **useExplicitIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Check whether the database system requires an explicit value for identity columns -public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Return descriptor used to connect to the active database -public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets the active connection unique identifier -public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object -public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object without replace bound parameters -public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object -abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... \ No newline at end of file diff --git a/cs/api/Phalcon_Db_Adapter_Pdo_Mysql.md b/cs/api/Phalcon_Db_Adapter_Pdo_Mysql.md index fe17030fddcf..5013bf0def80 100644 --- a/cs/api/Phalcon_Db_Adapter_Pdo_Mysql.md +++ b/cs/api/Phalcon_Db_Adapter_Pdo_Mysql.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Adapter\\Pdo\\Mysql** -*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) -*implements* [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -40,7 +40,7 @@ print_r( ``` -public [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface[]) **describeIndexes** (*string* $table, [*string* $schema]) +public [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface[]) **describeIndexes** (*string* $table, [*string* $schema]) Lists table indexes @@ -66,11 +66,11 @@ print_r( ``` -public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Constructor for Phalcon\\Db\\Adapter\\Pdo -public **connect** ([*array* $descriptor]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **connect** ([*array* $descriptor]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) This method is automatically called in \\Phalcon\\Db\\Adapter\\Pdo constructor. Call it when you need to restore a database connection. @@ -95,7 +95,7 @@ $connection->connect(); ``` -public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns a PDO prepared statement to be executed with 'executePrepared' @@ -120,7 +120,7 @@ $result = $connection->executePrepared( ``` -public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Executes a prepared statement binding. This function uses integer indexes starting from zero @@ -145,7 +145,7 @@ $result = $connection->executePrepared( ``` -public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server is returning rows @@ -166,7 +166,7 @@ $resultset = $connection->query( ``` -public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server doesn't return any rows @@ -188,7 +188,7 @@ $success = $connection->execute( ``` -public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the number of affected rows by the latest INSERT/UPDATE/DELETE executed in the database system @@ -203,11 +203,11 @@ echo $connection->affectedRows(), " were deleted"; ``` -public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Closes the active connection returning success. Phalcon automatically closes and destroys active connections when the request ends -public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Escapes a value to avoid SQL injections according to the active charset in the connection @@ -218,7 +218,7 @@ $escapedStr = $connection->escapeString("some dangerous value"); ``` -public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Converts bound parameters such as :name: or ?1 into PDO bind params ? @@ -236,7 +236,7 @@ print_r( ``` -public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the insert id for the auto_increment/serial column inserted in the latest executed SQL statement @@ -261,23 +261,23 @@ $id = $connection->lastInsertId(); ``` -public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Starts a transaction in the connection -public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Rollbacks the active transaction in the connection -public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Commits the active transaction in the connection -public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the current transaction nesting level -public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Checks whether the connection is under a transaction @@ -293,43 +293,43 @@ var_dump( ``` -public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return internal PDO handler -public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return the error info, if any -public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Name of the dialect used -public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Type of database system the adapter is used for -public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL bound parameter variables -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the event manager -public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the internal event manager -public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the dialect used to produce the SQL -public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns internal dialect instance -public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the first row in a SQL query result @@ -346,7 +346,7 @@ print_r($robot); ``` -public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Dumps the complete result of a query into an array @@ -377,7 +377,7 @@ foreach($robots as $robot) { ``` -public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the n'th field of first row in a SQL query result @@ -397,7 +397,7 @@ print_r($robot); ``` -public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RDBMS SQL syntax @@ -416,7 +416,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RBDM SQL syntax @@ -437,7 +437,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax @@ -474,7 +474,7 @@ $success = $connection->update( Warning! If $whereCondition is string it not escaped. -public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax Another, more convenient syntax @@ -495,7 +495,7 @@ UPDATE `robots` SET `name` = "Astro boy" WHERE id = 101 ``` -public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Deletes data from a table using custom RBDM SQL syntax @@ -513,7 +513,7 @@ DELETE FROM `robots` WHERE `id` = 101 ``` -public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Escapes a column/table/schema name @@ -533,11 +533,11 @@ $escapedTable = $connection->escapeIdentifier( ``` -public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets a list of columns -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Appends a LIMIT clause to $sqlQuery argument @@ -548,7 +548,7 @@ echo $connection->limit("SELECT * FROM robots", 5); ``` -public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.table @@ -561,7 +561,7 @@ var_dump( ``` -public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.view @@ -574,71 +574,71 @@ var_dump( ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a FOR UPDATE clause -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a LOCK IN SHARE MODE clause -public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a table -public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table from a schema/database -public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a view -public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a view -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Modifies a table column based on a definition -public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds an index to a table -public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drop an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a primary key to a table -public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table's primary key -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a foreign key to a table -public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a foreign key from a table -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the SQL column definition from a column -public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all tables on a database @@ -651,7 +651,7 @@ print_r( ``` -public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all views on a database @@ -664,7 +664,7 @@ print_r( ``` -public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets creation options from a table @@ -677,31 +677,31 @@ print_r( ``` -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Releases given savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Rollbacks given savepoint -public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Set if nested transactions should use savepoints -public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns if nested transactions should use savepoints -public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the savepoint name to use for nested transactions -public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default identity value to be inserted in an identity column @@ -725,7 +725,7 @@ $success = $connection->insert( ``` -public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default value to make the RBDM use the default value declared in the table definition @@ -747,30 +747,30 @@ $success = $connection->insert( ``` -public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Check whether the database system requires a sequence to produce auto-numeric values -public **useExplicitIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **useExplicitIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Check whether the database system requires an explicit value for identity columns -public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Return descriptor used to connect to the active database -public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets the active connection unique identifier -public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object -public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object without replace bound parameters -public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object \ No newline at end of file diff --git a/cs/api/Phalcon_Db_Adapter_Pdo_Postgresql.md b/cs/api/Phalcon_Db_Adapter_Pdo_Postgresql.md index c7f35273d52a..9a66f69a4ec1 100644 --- a/cs/api/Phalcon_Db_Adapter_Pdo_Postgresql.md +++ b/cs/api/Phalcon_Db_Adapter_Pdo_Postgresql.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Adapter\\Pdo\\Postgresql** -*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) -*implements* [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -48,7 +48,7 @@ public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $defini Creates a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) Modifies a table column based on a definition @@ -84,11 +84,11 @@ public **supportSequences** () Check whether the database system requires a sequence to produce auto-numeric values -public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Constructor for Phalcon\\Db\\Adapter\\Pdo -public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns a PDO prepared statement to be executed with 'executePrepared' @@ -113,7 +113,7 @@ $result = $connection->executePrepared( ``` -public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Executes a prepared statement binding. This function uses integer indexes starting from zero @@ -138,7 +138,7 @@ $result = $connection->executePrepared( ``` -public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server is returning rows @@ -159,7 +159,7 @@ $resultset = $connection->query( ``` -public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server doesn't return any rows @@ -181,7 +181,7 @@ $success = $connection->execute( ``` -public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the number of affected rows by the latest INSERT/UPDATE/DELETE executed in the database system @@ -196,11 +196,11 @@ echo $connection->affectedRows(), " were deleted"; ``` -public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Closes the active connection returning success. Phalcon automatically closes and destroys active connections when the request ends -public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Escapes a value to avoid SQL injections according to the active charset in the connection @@ -211,7 +211,7 @@ $escapedStr = $connection->escapeString("some dangerous value"); ``` -public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Converts bound parameters such as :name: or ?1 into PDO bind params ? @@ -229,7 +229,7 @@ print_r( ``` -public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the insert id for the auto_increment/serial column inserted in the latest executed SQL statement @@ -254,23 +254,23 @@ $id = $connection->lastInsertId(); ``` -public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Starts a transaction in the connection -public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Rollbacks the active transaction in the connection -public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Commits the active transaction in the connection -public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the current transaction nesting level -public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Checks whether the connection is under a transaction @@ -286,43 +286,43 @@ var_dump( ``` -public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return internal PDO handler -public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return the error info, if any -public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Name of the dialect used -public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Type of database system the adapter is used for -public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL bound parameter variables -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the event manager -public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the internal event manager -public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the dialect used to produce the SQL -public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns internal dialect instance -public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the first row in a SQL query result @@ -339,7 +339,7 @@ print_r($robot); ``` -public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Dumps the complete result of a query into an array @@ -370,7 +370,7 @@ foreach($robots as $robot) { ``` -public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the n'th field of first row in a SQL query result @@ -390,7 +390,7 @@ print_r($robot); ``` -public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RDBMS SQL syntax @@ -409,7 +409,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RBDM SQL syntax @@ -430,7 +430,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax @@ -467,7 +467,7 @@ $success = $connection->update( Warning! If $whereCondition is string it not escaped. -public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax Another, more convenient syntax @@ -488,7 +488,7 @@ UPDATE `robots` SET `name` = "Astro boy" WHERE id = 101 ``` -public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Deletes data from a table using custom RBDM SQL syntax @@ -506,7 +506,7 @@ DELETE FROM `robots` WHERE `id` = 101 ``` -public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Escapes a column/table/schema name @@ -526,11 +526,11 @@ $escapedTable = $connection->escapeIdentifier( ``` -public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets a list of columns -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Appends a LIMIT clause to $sqlQuery argument @@ -541,7 +541,7 @@ echo $connection->limit("SELECT * FROM robots", 5); ``` -public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.table @@ -554,7 +554,7 @@ var_dump( ``` -public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.view @@ -567,63 +567,63 @@ var_dump( ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a FOR UPDATE clause -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a LOCK IN SHARE MODE clause -public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table from a schema/database -public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a view -public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a view -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a column to a table -public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds an index to a table -public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drop an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a primary key to a table -public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table's primary key -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a foreign key to a table -public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a foreign key from a table -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the SQL column definition from a column -public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all tables on a database @@ -636,7 +636,7 @@ print_r( ``` -public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all views on a database @@ -649,7 +649,7 @@ print_r( ``` -public [Phalcon\Db\Index](/en/3.1.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public [Phalcon\Db\Index](/en/3.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Lists table indexes @@ -662,7 +662,7 @@ print_r( ``` -public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Lists table references @@ -675,7 +675,7 @@ print_r( ``` -public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets creation options from a table @@ -688,31 +688,31 @@ print_r( ``` -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Releases given savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Rollbacks given savepoint -public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Set if nested transactions should use savepoints -public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns if nested transactions should use savepoints -public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the savepoint name to use for nested transactions -public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default value to make the RBDM use the default value declared in the table definition @@ -734,22 +734,22 @@ $success = $connection->insert( ``` -public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Return descriptor used to connect to the active database -public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets the active connection unique identifier -public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object -public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object without replace bound parameters -public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object \ No newline at end of file diff --git a/cs/api/Phalcon_Db_Adapter_Pdo_Sqlite.md b/cs/api/Phalcon_Db_Adapter_Pdo_Sqlite.md index 1f92cfbfc6bd..a568c933ce4a 100644 --- a/cs/api/Phalcon_Db_Adapter_Pdo_Sqlite.md +++ b/cs/api/Phalcon_Db_Adapter_Pdo_Sqlite.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Adapter\\Pdo\\Sqlite** -*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) -*implements* [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -40,7 +40,7 @@ print_r( ``` -public [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface[]) **describeIndexes** (*string* $table, [*string* $schema]) +public [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface[]) **describeIndexes** (*string* $table, [*string* $schema]) Lists table indexes @@ -53,7 +53,7 @@ print_r( ``` -public [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface[]) **describeReferences** (*string* $table, [*string* $schema]) +public [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface[]) **describeReferences** (*string* $table, [*string* $schema]) Lists table references @@ -83,11 +83,11 @@ $success = $connection->insert( ``` -public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Constructor for Phalcon\\Db\\Adapter\\Pdo -public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns a PDO prepared statement to be executed with 'executePrepared' @@ -112,7 +112,7 @@ $result = $connection->executePrepared( ``` -public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Executes a prepared statement binding. This function uses integer indexes starting from zero @@ -137,7 +137,7 @@ $result = $connection->executePrepared( ``` -public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server is returning rows @@ -158,7 +158,7 @@ $resultset = $connection->query( ``` -public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server doesn't return any rows @@ -180,7 +180,7 @@ $success = $connection->execute( ``` -public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the number of affected rows by the latest INSERT/UPDATE/DELETE executed in the database system @@ -195,11 +195,11 @@ echo $connection->affectedRows(), " were deleted"; ``` -public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Closes the active connection returning success. Phalcon automatically closes and destroys active connections when the request ends -public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Escapes a value to avoid SQL injections according to the active charset in the connection @@ -210,7 +210,7 @@ $escapedStr = $connection->escapeString("some dangerous value"); ``` -public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Converts bound parameters such as :name: or ?1 into PDO bind params ? @@ -228,7 +228,7 @@ print_r( ``` -public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the insert id for the auto_increment/serial column inserted in the latest executed SQL statement @@ -253,23 +253,23 @@ $id = $connection->lastInsertId(); ``` -public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Starts a transaction in the connection -public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Rollbacks the active transaction in the connection -public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Commits the active transaction in the connection -public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the current transaction nesting level -public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Checks whether the connection is under a transaction @@ -285,43 +285,43 @@ var_dump( ``` -public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return internal PDO handler -public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return the error info, if any -public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Name of the dialect used -public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Type of database system the adapter is used for -public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL bound parameter variables -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the event manager -public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the internal event manager -public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the dialect used to produce the SQL -public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns internal dialect instance -public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the first row in a SQL query result @@ -338,7 +338,7 @@ print_r($robot); ``` -public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Dumps the complete result of a query into an array @@ -369,7 +369,7 @@ foreach($robots as $robot) { ``` -public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the n'th field of first row in a SQL query result @@ -389,7 +389,7 @@ print_r($robot); ``` -public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RDBMS SQL syntax @@ -408,7 +408,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RBDM SQL syntax @@ -429,7 +429,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax @@ -466,7 +466,7 @@ $success = $connection->update( Warning! If $whereCondition is string it not escaped. -public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax Another, more convenient syntax @@ -487,7 +487,7 @@ UPDATE `robots` SET `name` = "Astro boy" WHERE id = 101 ``` -public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Deletes data from a table using custom RBDM SQL syntax @@ -505,7 +505,7 @@ DELETE FROM `robots` WHERE `id` = 101 ``` -public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Escapes a column/table/schema name @@ -525,11 +525,11 @@ $escapedTable = $connection->escapeIdentifier( ``` -public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets a list of columns -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Appends a LIMIT clause to $sqlQuery argument @@ -540,7 +540,7 @@ echo $connection->limit("SELECT * FROM robots", 5); ``` -public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.table @@ -553,7 +553,7 @@ var_dump( ``` -public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.view @@ -566,71 +566,71 @@ var_dump( ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a FOR UPDATE clause -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a LOCK IN SHARE MODE clause -public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a table -public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table from a schema/database -public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a view -public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a view -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Modifies a table column based on a definition -public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds an index to a table -public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drop an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a primary key to a table -public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table's primary key -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a foreign key to a table -public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a foreign key from a table -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the SQL column definition from a column -public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all tables on a database @@ -643,7 +643,7 @@ print_r( ``` -public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all views on a database @@ -656,7 +656,7 @@ print_r( ``` -public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets creation options from a table @@ -669,31 +669,31 @@ print_r( ``` -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Releases given savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Rollbacks given savepoint -public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Set if nested transactions should use savepoints -public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns if nested transactions should use savepoints -public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the savepoint name to use for nested transactions -public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default identity value to be inserted in an identity column @@ -717,26 +717,26 @@ $success = $connection->insert( ``` -public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Check whether the database system requires a sequence to produce auto-numeric values -public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Return descriptor used to connect to the active database -public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets the active connection unique identifier -public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object -public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object without replace bound parameters -public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object \ No newline at end of file diff --git a/cs/api/Phalcon_Db_Column.md b/cs/api/Phalcon_Db_Column.md index ab2fdfb7a40e..fe0210a2b411 100644 --- a/cs/api/Phalcon_Db_Column.md +++ b/cs/api/Phalcon_Db_Column.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Db\\Column** -*implements* [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) +*implements* [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) Source on GitHub diff --git a/cs/api/Phalcon_Db_Dialect.md b/cs/api/Phalcon_Db_Dialect.md index 11c52ea58df4..df25f0af03ab 100644 --- a/cs/api/Phalcon_Db_Dialect.md +++ b/cs/api/Phalcon_Db_Dialect.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Db\\Dialect** -*implements* [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +*implements* [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) Source on GitHub @@ -199,86 +199,86 @@ protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $es Prepares qualified for this RDBMS -abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropTable** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropTable** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **describeIndexes** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **describeIndexes** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **tableOptions** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **tableOptions** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... \ No newline at end of file diff --git a/cs/api/Phalcon_Db_DialectInterface.md b/cs/api/Phalcon_Db_DialectInterface.md index 0bf993854d79..90ee58afb9e1 100644 --- a/cs/api/Phalcon_Db_DialectInterface.md +++ b/cs/api/Phalcon_Db_DialectInterface.md @@ -24,15 +24,15 @@ abstract public **getColumnList** (*array* $columnList) ... -abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) ... -abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) ... -abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) ... @@ -40,7 +40,7 @@ abstract public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* ... -abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) ... @@ -48,7 +48,7 @@ abstract public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* ... -abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) ... @@ -56,7 +56,7 @@ abstract public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) ... -abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) ... diff --git a/cs/api/Phalcon_Db_Dialect_Mysql.md b/cs/api/Phalcon_Db_Dialect_Mysql.md index 6178388fc739..d1a80102e14c 100644 --- a/cs/api/Phalcon_Db_Dialect_Mysql.md +++ b/cs/api/Phalcon_Db_Dialect_Mysql.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Dialect\\Mysql** -*extends* abstract class [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +*extends* abstract class [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) -*implements* [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +*implements* [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) Source on GitHub @@ -10,15 +10,15 @@ Generates database specific SQL for the MySQL RDBMS ## Methods -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Gets the column name in MySQL -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Generates SQL to add a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) Generates SQL to modify a column in a table @@ -26,7 +26,7 @@ public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnN Generates SQL to delete a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add an index to a table @@ -34,7 +34,7 @@ public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexNam Generates SQL to delete an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add the primary key to a table @@ -42,7 +42,7 @@ public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) Generates SQL to delete primary key from a table -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) Generates SQL to add an index to a table @@ -133,23 +133,23 @@ protected **_getTableOptions** (*array* $definition) Generates SQL to add the table creation options -public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Registers custom SQL functions -public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns registered functions -final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape Schema -final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape identifiers -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generates the SQL for LIMIT clause @@ -164,7 +164,7 @@ echo $sql; // SELECT * FROM robots LIMIT 10 OFFSET 50 ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a FOR UPDATE clause @@ -176,7 +176,7 @@ echo $sql; // SELECT * FROM robots FOR UPDATE ``` -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a LOCK IN SHARE MODE clause @@ -188,7 +188,7 @@ echo $sql; // SELECT * FROM robots LOCK IN SHARE MODE ``` -final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Gets a list of columns with escaped identifiers @@ -204,122 +204,122 @@ echo $dialect->getColumnList( ``` -final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transforms an intermediate representation for an expression into a database system valid expression -final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transform an intermediate representation of a schema/table into a database system valid expression -public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Builds a SELECT statement -public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports savepoints -public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports releasing savepoints. -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to create a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to release a savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to rollback a savepoint -final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve object expressions -final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve qualified expressions -final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve binary operations expressions -final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve unary operations expressions -final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve function calls -final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Lists -final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve * -final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CAST of values -final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CONVERT of values encodings -final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CASE expressions -final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a FROM clause -final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a JOINs clause -final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a WHERE clause -final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a GROUP BY clause -final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a HAVING clause -final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve an ORDER BY clause -final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a LIMIT clause -protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares column for this RDBMS -protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares table for this RDBMS -protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares qualified for this RDBMS \ No newline at end of file diff --git a/cs/api/Phalcon_Db_Dialect_Postgresql.md b/cs/api/Phalcon_Db_Dialect_Postgresql.md index 01fe5982984c..f10d03525235 100644 --- a/cs/api/Phalcon_Db_Dialect_Postgresql.md +++ b/cs/api/Phalcon_Db_Dialect_Postgresql.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Dialect\\Postgresql** -*extends* abstract class [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +*extends* abstract class [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) -*implements* [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +*implements* [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) Source on GitHub @@ -10,15 +10,15 @@ Generates database specific SQL for the PostgreSQL RDBMS ## Methods -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Gets the column name in PostgreSQL -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Generates SQL to add a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) Generates SQL to modify a column in a table @@ -26,7 +26,7 @@ public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnN Generates SQL to delete a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add an index to a table @@ -34,7 +34,7 @@ public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexNam Generates SQL to delete an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add the primary key to a table @@ -42,7 +42,7 @@ public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) Generates SQL to delete primary key from a table -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) Generates SQL to add an index to a table @@ -129,7 +129,7 @@ public **tableOptions** (*mixed* $table, [*mixed* $schema]) Generates the SQL to describe the table creation options -protected **_castDefault** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +protected **_castDefault** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) ... @@ -137,23 +137,23 @@ protected **_getTableOptions** (*array* $definition) ... -public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Registers custom SQL functions -public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns registered functions -final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape Schema -final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape identifiers -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generates the SQL for LIMIT clause @@ -168,7 +168,7 @@ echo $sql; // SELECT * FROM robots LIMIT 10 OFFSET 50 ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a FOR UPDATE clause @@ -180,7 +180,7 @@ echo $sql; // SELECT * FROM robots FOR UPDATE ``` -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a LOCK IN SHARE MODE clause @@ -192,7 +192,7 @@ echo $sql; // SELECT * FROM robots LOCK IN SHARE MODE ``` -final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Gets a list of columns with escaped identifiers @@ -208,122 +208,122 @@ echo $dialect->getColumnList( ``` -final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transforms an intermediate representation for an expression into a database system valid expression -final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transform an intermediate representation of a schema/table into a database system valid expression -public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Builds a SELECT statement -public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports savepoints -public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports releasing savepoints. -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to create a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to release a savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to rollback a savepoint -final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve object expressions -final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve qualified expressions -final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve binary operations expressions -final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve unary operations expressions -final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve function calls -final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Lists -final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve * -final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CAST of values -final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CONVERT of values encodings -final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CASE expressions -final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a FROM clause -final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a JOINs clause -final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a WHERE clause -final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a GROUP BY clause -final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a HAVING clause -final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve an ORDER BY clause -final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a LIMIT clause -protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares column for this RDBMS -protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares table for this RDBMS -protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares qualified for this RDBMS \ No newline at end of file diff --git a/cs/api/Phalcon_Db_Dialect_Sqlite.md b/cs/api/Phalcon_Db_Dialect_Sqlite.md index 7b38162151a0..dabec6d39e49 100644 --- a/cs/api/Phalcon_Db_Dialect_Sqlite.md +++ b/cs/api/Phalcon_Db_Dialect_Sqlite.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Dialect\\Sqlite** -*extends* abstract class [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +*extends* abstract class [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) -*implements* [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +*implements* [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) Source on GitHub @@ -10,15 +10,15 @@ Generates database specific SQL for the Sqlite RDBMS ## Methods -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Gets the column name in SQLite -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Generates SQL to add a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) Generates SQL to modify a column in a table @@ -26,7 +26,7 @@ public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnN Generates SQL to delete a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add an index to a table @@ -34,7 +34,7 @@ public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexNam Generates SQL to delete an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add the primary key to a table @@ -42,7 +42,7 @@ public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) Generates SQL to delete primary key from a table -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) Generates SQL to add an index to a table @@ -146,23 +146,23 @@ public **tableOptions** (*mixed* $table, [*mixed* $schema]) Generates the SQL to describe the table creation options -public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Registers custom SQL functions -public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns registered functions -final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape Schema -final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape identifiers -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generates the SQL for LIMIT clause @@ -177,7 +177,7 @@ echo $sql; // SELECT * FROM robots LIMIT 10 OFFSET 50 ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a FOR UPDATE clause @@ -189,7 +189,7 @@ echo $sql; // SELECT * FROM robots FOR UPDATE ``` -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a LOCK IN SHARE MODE clause @@ -201,7 +201,7 @@ echo $sql; // SELECT * FROM robots LOCK IN SHARE MODE ``` -final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Gets a list of columns with escaped identifiers @@ -217,122 +217,122 @@ echo $dialect->getColumnList( ``` -final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transforms an intermediate representation for an expression into a database system valid expression -final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transform an intermediate representation of a schema/table into a database system valid expression -public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Builds a SELECT statement -public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports savepoints -public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports releasing savepoints. -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to create a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to release a savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to rollback a savepoint -final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve object expressions -final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve qualified expressions -final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve binary operations expressions -final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve unary operations expressions -final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve function calls -final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Lists -final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve * -final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CAST of values -final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CONVERT of values encodings -final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CASE expressions -final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a FROM clause -final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a JOINs clause -final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a WHERE clause -final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a GROUP BY clause -final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a HAVING clause -final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve an ORDER BY clause -final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a LIMIT clause -protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares column for this RDBMS -protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares table for this RDBMS -protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares qualified for this RDBMS \ No newline at end of file diff --git a/cs/api/Phalcon_Db_Exception.md b/cs/api/Phalcon_Db_Exception.md index 839c2d00fbf8..00160179b065 100644 --- a/cs/api/Phalcon_Db_Exception.md +++ b/cs/api/Phalcon_Db_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Db\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/cs/api/Phalcon_Db_Index.md b/cs/api/Phalcon_Db_Index.md index 60a5b41f764f..9ca94ad0e146 100644 --- a/cs/api/Phalcon_Db_Index.md +++ b/cs/api/Phalcon_Db_Index.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Db\\Index** -*implements* [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) +*implements* [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) Source on GitHub diff --git a/cs/api/Phalcon_Db_Profiler.md b/cs/api/Phalcon_Db_Profiler.md index 05a913cb9c2c..1d6dde6d6e69 100644 --- a/cs/api/Phalcon_Db_Profiler.md +++ b/cs/api/Phalcon_Db_Profiler.md @@ -31,7 +31,7 @@ echo "Total Elapsed Time: ", $profile->getTotalElapsedSeconds(), "\n"; ## Methods -public [Phalcon\Db\Profiler](/en/3.1.2/api/Phalcon_Db_Profiler) **startProfile** (*string* $sqlStatement, [*mixed* $sqlVariables], [*mixed* $sqlBindTypes]) +public [Phalcon\Db\Profiler](/en/3.2/api/Phalcon_Db_Profiler) **startProfile** (*string* $sqlStatement, [*mixed* $sqlVariables], [*mixed* $sqlBindTypes]) Starts the profile of a SQL sentence diff --git a/cs/api/Phalcon_Db_Reference.md b/cs/api/Phalcon_Db_Reference.md index 30ac1a686521..2e83e14de226 100644 --- a/cs/api/Phalcon_Db_Reference.md +++ b/cs/api/Phalcon_Db_Reference.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Db\\Reference** -*implements* [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) +*implements* [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) Source on GitHub diff --git a/cs/api/Phalcon_Db_Result_Pdo.md b/cs/api/Phalcon_Db_Result_Pdo.md index 2e053d67ae6f..91808dece71f 100644 --- a/cs/api/Phalcon_Db_Result_Pdo.md +++ b/cs/api/Phalcon_Db_Result_Pdo.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Db\\Result\\Pdo** -*implements* [Phalcon\Db\ResultInterface](/en/3.1.2/api/Phalcon_Db_ResultInterface) +*implements* [Phalcon\Db\ResultInterface](/en/3.2/api/Phalcon_Db_ResultInterface) Source on GitHub @@ -23,7 +23,7 @@ while ($robot = $result->fetchArray()) { ## Methods -public **__construct** ([Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) $connection, [PDOStatement](http://php.net/manual/en/class.pdostatement.php) $result, [*string* $sqlStatement], [*array* $bindParams], [*array* $bindTypes]) +public **__construct** ([Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) $connection, [PDOStatement](http://php.net/manual/en/class.pdostatement.php) $result, [*string* $sqlStatement], [*array* $bindParams], [*array* $bindTypes]) Phalcon\\Db\\Result\\Pdo constructor diff --git a/de/api/Phalcon_Acl_Adapter.md b/de/api/Phalcon_Acl_Adapter.md index 9f86a2a2a142..1696a50b6e15 100644 --- a/de/api/Phalcon_Acl_Adapter.md +++ b/de/api/Phalcon_Acl_Adapter.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Acl\\Adapter** -*implements* [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -20,7 +20,7 @@ public **getActiveAccess** () Active access which the list is checking if some role can access it -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) Sets the events manager @@ -36,58 +36,58 @@ public **getDefaultAction** () Returns the default ACL access level -abstract public **setNoArgumentsDefaultAction** (*mixed* $defaultAccess) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **setNoArgumentsDefaultAction** (*mixed* $defaultAccess) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **getNoArgumentsDefaultAction** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **getNoArgumentsDefaultAction** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **addRole** (*mixed* $role, [*mixed* $accessInherits]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **addRole** (*mixed* $role, [*mixed* $accessInherits]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **addInherit** (*mixed* $roleName, *mixed* $roleToInherit) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **addInherit** (*mixed* $roleName, *mixed* $roleToInherit) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **isRole** (*mixed* $roleName) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **isRole** (*mixed* $roleName) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **isResource** (*mixed* $resourceName) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **isResource** (*mixed* $resourceName) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **addResource** (*mixed* $resourceObject, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **addResource** (*mixed* $resourceObject, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **addResourceAccess** (*mixed* $resourceName, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **addResourceAccess** (*mixed* $resourceName, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **dropResourceAccess** (*mixed* $resourceName, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **dropResourceAccess** (*mixed* $resourceName, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **allow** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*mixed* $func]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **allow** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*mixed* $func]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **deny** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*mixed* $func]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **deny** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*mixed* $func]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **isAllowed** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*array* $parameters]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **isAllowed** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*array* $parameters]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **getRoles** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **getRoles** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **getResources** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **getResources** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... \ No newline at end of file diff --git a/de/api/Phalcon_Acl_Adapter_Memory.md b/de/api/Phalcon_Acl_Adapter_Memory.md index e9ea95ccda45..889751c95b98 100644 --- a/de/api/Phalcon_Acl_Adapter_Memory.md +++ b/de/api/Phalcon_Acl_Adapter_Memory.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Acl\\Adapter\\Memory** -*extends* abstract class [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +*extends* abstract class [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) -*implements* [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +*implements* [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) Source on GitHub @@ -105,7 +105,7 @@ public **isResource** (*mixed* $resourceName) Check whether resource exist in the resources list -public **addResource** ([Phalcon\Acl\Resource](/en/3.1.2/api/Phalcon_Acl_Resource) | *string* $resourceValue, *array* | *string* $accessList) +public **addResource** ([Phalcon\Acl\Resource](/en/3.2/api/Phalcon_Acl_Resource) | *string* $resourceValue, *array* | *string* $accessList) Adds a resource to the ACL list Access names can be a particular action, by example search, update, delete, etc or a list of them Example: @@ -224,30 +224,30 @@ public **getResources** () Return an array with every resource registered in the list -public **getActiveRole** () inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **getActiveRole** () inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Role which the list is checking if it's allowed to certain resource/access -public **getActiveResource** () inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **getActiveResource** () inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Resource which the list is checking if some role can access it -public **getActiveAccess** () inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **getActiveAccess** () inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Active access which the list is checking if some role can access it -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Sets the events manager -public **getEventsManager** () inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **getEventsManager** () inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Returns the internal event manager -public **setDefaultAction** (*mixed* $defaultAccess) inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **setDefaultAction** (*mixed* $defaultAccess) inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Sets the default access level (Phalcon\\Acl::ALLOW or Phalcon\\Acl::DENY) -public **getDefaultAction** () inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **getDefaultAction** () inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Returns the default ACL access level \ No newline at end of file diff --git a/de/api/Phalcon_Acl_Exception.md b/de/api/Phalcon_Acl_Exception.md index 153094579c30..9c1b44ab7b5d 100644 --- a/de/api/Phalcon_Acl_Exception.md +++ b/de/api/Phalcon_Acl_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Acl\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/de/api/Phalcon_Acl_Resource.md b/de/api/Phalcon_Acl_Resource.md index 1663e1ad2e93..25ac2d3e792b 100644 --- a/de/api/Phalcon_Acl_Resource.md +++ b/de/api/Phalcon_Acl_Resource.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Acl\\Resource** -*implements* [Phalcon\Acl\ResourceInterface](/en/3.1.2/api/Phalcon_Acl_ResourceInterface) +*implements* [Phalcon\Acl\ResourceInterface](/en/3.2/api/Phalcon_Acl_ResourceInterface) Source on GitHub diff --git a/de/api/Phalcon_Acl_Role.md b/de/api/Phalcon_Acl_Role.md index e105183dd7f4..c8252648d6c8 100644 --- a/de/api/Phalcon_Acl_Role.md +++ b/de/api/Phalcon_Acl_Role.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Acl\\Role** -*implements* [Phalcon\Acl\RoleInterface](/en/3.1.2/api/Phalcon_Acl_RoleInterface) +*implements* [Phalcon\Acl\RoleInterface](/en/3.2/api/Phalcon_Acl_RoleInterface) Source on GitHub diff --git a/de/api/Phalcon_Annotations_Adapter.md b/de/api/Phalcon_Annotations_Adapter.md index 7a2b31fc4dc1..d42ac348bbc9 100644 --- a/de/api/Phalcon_Annotations_Adapter.md +++ b/de/api/Phalcon_Annotations_Adapter.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Annotations\\Adapter** -*implements* [Phalcon\Annotations\AdapterInterface](/en/3.1.2/api/Phalcon_Annotations_AdapterInterface) +*implements* [Phalcon\Annotations\AdapterInterface](/en/3.2/api/Phalcon_Annotations_AdapterInterface) Source on GitHub @@ -8,7 +8,7 @@ This is the base class for Phalcon\\Annotations adapters ## Methods -public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) +public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) Sets the annotations parser diff --git a/de/api/Phalcon_Annotations_AdapterInterface.md b/de/api/Phalcon_Annotations_AdapterInterface.md index a4e2c689503a..a1ff65cb01a1 100644 --- a/de/api/Phalcon_Annotations_AdapterInterface.md +++ b/de/api/Phalcon_Annotations_AdapterInterface.md @@ -4,7 +4,7 @@ ## Methods -abstract public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) +abstract public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) ... diff --git a/de/api/Phalcon_Annotations_Adapter_Apc.md b/de/api/Phalcon_Annotations_Adapter_Apc.md index 1b8a1d6d0d7d..467622a88425 100644 --- a/de/api/Phalcon_Annotations_Adapter_Apc.md +++ b/de/api/Phalcon_Annotations_Adapter_Apc.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Annotations\\Adapter\\Apc** -*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) -*implements* [Phalcon\Annotations\AdapterInterface](/en/3.1.2/api/Phalcon_Annotations_AdapterInterface) +*implements* [Phalcon\Annotations\AdapterInterface](/en/3.2/api/Phalcon_Annotations_AdapterInterface) Source on GitHub @@ -27,34 +27,34 @@ public **read** (*mixed* $key) Reads parsed annotations from APC -public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) $data) +public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) $data) Writes parsed annotations to APC -public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Sets the annotations parser -public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotation reader -public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Parses or retrieves all the annotations found in a class -public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific method -public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific property \ No newline at end of file diff --git a/de/api/Phalcon_Annotations_Adapter_Files.md b/de/api/Phalcon_Annotations_Adapter_Files.md index fcb4c23e6c2e..e4c407e5954e 100644 --- a/de/api/Phalcon_Annotations_Adapter_Files.md +++ b/de/api/Phalcon_Annotations_Adapter_Files.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Annotations\\Adapter\\Files** -*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) -*implements* [Phalcon\Annotations\AdapterInterface](/en/3.1.2/api/Phalcon_Annotations_AdapterInterface) +*implements* [Phalcon\Annotations\AdapterInterface](/en/3.2/api/Phalcon_Annotations_AdapterInterface) Source on GitHub @@ -27,38 +27,38 @@ public **__construct** ([*array* $options]) Phalcon\\Annotations\\Adapter\\Files constructor -public [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) **read** (*string* $key) +public [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) **read** (*string* $key) Reads parsed annotations from files -public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) $data) +public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) $data) Writes parsed annotations to files -public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Sets the annotations parser -public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotation reader -public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Parses or retrieves all the annotations found in a class -public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific method -public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific property \ No newline at end of file diff --git a/de/api/Phalcon_Annotations_Adapter_Memory.md b/de/api/Phalcon_Annotations_Adapter_Memory.md index 53fc2e3769c7..205f20e6b1b8 100644 --- a/de/api/Phalcon_Annotations_Adapter_Memory.md +++ b/de/api/Phalcon_Annotations_Adapter_Memory.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Annotations\\Adapter\\Memory** -*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) -*implements* [Phalcon\Annotations\AdapterInterface](/en/3.1.2/api/Phalcon_Annotations_AdapterInterface) +*implements* [Phalcon\Annotations\AdapterInterface](/en/3.2/api/Phalcon_Annotations_AdapterInterface) Source on GitHub @@ -14,34 +14,34 @@ public **read** (*mixed* $key) Reads parsed annotations from memory -public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) $data) +public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) $data) Writes parsed annotations to memory -public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Sets the annotations parser -public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotation reader -public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Parses or retrieves all the annotations found in a class -public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific method -public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific property \ No newline at end of file diff --git a/de/api/Phalcon_Annotations_Adapter_Xcache.md b/de/api/Phalcon_Annotations_Adapter_Xcache.md index 79bfa9e6b4d3..37c97e7e6b8c 100644 --- a/de/api/Phalcon_Annotations_Adapter_Xcache.md +++ b/de/api/Phalcon_Annotations_Adapter_Xcache.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Annotations\\Adapter\\Xcache** -*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) -*implements* [Phalcon\Annotations\AdapterInterface](/en/3.1.2/api/Phalcon_Annotations_AdapterInterface) +*implements* [Phalcon\Annotations\AdapterInterface](/en/3.2/api/Phalcon_Annotations_AdapterInterface) Source on GitHub @@ -17,38 +17,38 @@ $annotations = new \Phalcon\Annotations\Adapter\Xcache(); ## Methods -public [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) **read** (*string* $key) +public [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) **read** (*string* $key) Reads parsed annotations from XCache -public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) $data) +public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) $data) Writes parsed annotations to XCache -public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Sets the annotations parser -public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotation reader -public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Parses or retrieves all the annotations found in a class -public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific method -public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific property \ No newline at end of file diff --git a/de/api/Phalcon_Annotations_Collection.md b/de/api/Phalcon_Annotations_Collection.md index 8176520b43ea..ba33511a50fe 100644 --- a/de/api/Phalcon_Annotations_Collection.md +++ b/de/api/Phalcon_Annotations_Collection.md @@ -36,7 +36,7 @@ public **rewind** () Rewinds the internal iterator -public [Phalcon\Annotations\Annotation](/en/3.1.2/api/Phalcon_Annotations_Annotation) **current** () +public [Phalcon\Annotations\Annotation](/en/3.2/api/Phalcon_Annotations_Annotation) **current** () Returns the current annotation in the iterator diff --git a/de/api/Phalcon_Annotations_Reader.md b/de/api/Phalcon_Annotations_Reader.md index 56ca9b058cd1..4e8e513ffea9 100644 --- a/de/api/Phalcon_Annotations_Reader.md +++ b/de/api/Phalcon_Annotations_Reader.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Annotations\\Reader** -*implements* [Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) +*implements* [Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) Source on GitHub diff --git a/de/api/Phalcon_Application.md b/de/api/Phalcon_Application.md index e7e767824af2..5ff2b07edaf4 100644 --- a/de/api/Phalcon_Application.md +++ b/de/api/Phalcon_Application.md @@ -1,8 +1,8 @@ # Abstract class **Phalcon\\Application** -*extends* abstract class [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +*extends* abstract class [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) -*implements* [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface) +*implements* [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface) Source on GitHub @@ -10,9 +10,9 @@ Base class for Phalcon\\Cli\\Console and Phalcon\\Mvc\\Application. ## Methods -public **__construct** ([[Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector]) +public **__construct** ([[Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector]) -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) Sets the events manager @@ -62,14 +62,14 @@ abstract public **handle** () Handles a request -public **setDI** ([Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **setDI** ([Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Sets the dependency injector -public **getDI** () inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **getDI** () inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Returns the internal dependency injector -public **__get** (*mixed* $propertyName) inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **__get** (*mixed* $propertyName) inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Magic method __get \ No newline at end of file diff --git a/de/api/Phalcon_Application_Exception.md b/de/api/Phalcon_Application_Exception.md index ade9f4d1b49e..49637aa88e5e 100644 --- a/de/api/Phalcon_Application_Exception.md +++ b/de/api/Phalcon_Application_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Application\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/de/api/Phalcon_Assets_Collection.md b/de/api/Phalcon_Assets_Collection.md index 9c3e06cdb077..f6f18d5a1d60 100644 --- a/de/api/Phalcon_Assets_Collection.md +++ b/de/api/Phalcon_Assets_Collection.md @@ -56,14 +56,35 @@ public **getSourcePath** () ... -public **add** ([Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) $resource) +public **__construct** () + +Phalcon\\Assets\\Collection constructor + +public **add** ([Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) $resource) Adds a resource to the collection -public **addInline** ([Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) $code) +public **addInline** ([Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) $code) Adds an inline code to the collection +public **has** ([Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) $resource) + +Checks this the resource is added to the collection. + +```php +has($resource); // true + +``` + public **addCss** (*mixed* $path, [*mixed* $local], [*mixed* $filter], [*mixed* $attributes]) Adds a CSS resource to the collection @@ -72,7 +93,7 @@ public **addInlineCss** (*mixed* $content, [*mixed* $filter], [*mixed* $attribut Adds an inline CSS to the collection -public [Phalcon\Assets\Collection](/en/3.1.2/api/Phalcon_Assets_Collection) **addJs** (*string* $path, [*boolean* $local], [*boolean* $filter], [*array* $attributes]) +public [Phalcon\Assets\Collection](/en/3.2/api/Phalcon_Assets_Collection) **addJs** (*string* $path, [*boolean* $local], [*boolean* $filter], [*array* $attributes]) Adds a javascript resource to the collection @@ -144,6 +165,10 @@ public **getRealTargetPath** (*mixed* $basePath) Returns the complete location where the joined/filtered collection must be written -public **addFilter** ([Phalcon\Assets\FilterInterface](/en/3.1.2/api/Phalcon_Assets_FilterInterface) $filter) +public **addFilter** ([Phalcon\Assets\FilterInterface](/en/3.2/api/Phalcon_Assets_FilterInterface) $filter) + +Adds a filter to the collection + +final protected **addResource** ([Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) $resource) -Adds a filter to the collection \ No newline at end of file +Adds a resource or inline-code to the collection \ No newline at end of file diff --git a/de/api/Phalcon_Assets_Exception.md b/de/api/Phalcon_Assets_Exception.md index bf3c9a57c01a..4c8c0516fd94 100644 --- a/de/api/Phalcon_Assets_Exception.md +++ b/de/api/Phalcon_Assets_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Assets\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/de/api/Phalcon_Assets_Filters_Cssmin.md b/de/api/Phalcon_Assets_Filters_Cssmin.md index 75e2781f79a0..a807a59e4880 100644 --- a/de/api/Phalcon_Assets_Filters_Cssmin.md +++ b/de/api/Phalcon_Assets_Filters_Cssmin.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Assets\\Filters\\Cssmin** -*implements* [Phalcon\Assets\FilterInterface](/en/3.1.2/api/Phalcon_Assets_FilterInterface) +*implements* [Phalcon\Assets\FilterInterface](/en/3.2/api/Phalcon_Assets_FilterInterface) Source on GitHub diff --git a/de/api/Phalcon_Assets_Filters_Jsmin.md b/de/api/Phalcon_Assets_Filters_Jsmin.md index 2ee9aa7f5390..2bfe2b4851a4 100644 --- a/de/api/Phalcon_Assets_Filters_Jsmin.md +++ b/de/api/Phalcon_Assets_Filters_Jsmin.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Assets\\Filters\\Jsmin** -*implements* [Phalcon\Assets\FilterInterface](/en/3.1.2/api/Phalcon_Assets_FilterInterface) +*implements* [Phalcon\Assets\FilterInterface](/en/3.2/api/Phalcon_Assets_FilterInterface) Source on GitHub diff --git a/de/api/Phalcon_Assets_Filters_None.md b/de/api/Phalcon_Assets_Filters_None.md index 93c79dd941f6..60e59aac09de 100644 --- a/de/api/Phalcon_Assets_Filters_None.md +++ b/de/api/Phalcon_Assets_Filters_None.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Assets\\Filters\\None** -*implements* [Phalcon\Assets\FilterInterface](/en/3.1.2/api/Phalcon_Assets_FilterInterface) +*implements* [Phalcon\Assets\FilterInterface](/en/3.2/api/Phalcon_Assets_FilterInterface) Source on GitHub diff --git a/de/api/Phalcon_Assets_Inline.md b/de/api/Phalcon_Assets_Inline.md index 05a1f622aa48..e5c3ef631536 100644 --- a/de/api/Phalcon_Assets_Inline.md +++ b/de/api/Phalcon_Assets_Inline.md @@ -1,5 +1,7 @@ # Class **Phalcon\\Assets\\Inline** +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) + Source on GitHub Represents an inline asset @@ -43,4 +45,8 @@ Sets if the resource must be filtered or not public **setAttributes** (*array* $attributes) -Sets extra HTML attributes \ No newline at end of file +Sets extra HTML attributes + +public **getResourceKey** () + +Gets the resource's key. \ No newline at end of file diff --git a/de/api/Phalcon_Assets_Inline_Css.md b/de/api/Phalcon_Assets_Inline_Css.md index c4d7a9d0e919..aad74b78beca 100644 --- a/de/api/Phalcon_Assets_Inline_Css.md +++ b/de/api/Phalcon_Assets_Inline_Css.md @@ -1,6 +1,8 @@ # Class **Phalcon\\Assets\\Inline\\Css** -*extends* class [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +*extends* class [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) + +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) Source on GitHub @@ -10,30 +12,34 @@ Represents an inlined CSS public **__construct** (*string* $content, [*boolean* $filter], [*array* $attributes]) -public **getType** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getType** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getContent** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getContent** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getFilter** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getFilter** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getAttributes** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getAttributes** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) Sets the inline's type -public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) Sets if the resource must be filtered or not -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) + +Sets extra HTML attributes + +public **getResourceKey** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) -Sets extra HTML attributes \ No newline at end of file +Gets the resource's key. \ No newline at end of file diff --git a/de/api/Phalcon_Assets_Inline_Js.md b/de/api/Phalcon_Assets_Inline_Js.md index 27d57246d817..1cce336b4116 100644 --- a/de/api/Phalcon_Assets_Inline_Js.md +++ b/de/api/Phalcon_Assets_Inline_Js.md @@ -1,6 +1,8 @@ # Class **Phalcon\\Assets\\Inline\\Js** -*extends* class [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +*extends* class [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) + +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) Source on GitHub @@ -10,30 +12,34 @@ Represents an inline Javascript public **__construct** (*string* $content, [*boolean* $filter], [*array* $attributes]) -public **getType** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getType** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getContent** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getContent** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getFilter** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getFilter** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getAttributes** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getAttributes** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) Sets the inline's type -public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) Sets if the resource must be filtered or not -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) + +Sets extra HTML attributes + +public **getResourceKey** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) -Sets extra HTML attributes \ No newline at end of file +Gets the resource's key. \ No newline at end of file diff --git a/de/api/Phalcon_Assets_Manager.md b/de/api/Phalcon_Assets_Manager.md index 55ab07f19201..13ecabf4ff9c 100644 --- a/de/api/Phalcon_Assets_Manager.md +++ b/de/api/Phalcon_Assets_Manager.md @@ -52,7 +52,7 @@ public **addInlineJs** (*mixed* $content, [*mixed* $filter], [*mixed* $attribute Adds an inline javascript to the 'js' collection -public **addResourceByType** (*mixed* $type, [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) $resource) +public **addResourceByType** (*mixed* $type, [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) $resource) Adds a resource by its type @@ -65,11 +65,11 @@ $assets->addResourceByType("css", ``` -public **addInlineCodeByType** (*mixed* $type, [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) $code) +public **addInlineCodeByType** (*mixed* $type, [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) $code) Adds an inline code by its type -public **addResource** ([Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) $resource) +public **addResource** ([Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) $resource) Adds a raw resource to the manager @@ -82,11 +82,11 @@ $assets->addResource( ``` -public **addInlineCode** ([Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) $code) +public **addInlineCode** ([Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) $code) Adds a raw inline code to the manager -public **set** (*mixed* $id, [Phalcon\Assets\Collection](/en/3.1.2/api/Phalcon_Assets_Collection) $collection) +public **set** (*mixed* $id, [Phalcon\Assets\Collection](/en/3.2/api/Phalcon_Assets_Collection) $collection) Sets a collection in the Assets Manager @@ -99,7 +99,7 @@ $assets->set("js", $collection); public **get** (*mixed* $id) -Returns a collection by its id +Returns a collection by its id. ```php exists("jsHeader")) { + // \Phalcon\Assets\Collection + $collection = $assets->get("jsHeader"); +} + +``` \ No newline at end of file diff --git a/de/api/Phalcon_Assets_Resource.md b/de/api/Phalcon_Assets_Resource.md index 9718061c348e..d67dc71b7929 100644 --- a/de/api/Phalcon_Assets_Resource.md +++ b/de/api/Phalcon_Assets_Resource.md @@ -1,5 +1,7 @@ # Class **Phalcon\\Assets\\Resource** +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) + Source on GitHub Represents an asset resource @@ -85,4 +87,8 @@ Returns the complete location where the resource is located public **getRealTargetPath** ([*mixed* $basePath]) -Returns the complete location where the resource must be written \ No newline at end of file +Returns the complete location where the resource must be written + +public **getResourceKey** () + +Gets the resource's key. \ No newline at end of file diff --git a/de/api/Phalcon_Assets_Resource_Css.md b/de/api/Phalcon_Assets_Resource_Css.md index 9376a4de5f6d..11c938e391ca 100644 --- a/de/api/Phalcon_Assets_Resource_Css.md +++ b/de/api/Phalcon_Assets_Resource_Css.md @@ -1,6 +1,8 @@ # Class **Phalcon\\Assets\\Resource\\Css** -*extends* class [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +*extends* class [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) + +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) Source on GitHub @@ -10,72 +12,76 @@ Represents CSS resources public **__construct** (*string* $path, [*boolean* $local], [*boolean* $filter], [*array* $attributes]) -public **getType** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getType** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getPath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getPath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getLocal** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getLocal** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getFilter** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getFilter** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getAttributes** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getAttributes** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getSourcePath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getSourcePath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **getTargetPath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getTargetPath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **getTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's type -public **setPath** (*mixed* $path) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setPath** (*mixed* $path) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's path -public **setLocal** (*mixed* $local) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setLocal** (*mixed* $local) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets if the resource is local or external -public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets if the resource must be filtered or not -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets extra HTML attributes -public **setTargetUri** (*mixed* $targetUri) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setTargetUri** (*mixed* $targetUri) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets a target uri for the generated HTML -public **setSourcePath** (*mixed* $sourcePath) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setSourcePath** (*mixed* $sourcePath) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's source path -public **setTargetPath** (*mixed* $targetPath) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setTargetPath** (*mixed* $targetPath) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's target path -public **getContent** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getContent** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the content of the resource as an string Optionally a base path where the resource is located can be set -public **getRealTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the real target uri for the generated HTML -public **getRealSourcePath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealSourcePath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the complete location where the resource is located -public **getRealTargetPath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealTargetPath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) + +Returns the complete location where the resource must be written + +public **getResourceKey** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -Returns the complete location where the resource must be written \ No newline at end of file +Gets the resource's key. \ No newline at end of file diff --git a/de/api/Phalcon_Assets_Resource_Js.md b/de/api/Phalcon_Assets_Resource_Js.md index a4c132ff1ed1..2acc4d239b9d 100644 --- a/de/api/Phalcon_Assets_Resource_Js.md +++ b/de/api/Phalcon_Assets_Resource_Js.md @@ -1,6 +1,8 @@ # Class **Phalcon\\Assets\\Resource\\Js** -*extends* class [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +*extends* class [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) + +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) Source on GitHub @@ -10,72 +12,76 @@ Represents Javascript resources public **__construct** (*string* $path, [*boolean* $local], [*boolean* $filter], [*array* $attributes]) -public **getType** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getType** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getPath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getPath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getLocal** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getLocal** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getFilter** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getFilter** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getAttributes** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getAttributes** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getSourcePath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getSourcePath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **getTargetPath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getTargetPath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **getTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's type -public **setPath** (*mixed* $path) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setPath** (*mixed* $path) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's path -public **setLocal** (*mixed* $local) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setLocal** (*mixed* $local) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets if the resource is local or external -public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets if the resource must be filtered or not -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets extra HTML attributes -public **setTargetUri** (*mixed* $targetUri) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setTargetUri** (*mixed* $targetUri) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets a target uri for the generated HTML -public **setSourcePath** (*mixed* $sourcePath) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setSourcePath** (*mixed* $sourcePath) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's source path -public **setTargetPath** (*mixed* $targetPath) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setTargetPath** (*mixed* $targetPath) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's target path -public **getContent** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getContent** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the content of the resource as an string Optionally a base path where the resource is located can be set -public **getRealTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the real target uri for the generated HTML -public **getRealSourcePath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealSourcePath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the complete location where the resource is located -public **getRealTargetPath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealTargetPath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) + +Returns the complete location where the resource must be written + +public **getResourceKey** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -Returns the complete location where the resource must be written \ No newline at end of file +Gets the resource's key. \ No newline at end of file diff --git a/de/api/Phalcon_Cache_Backend.md b/de/api/Phalcon_Cache_Backend.md index f81ba2e57820..6e8b2e14bbff 100644 --- a/de/api/Phalcon_Cache_Backend.md +++ b/de/api/Phalcon_Cache_Backend.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Cache\\Backend** -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -32,7 +32,7 @@ public **setLastKey** (*mixed* $lastKey) ... -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend constructor @@ -56,22 +56,22 @@ public *int* **getLifetime** () Gets the last lifetime set -abstract public **get** (*mixed* $keyName, [*mixed* $lifetime]) inherited from [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +abstract public **get** (*mixed* $keyName, [*mixed* $lifetime]) inherited from [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) ... -abstract public **save** ([*mixed* $keyName], [*mixed* $content], [*mixed* $lifetime], [*mixed* $stopBuffer]) inherited from [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +abstract public **save** ([*mixed* $keyName], [*mixed* $content], [*mixed* $lifetime], [*mixed* $stopBuffer]) inherited from [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) ... -abstract public **delete** (*mixed* $keyName) inherited from [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +abstract public **delete** (*mixed* $keyName) inherited from [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) ... -abstract public **queryKeys** ([*mixed* $prefix]) inherited from [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +abstract public **queryKeys** ([*mixed* $prefix]) inherited from [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) ... -abstract public **exists** ([*mixed* $keyName], [*mixed* $lifetime]) inherited from [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +abstract public **exists** ([*mixed* $keyName], [*mixed* $lifetime]) inherited from [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) ... \ No newline at end of file diff --git a/de/api/Phalcon_Cache_Backend_Apc.md b/de/api/Phalcon_Cache_Backend_Apc.md index 6f08c1fef4b7..92b01c89d25a 100644 --- a/de/api/Phalcon_Cache_Backend_Apc.md +++ b/de/api/Phalcon_Cache_Backend_Apc.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Apc** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -94,50 +94,50 @@ $cache->flush(); ``` -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Phalcon\\Cache\\Backend constructor -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/de/api/Phalcon_Cache_Backend_File.md b/de/api/Phalcon_Cache_Backend_File.md index 78c3aff0e84c..3ea73b705889 100644 --- a/de/api/Phalcon_Cache_Backend_File.md +++ b/de/api/Phalcon_Cache_Backend_File.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\File** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -44,7 +44,7 @@ if ($content === null) { ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, *array* $options) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, *array* $options) Phalcon\\Cache\\Backend\\File constructor @@ -98,46 +98,46 @@ public **useSafeKey** (*mixed* $useSafeKey) Set whether to use the safekey or not -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/de/api/Phalcon_Cache_Backend_Libmemcached.md b/de/api/Phalcon_Cache_Backend_Libmemcached.md index 88948897b300..9ec4b031d82e 100644 --- a/de/api/Phalcon_Cache_Backend_Libmemcached.md +++ b/de/api/Phalcon_Cache_Backend_Libmemcached.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Libmemcached** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -49,7 +49,7 @@ $data = $cache->get("my-data"); ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend\\Memcache constructor @@ -116,46 +116,46 @@ $cache->flush(); ``` -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/de/api/Phalcon_Cache_Backend_Memcache.md b/de/api/Phalcon_Cache_Backend_Memcache.md index 7310592149b1..6f2575ca5c8d 100644 --- a/de/api/Phalcon_Cache_Backend_Memcache.md +++ b/de/api/Phalcon_Cache_Backend_Memcache.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Memcache** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -43,7 +43,7 @@ $data = $cache->get("my-data"); ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend\\Memcache constructor @@ -97,46 +97,46 @@ public **flush** () Immediately invalidates all existing items. -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/de/api/Phalcon_Cache_Backend_Memory.md b/de/api/Phalcon_Cache_Backend_Memory.md index 06a4216cf7ac..a269432ab9f3 100644 --- a/de/api/Phalcon_Cache_Backend_Memory.md +++ b/de/api/Phalcon_Cache_Backend_Memory.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Memory** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface), [Serializable](http://php.net/manual/en/class.serializable.php) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface), [Serializable](http://php.net/manual/en/class.serializable.php) Source on GitHub @@ -79,50 +79,50 @@ public **unserialize** (*mixed* $data) Required for interface \\Serializable -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Phalcon\\Cache\\Backend constructor -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/de/api/Phalcon_Cache_Backend_Mongo.md b/de/api/Phalcon_Cache_Backend_Mongo.md index 9ad0f67b530c..6421cd0f4f29 100644 --- a/de/api/Phalcon_Cache_Backend_Mongo.md +++ b/de/api/Phalcon_Cache_Backend_Mongo.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Mongo** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -44,7 +44,7 @@ $data = $cache->get("my-data"); ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend\\Mongo constructor @@ -98,46 +98,46 @@ public **flush** () Immediately invalidates all existing items. -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/de/api/Phalcon_Cache_Backend_Redis.md b/de/api/Phalcon_Cache_Backend_Redis.md index 123bf025f2af..a3509251d509 100644 --- a/de/api/Phalcon_Cache_Backend_Redis.md +++ b/de/api/Phalcon_Cache_Backend_Redis.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Redis** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -45,7 +45,7 @@ $data = $cache->get("my-data"); ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend\\Redis constructor @@ -105,46 +105,46 @@ public **flush** () Immediately invalidates all existing items. -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/de/api/Phalcon_Cache_Backend_Xcache.md b/de/api/Phalcon_Cache_Backend_Xcache.md index b91e75b19c79..7dac8215d5f3 100644 --- a/de/api/Phalcon_Cache_Backend_Xcache.md +++ b/de/api/Phalcon_Cache_Backend_Xcache.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Xcache** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -38,7 +38,7 @@ $data = $cache->get("my-data"); ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend\\Xcache constructor @@ -84,46 +84,46 @@ public **flush** () Immediately invalidates all existing items. -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/de/api/Phalcon_Cache_Exception.md b/de/api/Phalcon_Cache_Exception.md index cbb05a3a76e4..87f2372e7864 100644 --- a/de/api/Phalcon_Cache_Exception.md +++ b/de/api/Phalcon_Cache_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/de/api/Phalcon_Cache_Frontend_Base64.md b/de/api/Phalcon_Cache_Frontend_Base64.md index 92f36996b4b7..473895a88aa8 100644 --- a/de/api/Phalcon_Cache_Frontend_Base64.md +++ b/de/api/Phalcon_Cache_Frontend_Base64.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Frontend\\Base64** -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/de/api/Phalcon_Cache_Frontend_Data.md b/de/api/Phalcon_Cache_Frontend_Data.md index f46469ab7410..1f249be7103c 100644 --- a/de/api/Phalcon_Cache_Frontend_Data.md +++ b/de/api/Phalcon_Cache_Frontend_Data.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Frontend\\Data** -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/de/api/Phalcon_Cache_Frontend_Igbinary.md b/de/api/Phalcon_Cache_Frontend_Igbinary.md index 1460a42ce867..714a96bb4de1 100644 --- a/de/api/Phalcon_Cache_Frontend_Igbinary.md +++ b/de/api/Phalcon_Cache_Frontend_Igbinary.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Frontend\\Igbinary** -*extends* class [Phalcon\Cache\Frontend\Data](/en/3.1.2/api/Phalcon_Cache_Frontend_Data) +*extends* class [Phalcon\Cache\Frontend\Data](/en/3.2/api/Phalcon_Cache_Frontend_Data) -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/de/api/Phalcon_Cache_Frontend_Json.md b/de/api/Phalcon_Cache_Frontend_Json.md index 64a296ca976f..bfe39cdc53c4 100644 --- a/de/api/Phalcon_Cache_Frontend_Json.md +++ b/de/api/Phalcon_Cache_Frontend_Json.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Frontend\\Json** -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/de/api/Phalcon_Cache_Frontend_Msgpack.md b/de/api/Phalcon_Cache_Frontend_Msgpack.md index f77a99a21168..857b40d4bbdc 100644 --- a/de/api/Phalcon_Cache_Frontend_Msgpack.md +++ b/de/api/Phalcon_Cache_Frontend_Msgpack.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Frontend\\Msgpack** -*extends* class [Phalcon\Cache\Frontend\Data](/en/3.1.2/api/Phalcon_Cache_Frontend_Data) +*extends* class [Phalcon\Cache\Frontend\Data](/en/3.2/api/Phalcon_Cache_Frontend_Data) -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/de/api/Phalcon_Cache_Frontend_None.md b/de/api/Phalcon_Cache_Frontend_None.md index 521fcd02f344..bdc0af2d4135 100644 --- a/de/api/Phalcon_Cache_Frontend_None.md +++ b/de/api/Phalcon_Cache_Frontend_None.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Frontend\\None** -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/de/api/Phalcon_Cache_Frontend_Output.md b/de/api/Phalcon_Cache_Frontend_Output.md index 8421c02f1276..c6a0543703d6 100644 --- a/de/api/Phalcon_Cache_Frontend_Output.md +++ b/de/api/Phalcon_Cache_Frontend_Output.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Frontend\\Output** -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/de/api/Phalcon_Cache_Multiple.md b/de/api/Phalcon_Cache_Multiple.md index bbfa61a13274..1d9fd1365aa9 100644 --- a/de/api/Phalcon_Cache_Multiple.md +++ b/de/api/Phalcon_Cache_Multiple.md @@ -65,11 +65,11 @@ $cache->save("my-key", $data); ## Methods -public **__construct** ([[Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface[]) $backends]) +public **__construct** ([[Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface[]) $backends]) Phalcon\\Cache\\Multiple constructor -public **push** ([Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) $backend) +public **push** ([Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) $backend) Adds a backend diff --git a/de/api/Phalcon_Cli_Console.md b/de/api/Phalcon_Cli_Console.md index c769b7ad7659..f0337bf3f1ec 100644 --- a/de/api/Phalcon_Cli_Console.md +++ b/de/api/Phalcon_Cli_Console.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cli\\Console** -*extends* abstract class [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +*extends* abstract class [Phalcon\Application](/en/3.2/api/Phalcon_Application) -*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -36,19 +36,19 @@ public **setArgument** ([*array* $arguments], [*mixed* $str], [*mixed* $shift]) Set an specific argument -public **__construct** ([[Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector]) inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **__construct** ([[Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector]) inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Phalcon\\Application -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Sets the events manager -public **getEventsManager** () inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **getEventsManager** () inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Returns the internal event manager -public **registerModules** (*array* $modules, [*mixed* $merge]) inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **registerModules** (*array* $modules, [*mixed* $merge]) inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Register an array of modules present in the application @@ -70,30 +70,30 @@ $this->registerModules( ``` -public **getModules** () inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **getModules** () inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Return the modules registered in the application -public **getModule** (*mixed* $name) inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **getModule** (*mixed* $name) inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Gets the module definition registered in the application via module name -public **setDefaultModule** (*mixed* $defaultModule) inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **setDefaultModule** (*mixed* $defaultModule) inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Sets the module name to be used if the router doesn't return a valid module -public **getDefaultModule** () inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **getDefaultModule** () inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Returns the default module name -public **setDI** ([Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **setDI** ([Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Sets the dependency injector -public **getDI** () inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **getDI** () inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Returns the internal dependency injector -public **__get** (*mixed* $propertyName) inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **__get** (*mixed* $propertyName) inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Magic method __get \ No newline at end of file diff --git a/de/api/Phalcon_Cli_Console_Exception.md b/de/api/Phalcon_Cli_Console_Exception.md index 64a6f1f9162a..e7bfea5dbde1 100644 --- a/de/api/Phalcon_Cli_Console_Exception.md +++ b/de/api/Phalcon_Cli_Console_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cli\\Console\\Exception** -*extends* class [Phalcon\Application\Exception](/en/3.1.2/api/Phalcon_Application_Exception) +*extends* class [Phalcon\Application\Exception](/en/3.2/api/Phalcon_Application_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/de/api/Phalcon_Cli_Dispatcher.md b/de/api/Phalcon_Cli_Dispatcher.md index 7b91f5c9f537..f03b7c7c61ac 100644 --- a/de/api/Phalcon_Cli_Dispatcher.md +++ b/de/api/Phalcon_Cli_Dispatcher.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cli\\Dispatcher** -*extends* abstract class [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +*extends* abstract class [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) -*implements* [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface), [Phalcon\Cli\DispatcherInterface](/en/3.1.2/api/Phalcon_Cli_DispatcherInterface) +*implements* [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface), [Phalcon\Cli\DispatcherInterface](/en/3.2/api/Phalcon_Cli_DispatcherInterface) Source on GitHub @@ -11,10 +11,11 @@ Dispatching is the process of taking the command-line arguments, extracting the ```php setDi($di); $dispatcher->setTaskName("posts"); @@ -81,107 +82,115 @@ public **getOptions** () Get dispatched options +public **getOption** (*mixed* $option, [*string* | *array* $filters], [*mixed* $defaultValue]) + +Gets an option by its name or numeric index + +public **hasOption** (*mixed* $option) + +Check if an option exists + public **callActionMethod** (*mixed* $handler, *mixed* $actionMethod, [*array* $params]) -... +Calls the action method. -public **setDI** ([Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setDI** ([Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the dependency injector -public **getDI** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getDI** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns the internal dependency injector -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the events manager -public **getEventsManager** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getEventsManager** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns the internal event manager -public **setActionSuffix** (*mixed* $actionSuffix) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setActionSuffix** (*mixed* $actionSuffix) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the default action suffix -public **getActionSuffix** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getActionSuffix** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets the default action suffix -public **setModuleName** (*mixed* $moduleName) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setModuleName** (*mixed* $moduleName) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the module where the controller is (only informative) -public **getModuleName** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getModuleName** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets the module where the controller class is -public **setNamespaceName** (*mixed* $namespaceName) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setNamespaceName** (*mixed* $namespaceName) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the namespace where the controller class is -public **getNamespaceName** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getNamespaceName** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets a namespace to be prepended to the current handler name -public **setDefaultNamespace** (*mixed* $namespaceName) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setDefaultNamespace** (*mixed* $namespaceName) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the default namespace -public **getDefaultNamespace** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getDefaultNamespace** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns the default namespace -public **setDefaultAction** (*mixed* $actionName) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setDefaultAction** (*mixed* $actionName) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the default action name -public **setActionName** (*mixed* $actionName) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setActionName** (*mixed* $actionName) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the action name to be dispatched -public **getActionName** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getActionName** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets the latest dispatched action name -public **setParams** (*array* $params) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setParams** (*array* $params) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets action params to be dispatched -public **getParams** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getParams** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets action params -public **setParam** (*mixed* $param, *mixed* $value) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setParam** (*mixed* $param, *mixed* $value) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Set a param by its name or numeric index -public *mixed* **getParam** (*mixed* $param, [*string* | *array* $filters], [*mixed* $defaultValue]) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public *mixed* **getParam** (*mixed* $param, [*string* | *array* $filters], [*mixed* $defaultValue]) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets a param by its name or numeric index -public *boolean* **hasParam** (*mixed* $param) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public *boolean* **hasParam** (*mixed* $param) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Check if a param exists -public **getActiveMethod** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getActiveMethod** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns the current method to be/executed in the dispatcher -public **isFinished** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **isFinished** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Checks if the dispatch loop is finished or has more pendent controllers/tasks to dispatch -public **setReturnedValue** (*mixed* $value) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setReturnedValue** (*mixed* $value) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the latest returned value by an action manually -public *mixed* **getReturnedValue** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public *mixed* **getReturnedValue** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns value returned by the latest dispatched action -public **setModelBinding** (*mixed* $value, [*mixed* $cache]) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setModelBinding** (*mixed* $value, [*mixed* $cache]) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Enable/Disable model binding during dispatch @@ -197,7 +206,7 @@ $di->set('dispatcher', function() { ``` -public **setModelBinder** ([Phalcon\Mvc\Model\BinderInterface](/en/3.1.2/api/Phalcon_Mvc_Model_BinderInterface) $modelBinder, [*mixed* $cache]) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setModelBinder** ([Phalcon\Mvc\Model\BinderInterface](/en/3.2/api/Phalcon_Mvc_Model_BinderInterface) $modelBinder, [*mixed* $cache]) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Enable model binding during dispatch @@ -213,21 +222,21 @@ $di->set('dispatcher', function() { ``` -public **getModelBinder** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getModelBinder** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets model binder -public *object* **dispatch** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public *object* **dispatch** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Dispatches a handle action taking into account the routing parameters -protected *object* **_dispatch** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +protected *object* **_dispatch** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Dispatches a handle action taking into account the routing parameters -public **forward** (*array* $forward) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **forward** (*array* $forward) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) -Forwards the execution flow to another controller/action Dispatchers are unique per module. Forwarding between modules is not allowed +Forwards the execution flow to another controller/action. ```php dispatcher->forward( ``` -public **wasForwarded** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **wasForwarded** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Check if the current executed action was forwarded by another one -public **getHandlerClass** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getHandlerClass** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Possible class name that will be located to dispatch the request -public **getBoundModels** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getBoundModels** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns bound models from binder instance @@ -266,6 +275,6 @@ class UserController extends Controller ``` -protected **_resolveEmptyProperties** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +protected **_resolveEmptyProperties** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Set empty properties to their defaults (where defaults are available) \ No newline at end of file diff --git a/de/api/Phalcon_Cli_DispatcherInterface.md b/de/api/Phalcon_Cli_DispatcherInterface.md index 58914bf4b682..78f4d7b40c9c 100644 --- a/de/api/Phalcon_Cli_DispatcherInterface.md +++ b/de/api/Phalcon_Cli_DispatcherInterface.md @@ -1,6 +1,6 @@ # Interface **Phalcon\\Cli\\DispatcherInterface** -*implements* [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +*implements* [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) Source on GitHub @@ -30,70 +30,70 @@ abstract public **getActiveTask** () ... -abstract public **setActionSuffix** (*mixed* $actionSuffix) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setActionSuffix** (*mixed* $actionSuffix) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **getActionSuffix** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **getActionSuffix** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setDefaultNamespace** (*mixed* $defaultNamespace) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setDefaultNamespace** (*mixed* $defaultNamespace) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setDefaultAction** (*mixed* $actionName) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setDefaultAction** (*mixed* $actionName) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setNamespaceName** (*mixed* $namespaceName) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setNamespaceName** (*mixed* $namespaceName) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setModuleName** (*mixed* $moduleName) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setModuleName** (*mixed* $moduleName) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setActionName** (*mixed* $actionName) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setActionName** (*mixed* $actionName) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **getActionName** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **getActionName** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setParams** (*mixed* $params) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setParams** (*mixed* $params) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **getParams** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **getParams** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setParam** (*mixed* $param, *mixed* $value) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setParam** (*mixed* $param, *mixed* $value) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **getParam** (*mixed* $param, [*mixed* $filters]) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **getParam** (*mixed* $param, [*mixed* $filters]) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **hasParam** (*mixed* $param) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **hasParam** (*mixed* $param) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **isFinished** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **isFinished** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **getReturnedValue** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **getReturnedValue** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **dispatch** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **dispatch** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **forward** (*mixed* $forward) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **forward** (*mixed* $forward) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... \ No newline at end of file diff --git a/de/api/Phalcon_Cli_Dispatcher_Exception.md b/de/api/Phalcon_Cli_Dispatcher_Exception.md index 0eeb05860d89..fbd0a6c4292d 100644 --- a/de/api/Phalcon_Cli_Dispatcher_Exception.md +++ b/de/api/Phalcon_Cli_Dispatcher_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cli\\Dispatcher\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/de/api/Phalcon_Cli_Router.md b/de/api/Phalcon_Cli_Router.md index d2cb10a44276..5a0943627b36 100644 --- a/de/api/Phalcon_Cli_Router.md +++ b/de/api/Phalcon_Cli_Router.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cli\\Router** -*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface) +*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface) Source on GitHub @@ -29,7 +29,7 @@ public **__construct** ([*mixed* $defaultRoutes]) Phalcon\\Cli\\Router constructor -public **setDI** ([Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector) +public **setDI** ([Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector) Sets the dependency injector @@ -69,7 +69,7 @@ public **handle** ([*array* $arguments]) Handles routing information received from command-line arguments -public [Phalcon\Cli\Router\Route](/en/3.1.2/api/Phalcon_Cli_Router_Route) **add** (*string* $pattern, [*string/array* $paths]) +public [Phalcon\Cli\Router\Route](/en/3.2/api/Phalcon_Cli_Router_Route) **add** (*string* $pattern, [*string/array* $paths]) Adds a route to the router @@ -112,7 +112,7 @@ public **getRoutes** () Returns all the routes defined in the router -public [Phalcon\Cli\Router\Route](/en/3.1.2/api/Phalcon_Cli_Router_Route) **getRouteById** (*int* $id) +public [Phalcon\Cli\Router\Route](/en/3.2/api/Phalcon_Cli_Router_Route) **getRouteById** (*int* $id) Returns a route object by its id diff --git a/de/api/Phalcon_Cli_Router_Exception.md b/de/api/Phalcon_Cli_Router_Exception.md index ebd81a411422..e063b3861132 100644 --- a/de/api/Phalcon_Cli_Router_Exception.md +++ b/de/api/Phalcon_Cli_Router_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cli\\Router\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/de/api/Phalcon_Db_Adapter.md b/de/api/Phalcon_Db_Adapter.md index c1deaded19cd..a5d397a98c83 100644 --- a/de/api/Phalcon_Db_Adapter.md +++ b/de/api/Phalcon_Db_Adapter.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Db\\Adapter** -*implements* [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -24,7 +24,7 @@ public **__construct** (*array* $descriptor) Phalcon\\Db\\Adapter constructor -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) Sets the event manager @@ -32,7 +32,7 @@ public **getEventsManager** () Returns the internal event manager -public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) $dialect) +public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) $dialect) Sets the dialect used to produce the SQL @@ -309,11 +309,11 @@ public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExist Drops a view -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Adds a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) Modifies a table column based on a definition @@ -321,7 +321,7 @@ public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnN Drops a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Adds an index to a table @@ -329,7 +329,7 @@ public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexNam Drop an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Adds a primary key to a table @@ -337,7 +337,7 @@ public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) Drops a table's primary key -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) Adds a foreign key to a table @@ -345,7 +345,7 @@ public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $ref Drops a foreign key from a table -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Returns the SQL column definition from a column @@ -375,7 +375,7 @@ print_r( ``` -public [Phalcon\Db\Index](/en/3.1.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) +public [Phalcon\Db\Index](/en/3.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) Lists table indexes @@ -512,54 +512,54 @@ public *array* **getSQLBindTypes** () Active SQL statement in the object -abstract public **connect** ([*array* $descriptor]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **connect** ([*array* $descriptor]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **query** (*mixed* $sqlStatement, [*mixed* $placeholders], [*mixed* $dataTypes]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **query** (*mixed* $sqlStatement, [*mixed* $placeholders], [*mixed* $dataTypes]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **execute** (*mixed* $sqlStatement, [*mixed* $placeholders], [*mixed* $dataTypes]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **execute** (*mixed* $sqlStatement, [*mixed* $placeholders], [*mixed* $dataTypes]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **affectedRows** () inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **affectedRows** () inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **close** () inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **close** () inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **lastInsertId** ([*mixed* $sequenceName]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **lastInsertId** ([*mixed* $sequenceName]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **isUnderTransaction** () inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **isUnderTransaction** () inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **getInternalHandler** () inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **getInternalHandler** () inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... \ No newline at end of file diff --git a/de/api/Phalcon_Db_AdapterInterface.md b/de/api/Phalcon_Db_AdapterInterface.md index 2b9bec9a2acd..4c6a8f54b3f1 100644 --- a/de/api/Phalcon_Db_AdapterInterface.md +++ b/de/api/Phalcon_Db_AdapterInterface.md @@ -64,11 +64,11 @@ abstract public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* ... -abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) ... -abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) ... @@ -76,7 +76,7 @@ abstract public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* ... -abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) ... @@ -84,7 +84,7 @@ abstract public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* ... -abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) ... @@ -92,7 +92,7 @@ abstract public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) ... -abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) ... @@ -100,7 +100,7 @@ abstract public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mi ... -abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) ... diff --git a/de/api/Phalcon_Db_Adapter_Pdo.md b/de/api/Phalcon_Db_Adapter_Pdo.md index 44de7d9e6e1f..c23a014e3d58 100644 --- a/de/api/Phalcon_Db_Adapter_Pdo.md +++ b/de/api/Phalcon_Db_Adapter_Pdo.md @@ -1,8 +1,8 @@ # Abstract class **Phalcon\\Db\\Adapter\\Pdo** -*extends* abstract class [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +*extends* abstract class [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) -*implements* [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +*implements* [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) Source on GitHub @@ -262,35 +262,35 @@ public *array* **getErrorInfo** () Return the error info, if any -public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Name of the dialect used -public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Type of database system the adapter is used for -public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL bound parameter variables -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the event manager -public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the internal event manager -public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the dialect used to produce the SQL -public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns internal dialect instance -public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the first row in a SQL query result @@ -307,7 +307,7 @@ print_r($robot); ``` -public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Dumps the complete result of a query into an array @@ -338,7 +338,7 @@ foreach($robots as $robot) { ``` -public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the n'th field of first row in a SQL query result @@ -358,7 +358,7 @@ print_r($robot); ``` -public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RDBMS SQL syntax @@ -377,7 +377,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RBDM SQL syntax @@ -398,7 +398,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax @@ -435,7 +435,7 @@ $success = $connection->update( Warning! If $whereCondition is string it not escaped. -public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax Another, more convenient syntax @@ -456,7 +456,7 @@ UPDATE `robots` SET `name` = "Astro boy" WHERE id = 101 ``` -public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Deletes data from a table using custom RBDM SQL syntax @@ -474,7 +474,7 @@ DELETE FROM `robots` WHERE `id` = 101 ``` -public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Escapes a column/table/schema name @@ -494,11 +494,11 @@ $escapedTable = $connection->escapeIdentifier( ``` -public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets a list of columns -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Appends a LIMIT clause to $sqlQuery argument @@ -509,7 +509,7 @@ echo $connection->limit("SELECT * FROM robots", 5); ``` -public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.table @@ -522,7 +522,7 @@ var_dump( ``` -public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.view @@ -535,71 +535,71 @@ var_dump( ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a FOR UPDATE clause -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a LOCK IN SHARE MODE clause -public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a table -public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table from a schema/database -public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a view -public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a view -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Modifies a table column based on a definition -public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds an index to a table -public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drop an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a primary key to a table -public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table's primary key -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a foreign key to a table -public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a foreign key from a table -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the SQL column definition from a column -public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all tables on a database @@ -612,7 +612,7 @@ print_r( ``` -public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all views on a database @@ -625,7 +625,7 @@ print_r( ``` -public [Phalcon\Db\Index](/en/3.1.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public [Phalcon\Db\Index](/en/3.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Lists table indexes @@ -638,7 +638,7 @@ print_r( ``` -public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Lists table references @@ -651,7 +651,7 @@ print_r( ``` -public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets creation options from a table @@ -664,31 +664,31 @@ print_r( ``` -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Releases given savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Rollbacks given savepoint -public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Set if nested transactions should use savepoints -public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns if nested transactions should use savepoints -public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the savepoint name to use for nested transactions -public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default identity value to be inserted in an identity column @@ -712,7 +712,7 @@ $success = $connection->insert( ``` -public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default value to make the RBDM use the default value declared in the table definition @@ -734,34 +734,34 @@ $success = $connection->insert( ``` -public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Check whether the database system requires a sequence to produce auto-numeric values -public **useExplicitIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **useExplicitIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Check whether the database system requires an explicit value for identity columns -public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Return descriptor used to connect to the active database -public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets the active connection unique identifier -public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object -public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object without replace bound parameters -public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object -abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... \ No newline at end of file diff --git a/de/api/Phalcon_Db_Adapter_Pdo_Mysql.md b/de/api/Phalcon_Db_Adapter_Pdo_Mysql.md index fe17030fddcf..5013bf0def80 100644 --- a/de/api/Phalcon_Db_Adapter_Pdo_Mysql.md +++ b/de/api/Phalcon_Db_Adapter_Pdo_Mysql.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Adapter\\Pdo\\Mysql** -*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) -*implements* [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -40,7 +40,7 @@ print_r( ``` -public [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface[]) **describeIndexes** (*string* $table, [*string* $schema]) +public [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface[]) **describeIndexes** (*string* $table, [*string* $schema]) Lists table indexes @@ -66,11 +66,11 @@ print_r( ``` -public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Constructor for Phalcon\\Db\\Adapter\\Pdo -public **connect** ([*array* $descriptor]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **connect** ([*array* $descriptor]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) This method is automatically called in \\Phalcon\\Db\\Adapter\\Pdo constructor. Call it when you need to restore a database connection. @@ -95,7 +95,7 @@ $connection->connect(); ``` -public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns a PDO prepared statement to be executed with 'executePrepared' @@ -120,7 +120,7 @@ $result = $connection->executePrepared( ``` -public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Executes a prepared statement binding. This function uses integer indexes starting from zero @@ -145,7 +145,7 @@ $result = $connection->executePrepared( ``` -public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server is returning rows @@ -166,7 +166,7 @@ $resultset = $connection->query( ``` -public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server doesn't return any rows @@ -188,7 +188,7 @@ $success = $connection->execute( ``` -public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the number of affected rows by the latest INSERT/UPDATE/DELETE executed in the database system @@ -203,11 +203,11 @@ echo $connection->affectedRows(), " were deleted"; ``` -public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Closes the active connection returning success. Phalcon automatically closes and destroys active connections when the request ends -public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Escapes a value to avoid SQL injections according to the active charset in the connection @@ -218,7 +218,7 @@ $escapedStr = $connection->escapeString("some dangerous value"); ``` -public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Converts bound parameters such as :name: or ?1 into PDO bind params ? @@ -236,7 +236,7 @@ print_r( ``` -public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the insert id for the auto_increment/serial column inserted in the latest executed SQL statement @@ -261,23 +261,23 @@ $id = $connection->lastInsertId(); ``` -public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Starts a transaction in the connection -public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Rollbacks the active transaction in the connection -public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Commits the active transaction in the connection -public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the current transaction nesting level -public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Checks whether the connection is under a transaction @@ -293,43 +293,43 @@ var_dump( ``` -public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return internal PDO handler -public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return the error info, if any -public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Name of the dialect used -public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Type of database system the adapter is used for -public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL bound parameter variables -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the event manager -public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the internal event manager -public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the dialect used to produce the SQL -public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns internal dialect instance -public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the first row in a SQL query result @@ -346,7 +346,7 @@ print_r($robot); ``` -public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Dumps the complete result of a query into an array @@ -377,7 +377,7 @@ foreach($robots as $robot) { ``` -public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the n'th field of first row in a SQL query result @@ -397,7 +397,7 @@ print_r($robot); ``` -public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RDBMS SQL syntax @@ -416,7 +416,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RBDM SQL syntax @@ -437,7 +437,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax @@ -474,7 +474,7 @@ $success = $connection->update( Warning! If $whereCondition is string it not escaped. -public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax Another, more convenient syntax @@ -495,7 +495,7 @@ UPDATE `robots` SET `name` = "Astro boy" WHERE id = 101 ``` -public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Deletes data from a table using custom RBDM SQL syntax @@ -513,7 +513,7 @@ DELETE FROM `robots` WHERE `id` = 101 ``` -public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Escapes a column/table/schema name @@ -533,11 +533,11 @@ $escapedTable = $connection->escapeIdentifier( ``` -public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets a list of columns -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Appends a LIMIT clause to $sqlQuery argument @@ -548,7 +548,7 @@ echo $connection->limit("SELECT * FROM robots", 5); ``` -public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.table @@ -561,7 +561,7 @@ var_dump( ``` -public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.view @@ -574,71 +574,71 @@ var_dump( ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a FOR UPDATE clause -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a LOCK IN SHARE MODE clause -public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a table -public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table from a schema/database -public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a view -public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a view -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Modifies a table column based on a definition -public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds an index to a table -public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drop an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a primary key to a table -public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table's primary key -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a foreign key to a table -public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a foreign key from a table -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the SQL column definition from a column -public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all tables on a database @@ -651,7 +651,7 @@ print_r( ``` -public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all views on a database @@ -664,7 +664,7 @@ print_r( ``` -public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets creation options from a table @@ -677,31 +677,31 @@ print_r( ``` -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Releases given savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Rollbacks given savepoint -public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Set if nested transactions should use savepoints -public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns if nested transactions should use savepoints -public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the savepoint name to use for nested transactions -public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default identity value to be inserted in an identity column @@ -725,7 +725,7 @@ $success = $connection->insert( ``` -public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default value to make the RBDM use the default value declared in the table definition @@ -747,30 +747,30 @@ $success = $connection->insert( ``` -public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Check whether the database system requires a sequence to produce auto-numeric values -public **useExplicitIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **useExplicitIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Check whether the database system requires an explicit value for identity columns -public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Return descriptor used to connect to the active database -public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets the active connection unique identifier -public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object -public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object without replace bound parameters -public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object \ No newline at end of file diff --git a/de/api/Phalcon_Db_Adapter_Pdo_Postgresql.md b/de/api/Phalcon_Db_Adapter_Pdo_Postgresql.md index c7f35273d52a..9a66f69a4ec1 100644 --- a/de/api/Phalcon_Db_Adapter_Pdo_Postgresql.md +++ b/de/api/Phalcon_Db_Adapter_Pdo_Postgresql.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Adapter\\Pdo\\Postgresql** -*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) -*implements* [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -48,7 +48,7 @@ public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $defini Creates a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) Modifies a table column based on a definition @@ -84,11 +84,11 @@ public **supportSequences** () Check whether the database system requires a sequence to produce auto-numeric values -public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Constructor for Phalcon\\Db\\Adapter\\Pdo -public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns a PDO prepared statement to be executed with 'executePrepared' @@ -113,7 +113,7 @@ $result = $connection->executePrepared( ``` -public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Executes a prepared statement binding. This function uses integer indexes starting from zero @@ -138,7 +138,7 @@ $result = $connection->executePrepared( ``` -public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server is returning rows @@ -159,7 +159,7 @@ $resultset = $connection->query( ``` -public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server doesn't return any rows @@ -181,7 +181,7 @@ $success = $connection->execute( ``` -public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the number of affected rows by the latest INSERT/UPDATE/DELETE executed in the database system @@ -196,11 +196,11 @@ echo $connection->affectedRows(), " were deleted"; ``` -public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Closes the active connection returning success. Phalcon automatically closes and destroys active connections when the request ends -public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Escapes a value to avoid SQL injections according to the active charset in the connection @@ -211,7 +211,7 @@ $escapedStr = $connection->escapeString("some dangerous value"); ``` -public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Converts bound parameters such as :name: or ?1 into PDO bind params ? @@ -229,7 +229,7 @@ print_r( ``` -public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the insert id for the auto_increment/serial column inserted in the latest executed SQL statement @@ -254,23 +254,23 @@ $id = $connection->lastInsertId(); ``` -public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Starts a transaction in the connection -public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Rollbacks the active transaction in the connection -public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Commits the active transaction in the connection -public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the current transaction nesting level -public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Checks whether the connection is under a transaction @@ -286,43 +286,43 @@ var_dump( ``` -public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return internal PDO handler -public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return the error info, if any -public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Name of the dialect used -public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Type of database system the adapter is used for -public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL bound parameter variables -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the event manager -public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the internal event manager -public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the dialect used to produce the SQL -public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns internal dialect instance -public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the first row in a SQL query result @@ -339,7 +339,7 @@ print_r($robot); ``` -public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Dumps the complete result of a query into an array @@ -370,7 +370,7 @@ foreach($robots as $robot) { ``` -public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the n'th field of first row in a SQL query result @@ -390,7 +390,7 @@ print_r($robot); ``` -public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RDBMS SQL syntax @@ -409,7 +409,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RBDM SQL syntax @@ -430,7 +430,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax @@ -467,7 +467,7 @@ $success = $connection->update( Warning! If $whereCondition is string it not escaped. -public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax Another, more convenient syntax @@ -488,7 +488,7 @@ UPDATE `robots` SET `name` = "Astro boy" WHERE id = 101 ``` -public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Deletes data from a table using custom RBDM SQL syntax @@ -506,7 +506,7 @@ DELETE FROM `robots` WHERE `id` = 101 ``` -public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Escapes a column/table/schema name @@ -526,11 +526,11 @@ $escapedTable = $connection->escapeIdentifier( ``` -public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets a list of columns -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Appends a LIMIT clause to $sqlQuery argument @@ -541,7 +541,7 @@ echo $connection->limit("SELECT * FROM robots", 5); ``` -public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.table @@ -554,7 +554,7 @@ var_dump( ``` -public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.view @@ -567,63 +567,63 @@ var_dump( ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a FOR UPDATE clause -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a LOCK IN SHARE MODE clause -public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table from a schema/database -public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a view -public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a view -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a column to a table -public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds an index to a table -public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drop an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a primary key to a table -public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table's primary key -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a foreign key to a table -public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a foreign key from a table -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the SQL column definition from a column -public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all tables on a database @@ -636,7 +636,7 @@ print_r( ``` -public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all views on a database @@ -649,7 +649,7 @@ print_r( ``` -public [Phalcon\Db\Index](/en/3.1.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public [Phalcon\Db\Index](/en/3.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Lists table indexes @@ -662,7 +662,7 @@ print_r( ``` -public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Lists table references @@ -675,7 +675,7 @@ print_r( ``` -public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets creation options from a table @@ -688,31 +688,31 @@ print_r( ``` -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Releases given savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Rollbacks given savepoint -public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Set if nested transactions should use savepoints -public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns if nested transactions should use savepoints -public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the savepoint name to use for nested transactions -public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default value to make the RBDM use the default value declared in the table definition @@ -734,22 +734,22 @@ $success = $connection->insert( ``` -public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Return descriptor used to connect to the active database -public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets the active connection unique identifier -public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object -public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object without replace bound parameters -public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object \ No newline at end of file diff --git a/de/api/Phalcon_Db_Adapter_Pdo_Sqlite.md b/de/api/Phalcon_Db_Adapter_Pdo_Sqlite.md index 1f92cfbfc6bd..a568c933ce4a 100644 --- a/de/api/Phalcon_Db_Adapter_Pdo_Sqlite.md +++ b/de/api/Phalcon_Db_Adapter_Pdo_Sqlite.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Adapter\\Pdo\\Sqlite** -*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) -*implements* [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -40,7 +40,7 @@ print_r( ``` -public [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface[]) **describeIndexes** (*string* $table, [*string* $schema]) +public [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface[]) **describeIndexes** (*string* $table, [*string* $schema]) Lists table indexes @@ -53,7 +53,7 @@ print_r( ``` -public [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface[]) **describeReferences** (*string* $table, [*string* $schema]) +public [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface[]) **describeReferences** (*string* $table, [*string* $schema]) Lists table references @@ -83,11 +83,11 @@ $success = $connection->insert( ``` -public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Constructor for Phalcon\\Db\\Adapter\\Pdo -public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns a PDO prepared statement to be executed with 'executePrepared' @@ -112,7 +112,7 @@ $result = $connection->executePrepared( ``` -public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Executes a prepared statement binding. This function uses integer indexes starting from zero @@ -137,7 +137,7 @@ $result = $connection->executePrepared( ``` -public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server is returning rows @@ -158,7 +158,7 @@ $resultset = $connection->query( ``` -public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server doesn't return any rows @@ -180,7 +180,7 @@ $success = $connection->execute( ``` -public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the number of affected rows by the latest INSERT/UPDATE/DELETE executed in the database system @@ -195,11 +195,11 @@ echo $connection->affectedRows(), " were deleted"; ``` -public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Closes the active connection returning success. Phalcon automatically closes and destroys active connections when the request ends -public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Escapes a value to avoid SQL injections according to the active charset in the connection @@ -210,7 +210,7 @@ $escapedStr = $connection->escapeString("some dangerous value"); ``` -public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Converts bound parameters such as :name: or ?1 into PDO bind params ? @@ -228,7 +228,7 @@ print_r( ``` -public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the insert id for the auto_increment/serial column inserted in the latest executed SQL statement @@ -253,23 +253,23 @@ $id = $connection->lastInsertId(); ``` -public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Starts a transaction in the connection -public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Rollbacks the active transaction in the connection -public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Commits the active transaction in the connection -public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the current transaction nesting level -public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Checks whether the connection is under a transaction @@ -285,43 +285,43 @@ var_dump( ``` -public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return internal PDO handler -public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return the error info, if any -public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Name of the dialect used -public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Type of database system the adapter is used for -public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL bound parameter variables -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the event manager -public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the internal event manager -public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the dialect used to produce the SQL -public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns internal dialect instance -public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the first row in a SQL query result @@ -338,7 +338,7 @@ print_r($robot); ``` -public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Dumps the complete result of a query into an array @@ -369,7 +369,7 @@ foreach($robots as $robot) { ``` -public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the n'th field of first row in a SQL query result @@ -389,7 +389,7 @@ print_r($robot); ``` -public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RDBMS SQL syntax @@ -408,7 +408,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RBDM SQL syntax @@ -429,7 +429,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax @@ -466,7 +466,7 @@ $success = $connection->update( Warning! If $whereCondition is string it not escaped. -public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax Another, more convenient syntax @@ -487,7 +487,7 @@ UPDATE `robots` SET `name` = "Astro boy" WHERE id = 101 ``` -public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Deletes data from a table using custom RBDM SQL syntax @@ -505,7 +505,7 @@ DELETE FROM `robots` WHERE `id` = 101 ``` -public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Escapes a column/table/schema name @@ -525,11 +525,11 @@ $escapedTable = $connection->escapeIdentifier( ``` -public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets a list of columns -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Appends a LIMIT clause to $sqlQuery argument @@ -540,7 +540,7 @@ echo $connection->limit("SELECT * FROM robots", 5); ``` -public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.table @@ -553,7 +553,7 @@ var_dump( ``` -public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.view @@ -566,71 +566,71 @@ var_dump( ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a FOR UPDATE clause -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a LOCK IN SHARE MODE clause -public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a table -public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table from a schema/database -public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a view -public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a view -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Modifies a table column based on a definition -public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds an index to a table -public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drop an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a primary key to a table -public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table's primary key -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a foreign key to a table -public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a foreign key from a table -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the SQL column definition from a column -public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all tables on a database @@ -643,7 +643,7 @@ print_r( ``` -public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all views on a database @@ -656,7 +656,7 @@ print_r( ``` -public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets creation options from a table @@ -669,31 +669,31 @@ print_r( ``` -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Releases given savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Rollbacks given savepoint -public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Set if nested transactions should use savepoints -public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns if nested transactions should use savepoints -public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the savepoint name to use for nested transactions -public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default identity value to be inserted in an identity column @@ -717,26 +717,26 @@ $success = $connection->insert( ``` -public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Check whether the database system requires a sequence to produce auto-numeric values -public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Return descriptor used to connect to the active database -public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets the active connection unique identifier -public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object -public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object without replace bound parameters -public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object \ No newline at end of file diff --git a/de/api/Phalcon_Db_Column.md b/de/api/Phalcon_Db_Column.md index ab2fdfb7a40e..fe0210a2b411 100644 --- a/de/api/Phalcon_Db_Column.md +++ b/de/api/Phalcon_Db_Column.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Db\\Column** -*implements* [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) +*implements* [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) Source on GitHub diff --git a/de/api/Phalcon_Db_Dialect.md b/de/api/Phalcon_Db_Dialect.md index 11c52ea58df4..df25f0af03ab 100644 --- a/de/api/Phalcon_Db_Dialect.md +++ b/de/api/Phalcon_Db_Dialect.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Db\\Dialect** -*implements* [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +*implements* [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) Source on GitHub @@ -199,86 +199,86 @@ protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $es Prepares qualified for this RDBMS -abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropTable** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropTable** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **describeIndexes** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **describeIndexes** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **tableOptions** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **tableOptions** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... \ No newline at end of file diff --git a/de/api/Phalcon_Db_DialectInterface.md b/de/api/Phalcon_Db_DialectInterface.md index 0bf993854d79..90ee58afb9e1 100644 --- a/de/api/Phalcon_Db_DialectInterface.md +++ b/de/api/Phalcon_Db_DialectInterface.md @@ -24,15 +24,15 @@ abstract public **getColumnList** (*array* $columnList) ... -abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) ... -abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) ... -abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) ... @@ -40,7 +40,7 @@ abstract public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* ... -abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) ... @@ -48,7 +48,7 @@ abstract public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* ... -abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) ... @@ -56,7 +56,7 @@ abstract public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) ... -abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) ... diff --git a/de/api/Phalcon_Db_Dialect_Mysql.md b/de/api/Phalcon_Db_Dialect_Mysql.md index 6178388fc739..d1a80102e14c 100644 --- a/de/api/Phalcon_Db_Dialect_Mysql.md +++ b/de/api/Phalcon_Db_Dialect_Mysql.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Dialect\\Mysql** -*extends* abstract class [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +*extends* abstract class [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) -*implements* [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +*implements* [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) Source on GitHub @@ -10,15 +10,15 @@ Generates database specific SQL for the MySQL RDBMS ## Methods -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Gets the column name in MySQL -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Generates SQL to add a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) Generates SQL to modify a column in a table @@ -26,7 +26,7 @@ public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnN Generates SQL to delete a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add an index to a table @@ -34,7 +34,7 @@ public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexNam Generates SQL to delete an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add the primary key to a table @@ -42,7 +42,7 @@ public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) Generates SQL to delete primary key from a table -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) Generates SQL to add an index to a table @@ -133,23 +133,23 @@ protected **_getTableOptions** (*array* $definition) Generates SQL to add the table creation options -public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Registers custom SQL functions -public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns registered functions -final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape Schema -final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape identifiers -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generates the SQL for LIMIT clause @@ -164,7 +164,7 @@ echo $sql; // SELECT * FROM robots LIMIT 10 OFFSET 50 ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a FOR UPDATE clause @@ -176,7 +176,7 @@ echo $sql; // SELECT * FROM robots FOR UPDATE ``` -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a LOCK IN SHARE MODE clause @@ -188,7 +188,7 @@ echo $sql; // SELECT * FROM robots LOCK IN SHARE MODE ``` -final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Gets a list of columns with escaped identifiers @@ -204,122 +204,122 @@ echo $dialect->getColumnList( ``` -final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transforms an intermediate representation for an expression into a database system valid expression -final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transform an intermediate representation of a schema/table into a database system valid expression -public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Builds a SELECT statement -public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports savepoints -public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports releasing savepoints. -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to create a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to release a savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to rollback a savepoint -final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve object expressions -final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve qualified expressions -final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve binary operations expressions -final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve unary operations expressions -final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve function calls -final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Lists -final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve * -final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CAST of values -final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CONVERT of values encodings -final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CASE expressions -final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a FROM clause -final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a JOINs clause -final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a WHERE clause -final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a GROUP BY clause -final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a HAVING clause -final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve an ORDER BY clause -final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a LIMIT clause -protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares column for this RDBMS -protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares table for this RDBMS -protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares qualified for this RDBMS \ No newline at end of file diff --git a/de/api/Phalcon_Db_Dialect_Postgresql.md b/de/api/Phalcon_Db_Dialect_Postgresql.md index 01fe5982984c..f10d03525235 100644 --- a/de/api/Phalcon_Db_Dialect_Postgresql.md +++ b/de/api/Phalcon_Db_Dialect_Postgresql.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Dialect\\Postgresql** -*extends* abstract class [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +*extends* abstract class [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) -*implements* [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +*implements* [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) Source on GitHub @@ -10,15 +10,15 @@ Generates database specific SQL for the PostgreSQL RDBMS ## Methods -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Gets the column name in PostgreSQL -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Generates SQL to add a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) Generates SQL to modify a column in a table @@ -26,7 +26,7 @@ public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnN Generates SQL to delete a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add an index to a table @@ -34,7 +34,7 @@ public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexNam Generates SQL to delete an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add the primary key to a table @@ -42,7 +42,7 @@ public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) Generates SQL to delete primary key from a table -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) Generates SQL to add an index to a table @@ -129,7 +129,7 @@ public **tableOptions** (*mixed* $table, [*mixed* $schema]) Generates the SQL to describe the table creation options -protected **_castDefault** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +protected **_castDefault** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) ... @@ -137,23 +137,23 @@ protected **_getTableOptions** (*array* $definition) ... -public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Registers custom SQL functions -public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns registered functions -final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape Schema -final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape identifiers -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generates the SQL for LIMIT clause @@ -168,7 +168,7 @@ echo $sql; // SELECT * FROM robots LIMIT 10 OFFSET 50 ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a FOR UPDATE clause @@ -180,7 +180,7 @@ echo $sql; // SELECT * FROM robots FOR UPDATE ``` -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a LOCK IN SHARE MODE clause @@ -192,7 +192,7 @@ echo $sql; // SELECT * FROM robots LOCK IN SHARE MODE ``` -final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Gets a list of columns with escaped identifiers @@ -208,122 +208,122 @@ echo $dialect->getColumnList( ``` -final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transforms an intermediate representation for an expression into a database system valid expression -final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transform an intermediate representation of a schema/table into a database system valid expression -public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Builds a SELECT statement -public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports savepoints -public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports releasing savepoints. -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to create a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to release a savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to rollback a savepoint -final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve object expressions -final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve qualified expressions -final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve binary operations expressions -final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve unary operations expressions -final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve function calls -final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Lists -final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve * -final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CAST of values -final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CONVERT of values encodings -final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CASE expressions -final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a FROM clause -final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a JOINs clause -final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a WHERE clause -final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a GROUP BY clause -final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a HAVING clause -final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve an ORDER BY clause -final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a LIMIT clause -protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares column for this RDBMS -protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares table for this RDBMS -protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares qualified for this RDBMS \ No newline at end of file diff --git a/de/api/Phalcon_Db_Dialect_Sqlite.md b/de/api/Phalcon_Db_Dialect_Sqlite.md index 7b38162151a0..dabec6d39e49 100644 --- a/de/api/Phalcon_Db_Dialect_Sqlite.md +++ b/de/api/Phalcon_Db_Dialect_Sqlite.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Dialect\\Sqlite** -*extends* abstract class [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +*extends* abstract class [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) -*implements* [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +*implements* [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) Source on GitHub @@ -10,15 +10,15 @@ Generates database specific SQL for the Sqlite RDBMS ## Methods -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Gets the column name in SQLite -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Generates SQL to add a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) Generates SQL to modify a column in a table @@ -26,7 +26,7 @@ public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnN Generates SQL to delete a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add an index to a table @@ -34,7 +34,7 @@ public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexNam Generates SQL to delete an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add the primary key to a table @@ -42,7 +42,7 @@ public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) Generates SQL to delete primary key from a table -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) Generates SQL to add an index to a table @@ -146,23 +146,23 @@ public **tableOptions** (*mixed* $table, [*mixed* $schema]) Generates the SQL to describe the table creation options -public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Registers custom SQL functions -public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns registered functions -final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape Schema -final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape identifiers -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generates the SQL for LIMIT clause @@ -177,7 +177,7 @@ echo $sql; // SELECT * FROM robots LIMIT 10 OFFSET 50 ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a FOR UPDATE clause @@ -189,7 +189,7 @@ echo $sql; // SELECT * FROM robots FOR UPDATE ``` -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a LOCK IN SHARE MODE clause @@ -201,7 +201,7 @@ echo $sql; // SELECT * FROM robots LOCK IN SHARE MODE ``` -final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Gets a list of columns with escaped identifiers @@ -217,122 +217,122 @@ echo $dialect->getColumnList( ``` -final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transforms an intermediate representation for an expression into a database system valid expression -final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transform an intermediate representation of a schema/table into a database system valid expression -public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Builds a SELECT statement -public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports savepoints -public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports releasing savepoints. -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to create a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to release a savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to rollback a savepoint -final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve object expressions -final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve qualified expressions -final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve binary operations expressions -final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve unary operations expressions -final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve function calls -final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Lists -final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve * -final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CAST of values -final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CONVERT of values encodings -final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CASE expressions -final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a FROM clause -final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a JOINs clause -final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a WHERE clause -final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a GROUP BY clause -final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a HAVING clause -final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve an ORDER BY clause -final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a LIMIT clause -protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares column for this RDBMS -protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares table for this RDBMS -protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares qualified for this RDBMS \ No newline at end of file diff --git a/de/api/Phalcon_Db_Exception.md b/de/api/Phalcon_Db_Exception.md index 839c2d00fbf8..00160179b065 100644 --- a/de/api/Phalcon_Db_Exception.md +++ b/de/api/Phalcon_Db_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Db\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/de/api/Phalcon_Db_Index.md b/de/api/Phalcon_Db_Index.md index 60a5b41f764f..9ca94ad0e146 100644 --- a/de/api/Phalcon_Db_Index.md +++ b/de/api/Phalcon_Db_Index.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Db\\Index** -*implements* [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) +*implements* [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) Source on GitHub diff --git a/de/api/Phalcon_Db_Profiler.md b/de/api/Phalcon_Db_Profiler.md index 05a913cb9c2c..1d6dde6d6e69 100644 --- a/de/api/Phalcon_Db_Profiler.md +++ b/de/api/Phalcon_Db_Profiler.md @@ -31,7 +31,7 @@ echo "Total Elapsed Time: ", $profile->getTotalElapsedSeconds(), "\n"; ## Methods -public [Phalcon\Db\Profiler](/en/3.1.2/api/Phalcon_Db_Profiler) **startProfile** (*string* $sqlStatement, [*mixed* $sqlVariables], [*mixed* $sqlBindTypes]) +public [Phalcon\Db\Profiler](/en/3.2/api/Phalcon_Db_Profiler) **startProfile** (*string* $sqlStatement, [*mixed* $sqlVariables], [*mixed* $sqlBindTypes]) Starts the profile of a SQL sentence diff --git a/de/api/Phalcon_Db_Reference.md b/de/api/Phalcon_Db_Reference.md index 30ac1a686521..2e83e14de226 100644 --- a/de/api/Phalcon_Db_Reference.md +++ b/de/api/Phalcon_Db_Reference.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Db\\Reference** -*implements* [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) +*implements* [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) Source on GitHub diff --git a/de/api/Phalcon_Db_Result_Pdo.md b/de/api/Phalcon_Db_Result_Pdo.md index 2e053d67ae6f..91808dece71f 100644 --- a/de/api/Phalcon_Db_Result_Pdo.md +++ b/de/api/Phalcon_Db_Result_Pdo.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Db\\Result\\Pdo** -*implements* [Phalcon\Db\ResultInterface](/en/3.1.2/api/Phalcon_Db_ResultInterface) +*implements* [Phalcon\Db\ResultInterface](/en/3.2/api/Phalcon_Db_ResultInterface) Source on GitHub @@ -23,7 +23,7 @@ while ($robot = $result->fetchArray()) { ## Methods -public **__construct** ([Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) $connection, [PDOStatement](http://php.net/manual/en/class.pdostatement.php) $result, [*string* $sqlStatement], [*array* $bindParams], [*array* $bindTypes]) +public **__construct** ([Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) $connection, [PDOStatement](http://php.net/manual/en/class.pdostatement.php) $result, [*string* $sqlStatement], [*array* $bindParams], [*array* $bindTypes]) Phalcon\\Db\\Result\\Pdo constructor diff --git a/el/api/Phalcon_Acl_Adapter.md b/el/api/Phalcon_Acl_Adapter.md index 9f86a2a2a142..1696a50b6e15 100644 --- a/el/api/Phalcon_Acl_Adapter.md +++ b/el/api/Phalcon_Acl_Adapter.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Acl\\Adapter** -*implements* [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -20,7 +20,7 @@ public **getActiveAccess** () Active access which the list is checking if some role can access it -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) Sets the events manager @@ -36,58 +36,58 @@ public **getDefaultAction** () Returns the default ACL access level -abstract public **setNoArgumentsDefaultAction** (*mixed* $defaultAccess) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **setNoArgumentsDefaultAction** (*mixed* $defaultAccess) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **getNoArgumentsDefaultAction** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **getNoArgumentsDefaultAction** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **addRole** (*mixed* $role, [*mixed* $accessInherits]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **addRole** (*mixed* $role, [*mixed* $accessInherits]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **addInherit** (*mixed* $roleName, *mixed* $roleToInherit) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **addInherit** (*mixed* $roleName, *mixed* $roleToInherit) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **isRole** (*mixed* $roleName) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **isRole** (*mixed* $roleName) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **isResource** (*mixed* $resourceName) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **isResource** (*mixed* $resourceName) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **addResource** (*mixed* $resourceObject, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **addResource** (*mixed* $resourceObject, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **addResourceAccess** (*mixed* $resourceName, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **addResourceAccess** (*mixed* $resourceName, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **dropResourceAccess** (*mixed* $resourceName, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **dropResourceAccess** (*mixed* $resourceName, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **allow** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*mixed* $func]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **allow** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*mixed* $func]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **deny** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*mixed* $func]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **deny** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*mixed* $func]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **isAllowed** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*array* $parameters]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **isAllowed** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*array* $parameters]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **getRoles** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **getRoles** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **getResources** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **getResources** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... \ No newline at end of file diff --git a/el/api/Phalcon_Acl_Adapter_Memory.md b/el/api/Phalcon_Acl_Adapter_Memory.md index e9ea95ccda45..889751c95b98 100644 --- a/el/api/Phalcon_Acl_Adapter_Memory.md +++ b/el/api/Phalcon_Acl_Adapter_Memory.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Acl\\Adapter\\Memory** -*extends* abstract class [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +*extends* abstract class [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) -*implements* [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +*implements* [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) Source on GitHub @@ -105,7 +105,7 @@ public **isResource** (*mixed* $resourceName) Check whether resource exist in the resources list -public **addResource** ([Phalcon\Acl\Resource](/en/3.1.2/api/Phalcon_Acl_Resource) | *string* $resourceValue, *array* | *string* $accessList) +public **addResource** ([Phalcon\Acl\Resource](/en/3.2/api/Phalcon_Acl_Resource) | *string* $resourceValue, *array* | *string* $accessList) Adds a resource to the ACL list Access names can be a particular action, by example search, update, delete, etc or a list of them Example: @@ -224,30 +224,30 @@ public **getResources** () Return an array with every resource registered in the list -public **getActiveRole** () inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **getActiveRole** () inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Role which the list is checking if it's allowed to certain resource/access -public **getActiveResource** () inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **getActiveResource** () inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Resource which the list is checking if some role can access it -public **getActiveAccess** () inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **getActiveAccess** () inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Active access which the list is checking if some role can access it -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Sets the events manager -public **getEventsManager** () inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **getEventsManager** () inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Returns the internal event manager -public **setDefaultAction** (*mixed* $defaultAccess) inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **setDefaultAction** (*mixed* $defaultAccess) inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Sets the default access level (Phalcon\\Acl::ALLOW or Phalcon\\Acl::DENY) -public **getDefaultAction** () inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **getDefaultAction** () inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Returns the default ACL access level \ No newline at end of file diff --git a/el/api/Phalcon_Acl_Exception.md b/el/api/Phalcon_Acl_Exception.md index 153094579c30..9c1b44ab7b5d 100644 --- a/el/api/Phalcon_Acl_Exception.md +++ b/el/api/Phalcon_Acl_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Acl\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/el/api/Phalcon_Acl_Resource.md b/el/api/Phalcon_Acl_Resource.md index 1663e1ad2e93..25ac2d3e792b 100644 --- a/el/api/Phalcon_Acl_Resource.md +++ b/el/api/Phalcon_Acl_Resource.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Acl\\Resource** -*implements* [Phalcon\Acl\ResourceInterface](/en/3.1.2/api/Phalcon_Acl_ResourceInterface) +*implements* [Phalcon\Acl\ResourceInterface](/en/3.2/api/Phalcon_Acl_ResourceInterface) Source on GitHub diff --git a/el/api/Phalcon_Acl_Role.md b/el/api/Phalcon_Acl_Role.md index e105183dd7f4..c8252648d6c8 100644 --- a/el/api/Phalcon_Acl_Role.md +++ b/el/api/Phalcon_Acl_Role.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Acl\\Role** -*implements* [Phalcon\Acl\RoleInterface](/en/3.1.2/api/Phalcon_Acl_RoleInterface) +*implements* [Phalcon\Acl\RoleInterface](/en/3.2/api/Phalcon_Acl_RoleInterface) Source on GitHub diff --git a/el/api/Phalcon_Annotations_Adapter.md b/el/api/Phalcon_Annotations_Adapter.md index 7a2b31fc4dc1..d42ac348bbc9 100644 --- a/el/api/Phalcon_Annotations_Adapter.md +++ b/el/api/Phalcon_Annotations_Adapter.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Annotations\\Adapter** -*implements* [Phalcon\Annotations\AdapterInterface](/en/3.1.2/api/Phalcon_Annotations_AdapterInterface) +*implements* [Phalcon\Annotations\AdapterInterface](/en/3.2/api/Phalcon_Annotations_AdapterInterface) Source on GitHub @@ -8,7 +8,7 @@ This is the base class for Phalcon\\Annotations adapters ## Methods -public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) +public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) Sets the annotations parser diff --git a/el/api/Phalcon_Annotations_AdapterInterface.md b/el/api/Phalcon_Annotations_AdapterInterface.md index a4e2c689503a..a1ff65cb01a1 100644 --- a/el/api/Phalcon_Annotations_AdapterInterface.md +++ b/el/api/Phalcon_Annotations_AdapterInterface.md @@ -4,7 +4,7 @@ ## Methods -abstract public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) +abstract public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) ... diff --git a/el/api/Phalcon_Annotations_Adapter_Apc.md b/el/api/Phalcon_Annotations_Adapter_Apc.md index 1b8a1d6d0d7d..467622a88425 100644 --- a/el/api/Phalcon_Annotations_Adapter_Apc.md +++ b/el/api/Phalcon_Annotations_Adapter_Apc.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Annotations\\Adapter\\Apc** -*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) -*implements* [Phalcon\Annotations\AdapterInterface](/en/3.1.2/api/Phalcon_Annotations_AdapterInterface) +*implements* [Phalcon\Annotations\AdapterInterface](/en/3.2/api/Phalcon_Annotations_AdapterInterface) Source on GitHub @@ -27,34 +27,34 @@ public **read** (*mixed* $key) Reads parsed annotations from APC -public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) $data) +public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) $data) Writes parsed annotations to APC -public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Sets the annotations parser -public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotation reader -public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Parses or retrieves all the annotations found in a class -public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific method -public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific property \ No newline at end of file diff --git a/el/api/Phalcon_Annotations_Adapter_Files.md b/el/api/Phalcon_Annotations_Adapter_Files.md index fcb4c23e6c2e..e4c407e5954e 100644 --- a/el/api/Phalcon_Annotations_Adapter_Files.md +++ b/el/api/Phalcon_Annotations_Adapter_Files.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Annotations\\Adapter\\Files** -*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) -*implements* [Phalcon\Annotations\AdapterInterface](/en/3.1.2/api/Phalcon_Annotations_AdapterInterface) +*implements* [Phalcon\Annotations\AdapterInterface](/en/3.2/api/Phalcon_Annotations_AdapterInterface) Source on GitHub @@ -27,38 +27,38 @@ public **__construct** ([*array* $options]) Phalcon\\Annotations\\Adapter\\Files constructor -public [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) **read** (*string* $key) +public [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) **read** (*string* $key) Reads parsed annotations from files -public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) $data) +public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) $data) Writes parsed annotations to files -public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Sets the annotations parser -public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotation reader -public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Parses or retrieves all the annotations found in a class -public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific method -public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific property \ No newline at end of file diff --git a/el/api/Phalcon_Annotations_Adapter_Memory.md b/el/api/Phalcon_Annotations_Adapter_Memory.md index 53fc2e3769c7..205f20e6b1b8 100644 --- a/el/api/Phalcon_Annotations_Adapter_Memory.md +++ b/el/api/Phalcon_Annotations_Adapter_Memory.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Annotations\\Adapter\\Memory** -*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) -*implements* [Phalcon\Annotations\AdapterInterface](/en/3.1.2/api/Phalcon_Annotations_AdapterInterface) +*implements* [Phalcon\Annotations\AdapterInterface](/en/3.2/api/Phalcon_Annotations_AdapterInterface) Source on GitHub @@ -14,34 +14,34 @@ public **read** (*mixed* $key) Reads parsed annotations from memory -public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) $data) +public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) $data) Writes parsed annotations to memory -public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Sets the annotations parser -public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotation reader -public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Parses or retrieves all the annotations found in a class -public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific method -public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific property \ No newline at end of file diff --git a/el/api/Phalcon_Annotations_Adapter_Xcache.md b/el/api/Phalcon_Annotations_Adapter_Xcache.md index 79bfa9e6b4d3..37c97e7e6b8c 100644 --- a/el/api/Phalcon_Annotations_Adapter_Xcache.md +++ b/el/api/Phalcon_Annotations_Adapter_Xcache.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Annotations\\Adapter\\Xcache** -*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) -*implements* [Phalcon\Annotations\AdapterInterface](/en/3.1.2/api/Phalcon_Annotations_AdapterInterface) +*implements* [Phalcon\Annotations\AdapterInterface](/en/3.2/api/Phalcon_Annotations_AdapterInterface) Source on GitHub @@ -17,38 +17,38 @@ $annotations = new \Phalcon\Annotations\Adapter\Xcache(); ## Methods -public [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) **read** (*string* $key) +public [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) **read** (*string* $key) Reads parsed annotations from XCache -public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) $data) +public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) $data) Writes parsed annotations to XCache -public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Sets the annotations parser -public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotation reader -public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Parses or retrieves all the annotations found in a class -public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific method -public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific property \ No newline at end of file diff --git a/el/api/Phalcon_Annotations_Collection.md b/el/api/Phalcon_Annotations_Collection.md index 8176520b43ea..ba33511a50fe 100644 --- a/el/api/Phalcon_Annotations_Collection.md +++ b/el/api/Phalcon_Annotations_Collection.md @@ -36,7 +36,7 @@ public **rewind** () Rewinds the internal iterator -public [Phalcon\Annotations\Annotation](/en/3.1.2/api/Phalcon_Annotations_Annotation) **current** () +public [Phalcon\Annotations\Annotation](/en/3.2/api/Phalcon_Annotations_Annotation) **current** () Returns the current annotation in the iterator diff --git a/el/api/Phalcon_Annotations_Reader.md b/el/api/Phalcon_Annotations_Reader.md index 56ca9b058cd1..4e8e513ffea9 100644 --- a/el/api/Phalcon_Annotations_Reader.md +++ b/el/api/Phalcon_Annotations_Reader.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Annotations\\Reader** -*implements* [Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) +*implements* [Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) Source on GitHub diff --git a/el/api/Phalcon_Application.md b/el/api/Phalcon_Application.md index e7e767824af2..5ff2b07edaf4 100644 --- a/el/api/Phalcon_Application.md +++ b/el/api/Phalcon_Application.md @@ -1,8 +1,8 @@ # Abstract class **Phalcon\\Application** -*extends* abstract class [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +*extends* abstract class [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) -*implements* [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface) +*implements* [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface) Source on GitHub @@ -10,9 +10,9 @@ Base class for Phalcon\\Cli\\Console and Phalcon\\Mvc\\Application. ## Methods -public **__construct** ([[Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector]) +public **__construct** ([[Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector]) -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) Sets the events manager @@ -62,14 +62,14 @@ abstract public **handle** () Handles a request -public **setDI** ([Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **setDI** ([Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Sets the dependency injector -public **getDI** () inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **getDI** () inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Returns the internal dependency injector -public **__get** (*mixed* $propertyName) inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **__get** (*mixed* $propertyName) inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Magic method __get \ No newline at end of file diff --git a/el/api/Phalcon_Application_Exception.md b/el/api/Phalcon_Application_Exception.md index ade9f4d1b49e..49637aa88e5e 100644 --- a/el/api/Phalcon_Application_Exception.md +++ b/el/api/Phalcon_Application_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Application\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/el/api/Phalcon_Assets_Collection.md b/el/api/Phalcon_Assets_Collection.md index 9c3e06cdb077..f6f18d5a1d60 100644 --- a/el/api/Phalcon_Assets_Collection.md +++ b/el/api/Phalcon_Assets_Collection.md @@ -56,14 +56,35 @@ public **getSourcePath** () ... -public **add** ([Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) $resource) +public **__construct** () + +Phalcon\\Assets\\Collection constructor + +public **add** ([Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) $resource) Adds a resource to the collection -public **addInline** ([Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) $code) +public **addInline** ([Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) $code) Adds an inline code to the collection +public **has** ([Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) $resource) + +Checks this the resource is added to the collection. + +```php +has($resource); // true + +``` + public **addCss** (*mixed* $path, [*mixed* $local], [*mixed* $filter], [*mixed* $attributes]) Adds a CSS resource to the collection @@ -72,7 +93,7 @@ public **addInlineCss** (*mixed* $content, [*mixed* $filter], [*mixed* $attribut Adds an inline CSS to the collection -public [Phalcon\Assets\Collection](/en/3.1.2/api/Phalcon_Assets_Collection) **addJs** (*string* $path, [*boolean* $local], [*boolean* $filter], [*array* $attributes]) +public [Phalcon\Assets\Collection](/en/3.2/api/Phalcon_Assets_Collection) **addJs** (*string* $path, [*boolean* $local], [*boolean* $filter], [*array* $attributes]) Adds a javascript resource to the collection @@ -144,6 +165,10 @@ public **getRealTargetPath** (*mixed* $basePath) Returns the complete location where the joined/filtered collection must be written -public **addFilter** ([Phalcon\Assets\FilterInterface](/en/3.1.2/api/Phalcon_Assets_FilterInterface) $filter) +public **addFilter** ([Phalcon\Assets\FilterInterface](/en/3.2/api/Phalcon_Assets_FilterInterface) $filter) + +Adds a filter to the collection + +final protected **addResource** ([Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) $resource) -Adds a filter to the collection \ No newline at end of file +Adds a resource or inline-code to the collection \ No newline at end of file diff --git a/el/api/Phalcon_Assets_Exception.md b/el/api/Phalcon_Assets_Exception.md index bf3c9a57c01a..4c8c0516fd94 100644 --- a/el/api/Phalcon_Assets_Exception.md +++ b/el/api/Phalcon_Assets_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Assets\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/el/api/Phalcon_Assets_Filters_Cssmin.md b/el/api/Phalcon_Assets_Filters_Cssmin.md index 75e2781f79a0..a807a59e4880 100644 --- a/el/api/Phalcon_Assets_Filters_Cssmin.md +++ b/el/api/Phalcon_Assets_Filters_Cssmin.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Assets\\Filters\\Cssmin** -*implements* [Phalcon\Assets\FilterInterface](/en/3.1.2/api/Phalcon_Assets_FilterInterface) +*implements* [Phalcon\Assets\FilterInterface](/en/3.2/api/Phalcon_Assets_FilterInterface) Source on GitHub diff --git a/el/api/Phalcon_Assets_Filters_Jsmin.md b/el/api/Phalcon_Assets_Filters_Jsmin.md index 2ee9aa7f5390..2bfe2b4851a4 100644 --- a/el/api/Phalcon_Assets_Filters_Jsmin.md +++ b/el/api/Phalcon_Assets_Filters_Jsmin.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Assets\\Filters\\Jsmin** -*implements* [Phalcon\Assets\FilterInterface](/en/3.1.2/api/Phalcon_Assets_FilterInterface) +*implements* [Phalcon\Assets\FilterInterface](/en/3.2/api/Phalcon_Assets_FilterInterface) Source on GitHub diff --git a/el/api/Phalcon_Assets_Filters_None.md b/el/api/Phalcon_Assets_Filters_None.md index 93c79dd941f6..60e59aac09de 100644 --- a/el/api/Phalcon_Assets_Filters_None.md +++ b/el/api/Phalcon_Assets_Filters_None.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Assets\\Filters\\None** -*implements* [Phalcon\Assets\FilterInterface](/en/3.1.2/api/Phalcon_Assets_FilterInterface) +*implements* [Phalcon\Assets\FilterInterface](/en/3.2/api/Phalcon_Assets_FilterInterface) Source on GitHub diff --git a/el/api/Phalcon_Assets_Inline.md b/el/api/Phalcon_Assets_Inline.md index 05a1f622aa48..e5c3ef631536 100644 --- a/el/api/Phalcon_Assets_Inline.md +++ b/el/api/Phalcon_Assets_Inline.md @@ -1,5 +1,7 @@ # Class **Phalcon\\Assets\\Inline** +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) + Source on GitHub Represents an inline asset @@ -43,4 +45,8 @@ Sets if the resource must be filtered or not public **setAttributes** (*array* $attributes) -Sets extra HTML attributes \ No newline at end of file +Sets extra HTML attributes + +public **getResourceKey** () + +Gets the resource's key. \ No newline at end of file diff --git a/el/api/Phalcon_Assets_Inline_Css.md b/el/api/Phalcon_Assets_Inline_Css.md index c4d7a9d0e919..aad74b78beca 100644 --- a/el/api/Phalcon_Assets_Inline_Css.md +++ b/el/api/Phalcon_Assets_Inline_Css.md @@ -1,6 +1,8 @@ # Class **Phalcon\\Assets\\Inline\\Css** -*extends* class [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +*extends* class [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) + +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) Source on GitHub @@ -10,30 +12,34 @@ Represents an inlined CSS public **__construct** (*string* $content, [*boolean* $filter], [*array* $attributes]) -public **getType** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getType** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getContent** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getContent** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getFilter** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getFilter** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getAttributes** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getAttributes** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) Sets the inline's type -public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) Sets if the resource must be filtered or not -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) + +Sets extra HTML attributes + +public **getResourceKey** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) -Sets extra HTML attributes \ No newline at end of file +Gets the resource's key. \ No newline at end of file diff --git a/el/api/Phalcon_Assets_Inline_Js.md b/el/api/Phalcon_Assets_Inline_Js.md index 27d57246d817..1cce336b4116 100644 --- a/el/api/Phalcon_Assets_Inline_Js.md +++ b/el/api/Phalcon_Assets_Inline_Js.md @@ -1,6 +1,8 @@ # Class **Phalcon\\Assets\\Inline\\Js** -*extends* class [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +*extends* class [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) + +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) Source on GitHub @@ -10,30 +12,34 @@ Represents an inline Javascript public **__construct** (*string* $content, [*boolean* $filter], [*array* $attributes]) -public **getType** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getType** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getContent** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getContent** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getFilter** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getFilter** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getAttributes** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getAttributes** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) Sets the inline's type -public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) Sets if the resource must be filtered or not -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) + +Sets extra HTML attributes + +public **getResourceKey** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) -Sets extra HTML attributes \ No newline at end of file +Gets the resource's key. \ No newline at end of file diff --git a/el/api/Phalcon_Assets_Manager.md b/el/api/Phalcon_Assets_Manager.md index 55ab07f19201..13ecabf4ff9c 100644 --- a/el/api/Phalcon_Assets_Manager.md +++ b/el/api/Phalcon_Assets_Manager.md @@ -52,7 +52,7 @@ public **addInlineJs** (*mixed* $content, [*mixed* $filter], [*mixed* $attribute Adds an inline javascript to the 'js' collection -public **addResourceByType** (*mixed* $type, [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) $resource) +public **addResourceByType** (*mixed* $type, [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) $resource) Adds a resource by its type @@ -65,11 +65,11 @@ $assets->addResourceByType("css", ``` -public **addInlineCodeByType** (*mixed* $type, [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) $code) +public **addInlineCodeByType** (*mixed* $type, [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) $code) Adds an inline code by its type -public **addResource** ([Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) $resource) +public **addResource** ([Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) $resource) Adds a raw resource to the manager @@ -82,11 +82,11 @@ $assets->addResource( ``` -public **addInlineCode** ([Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) $code) +public **addInlineCode** ([Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) $code) Adds a raw inline code to the manager -public **set** (*mixed* $id, [Phalcon\Assets\Collection](/en/3.1.2/api/Phalcon_Assets_Collection) $collection) +public **set** (*mixed* $id, [Phalcon\Assets\Collection](/en/3.2/api/Phalcon_Assets_Collection) $collection) Sets a collection in the Assets Manager @@ -99,7 +99,7 @@ $assets->set("js", $collection); public **get** (*mixed* $id) -Returns a collection by its id +Returns a collection by its id. ```php exists("jsHeader")) { + // \Phalcon\Assets\Collection + $collection = $assets->get("jsHeader"); +} + +``` \ No newline at end of file diff --git a/el/api/Phalcon_Assets_Resource.md b/el/api/Phalcon_Assets_Resource.md index 9718061c348e..d67dc71b7929 100644 --- a/el/api/Phalcon_Assets_Resource.md +++ b/el/api/Phalcon_Assets_Resource.md @@ -1,5 +1,7 @@ # Class **Phalcon\\Assets\\Resource** +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) + Source on GitHub Represents an asset resource @@ -85,4 +87,8 @@ Returns the complete location where the resource is located public **getRealTargetPath** ([*mixed* $basePath]) -Returns the complete location where the resource must be written \ No newline at end of file +Returns the complete location where the resource must be written + +public **getResourceKey** () + +Gets the resource's key. \ No newline at end of file diff --git a/el/api/Phalcon_Assets_Resource_Css.md b/el/api/Phalcon_Assets_Resource_Css.md index 9376a4de5f6d..11c938e391ca 100644 --- a/el/api/Phalcon_Assets_Resource_Css.md +++ b/el/api/Phalcon_Assets_Resource_Css.md @@ -1,6 +1,8 @@ # Class **Phalcon\\Assets\\Resource\\Css** -*extends* class [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +*extends* class [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) + +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) Source on GitHub @@ -10,72 +12,76 @@ Represents CSS resources public **__construct** (*string* $path, [*boolean* $local], [*boolean* $filter], [*array* $attributes]) -public **getType** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getType** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getPath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getPath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getLocal** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getLocal** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getFilter** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getFilter** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getAttributes** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getAttributes** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getSourcePath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getSourcePath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **getTargetPath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getTargetPath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **getTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's type -public **setPath** (*mixed* $path) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setPath** (*mixed* $path) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's path -public **setLocal** (*mixed* $local) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setLocal** (*mixed* $local) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets if the resource is local or external -public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets if the resource must be filtered or not -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets extra HTML attributes -public **setTargetUri** (*mixed* $targetUri) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setTargetUri** (*mixed* $targetUri) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets a target uri for the generated HTML -public **setSourcePath** (*mixed* $sourcePath) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setSourcePath** (*mixed* $sourcePath) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's source path -public **setTargetPath** (*mixed* $targetPath) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setTargetPath** (*mixed* $targetPath) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's target path -public **getContent** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getContent** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the content of the resource as an string Optionally a base path where the resource is located can be set -public **getRealTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the real target uri for the generated HTML -public **getRealSourcePath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealSourcePath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the complete location where the resource is located -public **getRealTargetPath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealTargetPath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) + +Returns the complete location where the resource must be written + +public **getResourceKey** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -Returns the complete location where the resource must be written \ No newline at end of file +Gets the resource's key. \ No newline at end of file diff --git a/el/api/Phalcon_Assets_Resource_Js.md b/el/api/Phalcon_Assets_Resource_Js.md index a4c132ff1ed1..2acc4d239b9d 100644 --- a/el/api/Phalcon_Assets_Resource_Js.md +++ b/el/api/Phalcon_Assets_Resource_Js.md @@ -1,6 +1,8 @@ # Class **Phalcon\\Assets\\Resource\\Js** -*extends* class [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +*extends* class [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) + +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) Source on GitHub @@ -10,72 +12,76 @@ Represents Javascript resources public **__construct** (*string* $path, [*boolean* $local], [*boolean* $filter], [*array* $attributes]) -public **getType** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getType** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getPath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getPath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getLocal** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getLocal** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getFilter** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getFilter** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getAttributes** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getAttributes** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getSourcePath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getSourcePath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **getTargetPath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getTargetPath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **getTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's type -public **setPath** (*mixed* $path) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setPath** (*mixed* $path) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's path -public **setLocal** (*mixed* $local) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setLocal** (*mixed* $local) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets if the resource is local or external -public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets if the resource must be filtered or not -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets extra HTML attributes -public **setTargetUri** (*mixed* $targetUri) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setTargetUri** (*mixed* $targetUri) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets a target uri for the generated HTML -public **setSourcePath** (*mixed* $sourcePath) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setSourcePath** (*mixed* $sourcePath) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's source path -public **setTargetPath** (*mixed* $targetPath) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setTargetPath** (*mixed* $targetPath) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's target path -public **getContent** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getContent** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the content of the resource as an string Optionally a base path where the resource is located can be set -public **getRealTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the real target uri for the generated HTML -public **getRealSourcePath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealSourcePath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the complete location where the resource is located -public **getRealTargetPath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealTargetPath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) + +Returns the complete location where the resource must be written + +public **getResourceKey** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -Returns the complete location where the resource must be written \ No newline at end of file +Gets the resource's key. \ No newline at end of file diff --git a/el/api/Phalcon_Cache_Backend.md b/el/api/Phalcon_Cache_Backend.md index f81ba2e57820..6e8b2e14bbff 100644 --- a/el/api/Phalcon_Cache_Backend.md +++ b/el/api/Phalcon_Cache_Backend.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Cache\\Backend** -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -32,7 +32,7 @@ public **setLastKey** (*mixed* $lastKey) ... -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend constructor @@ -56,22 +56,22 @@ public *int* **getLifetime** () Gets the last lifetime set -abstract public **get** (*mixed* $keyName, [*mixed* $lifetime]) inherited from [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +abstract public **get** (*mixed* $keyName, [*mixed* $lifetime]) inherited from [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) ... -abstract public **save** ([*mixed* $keyName], [*mixed* $content], [*mixed* $lifetime], [*mixed* $stopBuffer]) inherited from [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +abstract public **save** ([*mixed* $keyName], [*mixed* $content], [*mixed* $lifetime], [*mixed* $stopBuffer]) inherited from [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) ... -abstract public **delete** (*mixed* $keyName) inherited from [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +abstract public **delete** (*mixed* $keyName) inherited from [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) ... -abstract public **queryKeys** ([*mixed* $prefix]) inherited from [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +abstract public **queryKeys** ([*mixed* $prefix]) inherited from [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) ... -abstract public **exists** ([*mixed* $keyName], [*mixed* $lifetime]) inherited from [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +abstract public **exists** ([*mixed* $keyName], [*mixed* $lifetime]) inherited from [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) ... \ No newline at end of file diff --git a/el/api/Phalcon_Cache_Backend_Apc.md b/el/api/Phalcon_Cache_Backend_Apc.md index 6f08c1fef4b7..92b01c89d25a 100644 --- a/el/api/Phalcon_Cache_Backend_Apc.md +++ b/el/api/Phalcon_Cache_Backend_Apc.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Apc** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -94,50 +94,50 @@ $cache->flush(); ``` -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Phalcon\\Cache\\Backend constructor -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/el/api/Phalcon_Cache_Backend_File.md b/el/api/Phalcon_Cache_Backend_File.md index 78c3aff0e84c..3ea73b705889 100644 --- a/el/api/Phalcon_Cache_Backend_File.md +++ b/el/api/Phalcon_Cache_Backend_File.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\File** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -44,7 +44,7 @@ if ($content === null) { ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, *array* $options) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, *array* $options) Phalcon\\Cache\\Backend\\File constructor @@ -98,46 +98,46 @@ public **useSafeKey** (*mixed* $useSafeKey) Set whether to use the safekey or not -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/el/api/Phalcon_Cache_Backend_Libmemcached.md b/el/api/Phalcon_Cache_Backend_Libmemcached.md index 88948897b300..9ec4b031d82e 100644 --- a/el/api/Phalcon_Cache_Backend_Libmemcached.md +++ b/el/api/Phalcon_Cache_Backend_Libmemcached.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Libmemcached** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -49,7 +49,7 @@ $data = $cache->get("my-data"); ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend\\Memcache constructor @@ -116,46 +116,46 @@ $cache->flush(); ``` -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/el/api/Phalcon_Cache_Backend_Memcache.md b/el/api/Phalcon_Cache_Backend_Memcache.md index 7310592149b1..6f2575ca5c8d 100644 --- a/el/api/Phalcon_Cache_Backend_Memcache.md +++ b/el/api/Phalcon_Cache_Backend_Memcache.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Memcache** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -43,7 +43,7 @@ $data = $cache->get("my-data"); ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend\\Memcache constructor @@ -97,46 +97,46 @@ public **flush** () Immediately invalidates all existing items. -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/el/api/Phalcon_Cache_Backend_Memory.md b/el/api/Phalcon_Cache_Backend_Memory.md index 06a4216cf7ac..a269432ab9f3 100644 --- a/el/api/Phalcon_Cache_Backend_Memory.md +++ b/el/api/Phalcon_Cache_Backend_Memory.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Memory** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface), [Serializable](http://php.net/manual/en/class.serializable.php) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface), [Serializable](http://php.net/manual/en/class.serializable.php) Source on GitHub @@ -79,50 +79,50 @@ public **unserialize** (*mixed* $data) Required for interface \\Serializable -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Phalcon\\Cache\\Backend constructor -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/el/api/Phalcon_Cache_Backend_Mongo.md b/el/api/Phalcon_Cache_Backend_Mongo.md index 9ad0f67b530c..6421cd0f4f29 100644 --- a/el/api/Phalcon_Cache_Backend_Mongo.md +++ b/el/api/Phalcon_Cache_Backend_Mongo.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Mongo** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -44,7 +44,7 @@ $data = $cache->get("my-data"); ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend\\Mongo constructor @@ -98,46 +98,46 @@ public **flush** () Immediately invalidates all existing items. -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/el/api/Phalcon_Cache_Backend_Redis.md b/el/api/Phalcon_Cache_Backend_Redis.md index 123bf025f2af..a3509251d509 100644 --- a/el/api/Phalcon_Cache_Backend_Redis.md +++ b/el/api/Phalcon_Cache_Backend_Redis.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Redis** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -45,7 +45,7 @@ $data = $cache->get("my-data"); ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend\\Redis constructor @@ -105,46 +105,46 @@ public **flush** () Immediately invalidates all existing items. -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/el/api/Phalcon_Cache_Backend_Xcache.md b/el/api/Phalcon_Cache_Backend_Xcache.md index b91e75b19c79..7dac8215d5f3 100644 --- a/el/api/Phalcon_Cache_Backend_Xcache.md +++ b/el/api/Phalcon_Cache_Backend_Xcache.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Xcache** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -38,7 +38,7 @@ $data = $cache->get("my-data"); ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend\\Xcache constructor @@ -84,46 +84,46 @@ public **flush** () Immediately invalidates all existing items. -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/el/api/Phalcon_Cache_Exception.md b/el/api/Phalcon_Cache_Exception.md index cbb05a3a76e4..87f2372e7864 100644 --- a/el/api/Phalcon_Cache_Exception.md +++ b/el/api/Phalcon_Cache_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/el/api/Phalcon_Cache_Frontend_Base64.md b/el/api/Phalcon_Cache_Frontend_Base64.md index 92f36996b4b7..473895a88aa8 100644 --- a/el/api/Phalcon_Cache_Frontend_Base64.md +++ b/el/api/Phalcon_Cache_Frontend_Base64.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Frontend\\Base64** -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/el/api/Phalcon_Cache_Frontend_Data.md b/el/api/Phalcon_Cache_Frontend_Data.md index f46469ab7410..1f249be7103c 100644 --- a/el/api/Phalcon_Cache_Frontend_Data.md +++ b/el/api/Phalcon_Cache_Frontend_Data.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Frontend\\Data** -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/el/api/Phalcon_Cache_Frontend_Igbinary.md b/el/api/Phalcon_Cache_Frontend_Igbinary.md index 1460a42ce867..714a96bb4de1 100644 --- a/el/api/Phalcon_Cache_Frontend_Igbinary.md +++ b/el/api/Phalcon_Cache_Frontend_Igbinary.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Frontend\\Igbinary** -*extends* class [Phalcon\Cache\Frontend\Data](/en/3.1.2/api/Phalcon_Cache_Frontend_Data) +*extends* class [Phalcon\Cache\Frontend\Data](/en/3.2/api/Phalcon_Cache_Frontend_Data) -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/el/api/Phalcon_Cache_Frontend_Json.md b/el/api/Phalcon_Cache_Frontend_Json.md index 64a296ca976f..bfe39cdc53c4 100644 --- a/el/api/Phalcon_Cache_Frontend_Json.md +++ b/el/api/Phalcon_Cache_Frontend_Json.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Frontend\\Json** -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/el/api/Phalcon_Cache_Frontend_Msgpack.md b/el/api/Phalcon_Cache_Frontend_Msgpack.md index f77a99a21168..857b40d4bbdc 100644 --- a/el/api/Phalcon_Cache_Frontend_Msgpack.md +++ b/el/api/Phalcon_Cache_Frontend_Msgpack.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Frontend\\Msgpack** -*extends* class [Phalcon\Cache\Frontend\Data](/en/3.1.2/api/Phalcon_Cache_Frontend_Data) +*extends* class [Phalcon\Cache\Frontend\Data](/en/3.2/api/Phalcon_Cache_Frontend_Data) -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/el/api/Phalcon_Cache_Frontend_None.md b/el/api/Phalcon_Cache_Frontend_None.md index 521fcd02f344..bdc0af2d4135 100644 --- a/el/api/Phalcon_Cache_Frontend_None.md +++ b/el/api/Phalcon_Cache_Frontend_None.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Frontend\\None** -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/el/api/Phalcon_Cache_Frontend_Output.md b/el/api/Phalcon_Cache_Frontend_Output.md index 8421c02f1276..c6a0543703d6 100644 --- a/el/api/Phalcon_Cache_Frontend_Output.md +++ b/el/api/Phalcon_Cache_Frontend_Output.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Frontend\\Output** -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/el/api/Phalcon_Cache_Multiple.md b/el/api/Phalcon_Cache_Multiple.md index bbfa61a13274..1d9fd1365aa9 100644 --- a/el/api/Phalcon_Cache_Multiple.md +++ b/el/api/Phalcon_Cache_Multiple.md @@ -65,11 +65,11 @@ $cache->save("my-key", $data); ## Methods -public **__construct** ([[Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface[]) $backends]) +public **__construct** ([[Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface[]) $backends]) Phalcon\\Cache\\Multiple constructor -public **push** ([Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) $backend) +public **push** ([Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) $backend) Adds a backend diff --git a/el/api/Phalcon_Cli_Console.md b/el/api/Phalcon_Cli_Console.md index c769b7ad7659..f0337bf3f1ec 100644 --- a/el/api/Phalcon_Cli_Console.md +++ b/el/api/Phalcon_Cli_Console.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cli\\Console** -*extends* abstract class [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +*extends* abstract class [Phalcon\Application](/en/3.2/api/Phalcon_Application) -*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -36,19 +36,19 @@ public **setArgument** ([*array* $arguments], [*mixed* $str], [*mixed* $shift]) Set an specific argument -public **__construct** ([[Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector]) inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **__construct** ([[Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector]) inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Phalcon\\Application -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Sets the events manager -public **getEventsManager** () inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **getEventsManager** () inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Returns the internal event manager -public **registerModules** (*array* $modules, [*mixed* $merge]) inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **registerModules** (*array* $modules, [*mixed* $merge]) inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Register an array of modules present in the application @@ -70,30 +70,30 @@ $this->registerModules( ``` -public **getModules** () inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **getModules** () inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Return the modules registered in the application -public **getModule** (*mixed* $name) inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **getModule** (*mixed* $name) inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Gets the module definition registered in the application via module name -public **setDefaultModule** (*mixed* $defaultModule) inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **setDefaultModule** (*mixed* $defaultModule) inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Sets the module name to be used if the router doesn't return a valid module -public **getDefaultModule** () inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **getDefaultModule** () inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Returns the default module name -public **setDI** ([Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **setDI** ([Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Sets the dependency injector -public **getDI** () inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **getDI** () inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Returns the internal dependency injector -public **__get** (*mixed* $propertyName) inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **__get** (*mixed* $propertyName) inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Magic method __get \ No newline at end of file diff --git a/el/api/Phalcon_Cli_Console_Exception.md b/el/api/Phalcon_Cli_Console_Exception.md index 64a6f1f9162a..e7bfea5dbde1 100644 --- a/el/api/Phalcon_Cli_Console_Exception.md +++ b/el/api/Phalcon_Cli_Console_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cli\\Console\\Exception** -*extends* class [Phalcon\Application\Exception](/en/3.1.2/api/Phalcon_Application_Exception) +*extends* class [Phalcon\Application\Exception](/en/3.2/api/Phalcon_Application_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/el/api/Phalcon_Cli_Dispatcher.md b/el/api/Phalcon_Cli_Dispatcher.md index 7b91f5c9f537..f03b7c7c61ac 100644 --- a/el/api/Phalcon_Cli_Dispatcher.md +++ b/el/api/Phalcon_Cli_Dispatcher.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cli\\Dispatcher** -*extends* abstract class [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +*extends* abstract class [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) -*implements* [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface), [Phalcon\Cli\DispatcherInterface](/en/3.1.2/api/Phalcon_Cli_DispatcherInterface) +*implements* [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface), [Phalcon\Cli\DispatcherInterface](/en/3.2/api/Phalcon_Cli_DispatcherInterface) Source on GitHub @@ -11,10 +11,11 @@ Dispatching is the process of taking the command-line arguments, extracting the ```php setDi($di); $dispatcher->setTaskName("posts"); @@ -81,107 +82,115 @@ public **getOptions** () Get dispatched options +public **getOption** (*mixed* $option, [*string* | *array* $filters], [*mixed* $defaultValue]) + +Gets an option by its name or numeric index + +public **hasOption** (*mixed* $option) + +Check if an option exists + public **callActionMethod** (*mixed* $handler, *mixed* $actionMethod, [*array* $params]) -... +Calls the action method. -public **setDI** ([Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setDI** ([Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the dependency injector -public **getDI** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getDI** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns the internal dependency injector -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the events manager -public **getEventsManager** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getEventsManager** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns the internal event manager -public **setActionSuffix** (*mixed* $actionSuffix) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setActionSuffix** (*mixed* $actionSuffix) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the default action suffix -public **getActionSuffix** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getActionSuffix** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets the default action suffix -public **setModuleName** (*mixed* $moduleName) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setModuleName** (*mixed* $moduleName) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the module where the controller is (only informative) -public **getModuleName** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getModuleName** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets the module where the controller class is -public **setNamespaceName** (*mixed* $namespaceName) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setNamespaceName** (*mixed* $namespaceName) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the namespace where the controller class is -public **getNamespaceName** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getNamespaceName** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets a namespace to be prepended to the current handler name -public **setDefaultNamespace** (*mixed* $namespaceName) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setDefaultNamespace** (*mixed* $namespaceName) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the default namespace -public **getDefaultNamespace** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getDefaultNamespace** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns the default namespace -public **setDefaultAction** (*mixed* $actionName) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setDefaultAction** (*mixed* $actionName) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the default action name -public **setActionName** (*mixed* $actionName) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setActionName** (*mixed* $actionName) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the action name to be dispatched -public **getActionName** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getActionName** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets the latest dispatched action name -public **setParams** (*array* $params) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setParams** (*array* $params) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets action params to be dispatched -public **getParams** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getParams** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets action params -public **setParam** (*mixed* $param, *mixed* $value) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setParam** (*mixed* $param, *mixed* $value) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Set a param by its name or numeric index -public *mixed* **getParam** (*mixed* $param, [*string* | *array* $filters], [*mixed* $defaultValue]) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public *mixed* **getParam** (*mixed* $param, [*string* | *array* $filters], [*mixed* $defaultValue]) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets a param by its name or numeric index -public *boolean* **hasParam** (*mixed* $param) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public *boolean* **hasParam** (*mixed* $param) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Check if a param exists -public **getActiveMethod** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getActiveMethod** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns the current method to be/executed in the dispatcher -public **isFinished** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **isFinished** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Checks if the dispatch loop is finished or has more pendent controllers/tasks to dispatch -public **setReturnedValue** (*mixed* $value) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setReturnedValue** (*mixed* $value) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the latest returned value by an action manually -public *mixed* **getReturnedValue** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public *mixed* **getReturnedValue** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns value returned by the latest dispatched action -public **setModelBinding** (*mixed* $value, [*mixed* $cache]) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setModelBinding** (*mixed* $value, [*mixed* $cache]) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Enable/Disable model binding during dispatch @@ -197,7 +206,7 @@ $di->set('dispatcher', function() { ``` -public **setModelBinder** ([Phalcon\Mvc\Model\BinderInterface](/en/3.1.2/api/Phalcon_Mvc_Model_BinderInterface) $modelBinder, [*mixed* $cache]) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setModelBinder** ([Phalcon\Mvc\Model\BinderInterface](/en/3.2/api/Phalcon_Mvc_Model_BinderInterface) $modelBinder, [*mixed* $cache]) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Enable model binding during dispatch @@ -213,21 +222,21 @@ $di->set('dispatcher', function() { ``` -public **getModelBinder** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getModelBinder** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets model binder -public *object* **dispatch** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public *object* **dispatch** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Dispatches a handle action taking into account the routing parameters -protected *object* **_dispatch** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +protected *object* **_dispatch** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Dispatches a handle action taking into account the routing parameters -public **forward** (*array* $forward) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **forward** (*array* $forward) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) -Forwards the execution flow to another controller/action Dispatchers are unique per module. Forwarding between modules is not allowed +Forwards the execution flow to another controller/action. ```php dispatcher->forward( ``` -public **wasForwarded** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **wasForwarded** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Check if the current executed action was forwarded by another one -public **getHandlerClass** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getHandlerClass** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Possible class name that will be located to dispatch the request -public **getBoundModels** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getBoundModels** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns bound models from binder instance @@ -266,6 +275,6 @@ class UserController extends Controller ``` -protected **_resolveEmptyProperties** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +protected **_resolveEmptyProperties** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Set empty properties to their defaults (where defaults are available) \ No newline at end of file diff --git a/el/api/Phalcon_Cli_DispatcherInterface.md b/el/api/Phalcon_Cli_DispatcherInterface.md index 58914bf4b682..78f4d7b40c9c 100644 --- a/el/api/Phalcon_Cli_DispatcherInterface.md +++ b/el/api/Phalcon_Cli_DispatcherInterface.md @@ -1,6 +1,6 @@ # Interface **Phalcon\\Cli\\DispatcherInterface** -*implements* [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +*implements* [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) Source on GitHub @@ -30,70 +30,70 @@ abstract public **getActiveTask** () ... -abstract public **setActionSuffix** (*mixed* $actionSuffix) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setActionSuffix** (*mixed* $actionSuffix) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **getActionSuffix** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **getActionSuffix** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setDefaultNamespace** (*mixed* $defaultNamespace) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setDefaultNamespace** (*mixed* $defaultNamespace) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setDefaultAction** (*mixed* $actionName) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setDefaultAction** (*mixed* $actionName) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setNamespaceName** (*mixed* $namespaceName) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setNamespaceName** (*mixed* $namespaceName) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setModuleName** (*mixed* $moduleName) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setModuleName** (*mixed* $moduleName) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setActionName** (*mixed* $actionName) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setActionName** (*mixed* $actionName) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **getActionName** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **getActionName** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setParams** (*mixed* $params) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setParams** (*mixed* $params) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **getParams** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **getParams** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setParam** (*mixed* $param, *mixed* $value) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setParam** (*mixed* $param, *mixed* $value) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **getParam** (*mixed* $param, [*mixed* $filters]) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **getParam** (*mixed* $param, [*mixed* $filters]) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **hasParam** (*mixed* $param) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **hasParam** (*mixed* $param) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **isFinished** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **isFinished** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **getReturnedValue** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **getReturnedValue** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **dispatch** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **dispatch** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **forward** (*mixed* $forward) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **forward** (*mixed* $forward) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... \ No newline at end of file diff --git a/el/api/Phalcon_Cli_Dispatcher_Exception.md b/el/api/Phalcon_Cli_Dispatcher_Exception.md index 0eeb05860d89..fbd0a6c4292d 100644 --- a/el/api/Phalcon_Cli_Dispatcher_Exception.md +++ b/el/api/Phalcon_Cli_Dispatcher_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cli\\Dispatcher\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/el/api/Phalcon_Cli_Router.md b/el/api/Phalcon_Cli_Router.md index d2cb10a44276..5a0943627b36 100644 --- a/el/api/Phalcon_Cli_Router.md +++ b/el/api/Phalcon_Cli_Router.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cli\\Router** -*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface) +*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface) Source on GitHub @@ -29,7 +29,7 @@ public **__construct** ([*mixed* $defaultRoutes]) Phalcon\\Cli\\Router constructor -public **setDI** ([Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector) +public **setDI** ([Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector) Sets the dependency injector @@ -69,7 +69,7 @@ public **handle** ([*array* $arguments]) Handles routing information received from command-line arguments -public [Phalcon\Cli\Router\Route](/en/3.1.2/api/Phalcon_Cli_Router_Route) **add** (*string* $pattern, [*string/array* $paths]) +public [Phalcon\Cli\Router\Route](/en/3.2/api/Phalcon_Cli_Router_Route) **add** (*string* $pattern, [*string/array* $paths]) Adds a route to the router @@ -112,7 +112,7 @@ public **getRoutes** () Returns all the routes defined in the router -public [Phalcon\Cli\Router\Route](/en/3.1.2/api/Phalcon_Cli_Router_Route) **getRouteById** (*int* $id) +public [Phalcon\Cli\Router\Route](/en/3.2/api/Phalcon_Cli_Router_Route) **getRouteById** (*int* $id) Returns a route object by its id diff --git a/el/api/Phalcon_Cli_Router_Exception.md b/el/api/Phalcon_Cli_Router_Exception.md index ebd81a411422..e063b3861132 100644 --- a/el/api/Phalcon_Cli_Router_Exception.md +++ b/el/api/Phalcon_Cli_Router_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cli\\Router\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/el/api/Phalcon_Db_Adapter.md b/el/api/Phalcon_Db_Adapter.md index c1deaded19cd..a5d397a98c83 100644 --- a/el/api/Phalcon_Db_Adapter.md +++ b/el/api/Phalcon_Db_Adapter.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Db\\Adapter** -*implements* [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -24,7 +24,7 @@ public **__construct** (*array* $descriptor) Phalcon\\Db\\Adapter constructor -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) Sets the event manager @@ -32,7 +32,7 @@ public **getEventsManager** () Returns the internal event manager -public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) $dialect) +public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) $dialect) Sets the dialect used to produce the SQL @@ -309,11 +309,11 @@ public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExist Drops a view -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Adds a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) Modifies a table column based on a definition @@ -321,7 +321,7 @@ public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnN Drops a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Adds an index to a table @@ -329,7 +329,7 @@ public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexNam Drop an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Adds a primary key to a table @@ -337,7 +337,7 @@ public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) Drops a table's primary key -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) Adds a foreign key to a table @@ -345,7 +345,7 @@ public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $ref Drops a foreign key from a table -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Returns the SQL column definition from a column @@ -375,7 +375,7 @@ print_r( ``` -public [Phalcon\Db\Index](/en/3.1.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) +public [Phalcon\Db\Index](/en/3.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) Lists table indexes @@ -512,54 +512,54 @@ public *array* **getSQLBindTypes** () Active SQL statement in the object -abstract public **connect** ([*array* $descriptor]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **connect** ([*array* $descriptor]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **query** (*mixed* $sqlStatement, [*mixed* $placeholders], [*mixed* $dataTypes]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **query** (*mixed* $sqlStatement, [*mixed* $placeholders], [*mixed* $dataTypes]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **execute** (*mixed* $sqlStatement, [*mixed* $placeholders], [*mixed* $dataTypes]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **execute** (*mixed* $sqlStatement, [*mixed* $placeholders], [*mixed* $dataTypes]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **affectedRows** () inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **affectedRows** () inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **close** () inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **close** () inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **lastInsertId** ([*mixed* $sequenceName]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **lastInsertId** ([*mixed* $sequenceName]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **isUnderTransaction** () inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **isUnderTransaction** () inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **getInternalHandler** () inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **getInternalHandler** () inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... \ No newline at end of file diff --git a/el/api/Phalcon_Db_AdapterInterface.md b/el/api/Phalcon_Db_AdapterInterface.md index 2b9bec9a2acd..4c6a8f54b3f1 100644 --- a/el/api/Phalcon_Db_AdapterInterface.md +++ b/el/api/Phalcon_Db_AdapterInterface.md @@ -64,11 +64,11 @@ abstract public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* ... -abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) ... -abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) ... @@ -76,7 +76,7 @@ abstract public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* ... -abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) ... @@ -84,7 +84,7 @@ abstract public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* ... -abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) ... @@ -92,7 +92,7 @@ abstract public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) ... -abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) ... @@ -100,7 +100,7 @@ abstract public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mi ... -abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) ... diff --git a/el/api/Phalcon_Db_Adapter_Pdo.md b/el/api/Phalcon_Db_Adapter_Pdo.md index 44de7d9e6e1f..c23a014e3d58 100644 --- a/el/api/Phalcon_Db_Adapter_Pdo.md +++ b/el/api/Phalcon_Db_Adapter_Pdo.md @@ -1,8 +1,8 @@ # Abstract class **Phalcon\\Db\\Adapter\\Pdo** -*extends* abstract class [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +*extends* abstract class [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) -*implements* [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +*implements* [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) Source on GitHub @@ -262,35 +262,35 @@ public *array* **getErrorInfo** () Return the error info, if any -public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Name of the dialect used -public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Type of database system the adapter is used for -public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL bound parameter variables -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the event manager -public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the internal event manager -public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the dialect used to produce the SQL -public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns internal dialect instance -public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the first row in a SQL query result @@ -307,7 +307,7 @@ print_r($robot); ``` -public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Dumps the complete result of a query into an array @@ -338,7 +338,7 @@ foreach($robots as $robot) { ``` -public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the n'th field of first row in a SQL query result @@ -358,7 +358,7 @@ print_r($robot); ``` -public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RDBMS SQL syntax @@ -377,7 +377,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RBDM SQL syntax @@ -398,7 +398,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax @@ -435,7 +435,7 @@ $success = $connection->update( Warning! If $whereCondition is string it not escaped. -public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax Another, more convenient syntax @@ -456,7 +456,7 @@ UPDATE `robots` SET `name` = "Astro boy" WHERE id = 101 ``` -public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Deletes data from a table using custom RBDM SQL syntax @@ -474,7 +474,7 @@ DELETE FROM `robots` WHERE `id` = 101 ``` -public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Escapes a column/table/schema name @@ -494,11 +494,11 @@ $escapedTable = $connection->escapeIdentifier( ``` -public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets a list of columns -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Appends a LIMIT clause to $sqlQuery argument @@ -509,7 +509,7 @@ echo $connection->limit("SELECT * FROM robots", 5); ``` -public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.table @@ -522,7 +522,7 @@ var_dump( ``` -public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.view @@ -535,71 +535,71 @@ var_dump( ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a FOR UPDATE clause -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a LOCK IN SHARE MODE clause -public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a table -public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table from a schema/database -public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a view -public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a view -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Modifies a table column based on a definition -public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds an index to a table -public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drop an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a primary key to a table -public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table's primary key -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a foreign key to a table -public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a foreign key from a table -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the SQL column definition from a column -public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all tables on a database @@ -612,7 +612,7 @@ print_r( ``` -public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all views on a database @@ -625,7 +625,7 @@ print_r( ``` -public [Phalcon\Db\Index](/en/3.1.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public [Phalcon\Db\Index](/en/3.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Lists table indexes @@ -638,7 +638,7 @@ print_r( ``` -public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Lists table references @@ -651,7 +651,7 @@ print_r( ``` -public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets creation options from a table @@ -664,31 +664,31 @@ print_r( ``` -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Releases given savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Rollbacks given savepoint -public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Set if nested transactions should use savepoints -public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns if nested transactions should use savepoints -public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the savepoint name to use for nested transactions -public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default identity value to be inserted in an identity column @@ -712,7 +712,7 @@ $success = $connection->insert( ``` -public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default value to make the RBDM use the default value declared in the table definition @@ -734,34 +734,34 @@ $success = $connection->insert( ``` -public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Check whether the database system requires a sequence to produce auto-numeric values -public **useExplicitIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **useExplicitIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Check whether the database system requires an explicit value for identity columns -public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Return descriptor used to connect to the active database -public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets the active connection unique identifier -public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object -public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object without replace bound parameters -public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object -abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... \ No newline at end of file diff --git a/el/api/Phalcon_Db_Adapter_Pdo_Mysql.md b/el/api/Phalcon_Db_Adapter_Pdo_Mysql.md index fe17030fddcf..5013bf0def80 100644 --- a/el/api/Phalcon_Db_Adapter_Pdo_Mysql.md +++ b/el/api/Phalcon_Db_Adapter_Pdo_Mysql.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Adapter\\Pdo\\Mysql** -*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) -*implements* [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -40,7 +40,7 @@ print_r( ``` -public [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface[]) **describeIndexes** (*string* $table, [*string* $schema]) +public [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface[]) **describeIndexes** (*string* $table, [*string* $schema]) Lists table indexes @@ -66,11 +66,11 @@ print_r( ``` -public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Constructor for Phalcon\\Db\\Adapter\\Pdo -public **connect** ([*array* $descriptor]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **connect** ([*array* $descriptor]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) This method is automatically called in \\Phalcon\\Db\\Adapter\\Pdo constructor. Call it when you need to restore a database connection. @@ -95,7 +95,7 @@ $connection->connect(); ``` -public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns a PDO prepared statement to be executed with 'executePrepared' @@ -120,7 +120,7 @@ $result = $connection->executePrepared( ``` -public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Executes a prepared statement binding. This function uses integer indexes starting from zero @@ -145,7 +145,7 @@ $result = $connection->executePrepared( ``` -public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server is returning rows @@ -166,7 +166,7 @@ $resultset = $connection->query( ``` -public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server doesn't return any rows @@ -188,7 +188,7 @@ $success = $connection->execute( ``` -public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the number of affected rows by the latest INSERT/UPDATE/DELETE executed in the database system @@ -203,11 +203,11 @@ echo $connection->affectedRows(), " were deleted"; ``` -public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Closes the active connection returning success. Phalcon automatically closes and destroys active connections when the request ends -public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Escapes a value to avoid SQL injections according to the active charset in the connection @@ -218,7 +218,7 @@ $escapedStr = $connection->escapeString("some dangerous value"); ``` -public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Converts bound parameters such as :name: or ?1 into PDO bind params ? @@ -236,7 +236,7 @@ print_r( ``` -public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the insert id for the auto_increment/serial column inserted in the latest executed SQL statement @@ -261,23 +261,23 @@ $id = $connection->lastInsertId(); ``` -public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Starts a transaction in the connection -public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Rollbacks the active transaction in the connection -public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Commits the active transaction in the connection -public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the current transaction nesting level -public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Checks whether the connection is under a transaction @@ -293,43 +293,43 @@ var_dump( ``` -public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return internal PDO handler -public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return the error info, if any -public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Name of the dialect used -public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Type of database system the adapter is used for -public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL bound parameter variables -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the event manager -public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the internal event manager -public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the dialect used to produce the SQL -public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns internal dialect instance -public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the first row in a SQL query result @@ -346,7 +346,7 @@ print_r($robot); ``` -public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Dumps the complete result of a query into an array @@ -377,7 +377,7 @@ foreach($robots as $robot) { ``` -public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the n'th field of first row in a SQL query result @@ -397,7 +397,7 @@ print_r($robot); ``` -public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RDBMS SQL syntax @@ -416,7 +416,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RBDM SQL syntax @@ -437,7 +437,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax @@ -474,7 +474,7 @@ $success = $connection->update( Warning! If $whereCondition is string it not escaped. -public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax Another, more convenient syntax @@ -495,7 +495,7 @@ UPDATE `robots` SET `name` = "Astro boy" WHERE id = 101 ``` -public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Deletes data from a table using custom RBDM SQL syntax @@ -513,7 +513,7 @@ DELETE FROM `robots` WHERE `id` = 101 ``` -public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Escapes a column/table/schema name @@ -533,11 +533,11 @@ $escapedTable = $connection->escapeIdentifier( ``` -public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets a list of columns -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Appends a LIMIT clause to $sqlQuery argument @@ -548,7 +548,7 @@ echo $connection->limit("SELECT * FROM robots", 5); ``` -public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.table @@ -561,7 +561,7 @@ var_dump( ``` -public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.view @@ -574,71 +574,71 @@ var_dump( ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a FOR UPDATE clause -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a LOCK IN SHARE MODE clause -public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a table -public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table from a schema/database -public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a view -public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a view -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Modifies a table column based on a definition -public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds an index to a table -public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drop an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a primary key to a table -public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table's primary key -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a foreign key to a table -public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a foreign key from a table -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the SQL column definition from a column -public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all tables on a database @@ -651,7 +651,7 @@ print_r( ``` -public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all views on a database @@ -664,7 +664,7 @@ print_r( ``` -public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets creation options from a table @@ -677,31 +677,31 @@ print_r( ``` -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Releases given savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Rollbacks given savepoint -public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Set if nested transactions should use savepoints -public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns if nested transactions should use savepoints -public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the savepoint name to use for nested transactions -public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default identity value to be inserted in an identity column @@ -725,7 +725,7 @@ $success = $connection->insert( ``` -public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default value to make the RBDM use the default value declared in the table definition @@ -747,30 +747,30 @@ $success = $connection->insert( ``` -public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Check whether the database system requires a sequence to produce auto-numeric values -public **useExplicitIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **useExplicitIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Check whether the database system requires an explicit value for identity columns -public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Return descriptor used to connect to the active database -public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets the active connection unique identifier -public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object -public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object without replace bound parameters -public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object \ No newline at end of file diff --git a/el/api/Phalcon_Db_Adapter_Pdo_Postgresql.md b/el/api/Phalcon_Db_Adapter_Pdo_Postgresql.md index c7f35273d52a..9a66f69a4ec1 100644 --- a/el/api/Phalcon_Db_Adapter_Pdo_Postgresql.md +++ b/el/api/Phalcon_Db_Adapter_Pdo_Postgresql.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Adapter\\Pdo\\Postgresql** -*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) -*implements* [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -48,7 +48,7 @@ public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $defini Creates a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) Modifies a table column based on a definition @@ -84,11 +84,11 @@ public **supportSequences** () Check whether the database system requires a sequence to produce auto-numeric values -public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Constructor for Phalcon\\Db\\Adapter\\Pdo -public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns a PDO prepared statement to be executed with 'executePrepared' @@ -113,7 +113,7 @@ $result = $connection->executePrepared( ``` -public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Executes a prepared statement binding. This function uses integer indexes starting from zero @@ -138,7 +138,7 @@ $result = $connection->executePrepared( ``` -public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server is returning rows @@ -159,7 +159,7 @@ $resultset = $connection->query( ``` -public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server doesn't return any rows @@ -181,7 +181,7 @@ $success = $connection->execute( ``` -public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the number of affected rows by the latest INSERT/UPDATE/DELETE executed in the database system @@ -196,11 +196,11 @@ echo $connection->affectedRows(), " were deleted"; ``` -public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Closes the active connection returning success. Phalcon automatically closes and destroys active connections when the request ends -public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Escapes a value to avoid SQL injections according to the active charset in the connection @@ -211,7 +211,7 @@ $escapedStr = $connection->escapeString("some dangerous value"); ``` -public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Converts bound parameters such as :name: or ?1 into PDO bind params ? @@ -229,7 +229,7 @@ print_r( ``` -public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the insert id for the auto_increment/serial column inserted in the latest executed SQL statement @@ -254,23 +254,23 @@ $id = $connection->lastInsertId(); ``` -public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Starts a transaction in the connection -public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Rollbacks the active transaction in the connection -public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Commits the active transaction in the connection -public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the current transaction nesting level -public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Checks whether the connection is under a transaction @@ -286,43 +286,43 @@ var_dump( ``` -public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return internal PDO handler -public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return the error info, if any -public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Name of the dialect used -public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Type of database system the adapter is used for -public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL bound parameter variables -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the event manager -public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the internal event manager -public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the dialect used to produce the SQL -public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns internal dialect instance -public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the first row in a SQL query result @@ -339,7 +339,7 @@ print_r($robot); ``` -public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Dumps the complete result of a query into an array @@ -370,7 +370,7 @@ foreach($robots as $robot) { ``` -public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the n'th field of first row in a SQL query result @@ -390,7 +390,7 @@ print_r($robot); ``` -public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RDBMS SQL syntax @@ -409,7 +409,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RBDM SQL syntax @@ -430,7 +430,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax @@ -467,7 +467,7 @@ $success = $connection->update( Warning! If $whereCondition is string it not escaped. -public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax Another, more convenient syntax @@ -488,7 +488,7 @@ UPDATE `robots` SET `name` = "Astro boy" WHERE id = 101 ``` -public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Deletes data from a table using custom RBDM SQL syntax @@ -506,7 +506,7 @@ DELETE FROM `robots` WHERE `id` = 101 ``` -public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Escapes a column/table/schema name @@ -526,11 +526,11 @@ $escapedTable = $connection->escapeIdentifier( ``` -public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets a list of columns -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Appends a LIMIT clause to $sqlQuery argument @@ -541,7 +541,7 @@ echo $connection->limit("SELECT * FROM robots", 5); ``` -public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.table @@ -554,7 +554,7 @@ var_dump( ``` -public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.view @@ -567,63 +567,63 @@ var_dump( ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a FOR UPDATE clause -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a LOCK IN SHARE MODE clause -public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table from a schema/database -public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a view -public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a view -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a column to a table -public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds an index to a table -public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drop an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a primary key to a table -public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table's primary key -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a foreign key to a table -public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a foreign key from a table -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the SQL column definition from a column -public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all tables on a database @@ -636,7 +636,7 @@ print_r( ``` -public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all views on a database @@ -649,7 +649,7 @@ print_r( ``` -public [Phalcon\Db\Index](/en/3.1.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public [Phalcon\Db\Index](/en/3.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Lists table indexes @@ -662,7 +662,7 @@ print_r( ``` -public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Lists table references @@ -675,7 +675,7 @@ print_r( ``` -public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets creation options from a table @@ -688,31 +688,31 @@ print_r( ``` -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Releases given savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Rollbacks given savepoint -public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Set if nested transactions should use savepoints -public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns if nested transactions should use savepoints -public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the savepoint name to use for nested transactions -public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default value to make the RBDM use the default value declared in the table definition @@ -734,22 +734,22 @@ $success = $connection->insert( ``` -public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Return descriptor used to connect to the active database -public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets the active connection unique identifier -public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object -public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object without replace bound parameters -public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object \ No newline at end of file diff --git a/el/api/Phalcon_Db_Adapter_Pdo_Sqlite.md b/el/api/Phalcon_Db_Adapter_Pdo_Sqlite.md index 1f92cfbfc6bd..a568c933ce4a 100644 --- a/el/api/Phalcon_Db_Adapter_Pdo_Sqlite.md +++ b/el/api/Phalcon_Db_Adapter_Pdo_Sqlite.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Adapter\\Pdo\\Sqlite** -*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) -*implements* [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -40,7 +40,7 @@ print_r( ``` -public [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface[]) **describeIndexes** (*string* $table, [*string* $schema]) +public [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface[]) **describeIndexes** (*string* $table, [*string* $schema]) Lists table indexes @@ -53,7 +53,7 @@ print_r( ``` -public [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface[]) **describeReferences** (*string* $table, [*string* $schema]) +public [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface[]) **describeReferences** (*string* $table, [*string* $schema]) Lists table references @@ -83,11 +83,11 @@ $success = $connection->insert( ``` -public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Constructor for Phalcon\\Db\\Adapter\\Pdo -public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns a PDO prepared statement to be executed with 'executePrepared' @@ -112,7 +112,7 @@ $result = $connection->executePrepared( ``` -public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Executes a prepared statement binding. This function uses integer indexes starting from zero @@ -137,7 +137,7 @@ $result = $connection->executePrepared( ``` -public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server is returning rows @@ -158,7 +158,7 @@ $resultset = $connection->query( ``` -public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server doesn't return any rows @@ -180,7 +180,7 @@ $success = $connection->execute( ``` -public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the number of affected rows by the latest INSERT/UPDATE/DELETE executed in the database system @@ -195,11 +195,11 @@ echo $connection->affectedRows(), " were deleted"; ``` -public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Closes the active connection returning success. Phalcon automatically closes and destroys active connections when the request ends -public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Escapes a value to avoid SQL injections according to the active charset in the connection @@ -210,7 +210,7 @@ $escapedStr = $connection->escapeString("some dangerous value"); ``` -public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Converts bound parameters such as :name: or ?1 into PDO bind params ? @@ -228,7 +228,7 @@ print_r( ``` -public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the insert id for the auto_increment/serial column inserted in the latest executed SQL statement @@ -253,23 +253,23 @@ $id = $connection->lastInsertId(); ``` -public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Starts a transaction in the connection -public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Rollbacks the active transaction in the connection -public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Commits the active transaction in the connection -public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the current transaction nesting level -public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Checks whether the connection is under a transaction @@ -285,43 +285,43 @@ var_dump( ``` -public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return internal PDO handler -public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return the error info, if any -public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Name of the dialect used -public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Type of database system the adapter is used for -public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL bound parameter variables -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the event manager -public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the internal event manager -public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the dialect used to produce the SQL -public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns internal dialect instance -public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the first row in a SQL query result @@ -338,7 +338,7 @@ print_r($robot); ``` -public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Dumps the complete result of a query into an array @@ -369,7 +369,7 @@ foreach($robots as $robot) { ``` -public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the n'th field of first row in a SQL query result @@ -389,7 +389,7 @@ print_r($robot); ``` -public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RDBMS SQL syntax @@ -408,7 +408,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RBDM SQL syntax @@ -429,7 +429,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax @@ -466,7 +466,7 @@ $success = $connection->update( Warning! If $whereCondition is string it not escaped. -public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax Another, more convenient syntax @@ -487,7 +487,7 @@ UPDATE `robots` SET `name` = "Astro boy" WHERE id = 101 ``` -public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Deletes data from a table using custom RBDM SQL syntax @@ -505,7 +505,7 @@ DELETE FROM `robots` WHERE `id` = 101 ``` -public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Escapes a column/table/schema name @@ -525,11 +525,11 @@ $escapedTable = $connection->escapeIdentifier( ``` -public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets a list of columns -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Appends a LIMIT clause to $sqlQuery argument @@ -540,7 +540,7 @@ echo $connection->limit("SELECT * FROM robots", 5); ``` -public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.table @@ -553,7 +553,7 @@ var_dump( ``` -public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.view @@ -566,71 +566,71 @@ var_dump( ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a FOR UPDATE clause -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a LOCK IN SHARE MODE clause -public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a table -public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table from a schema/database -public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a view -public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a view -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Modifies a table column based on a definition -public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds an index to a table -public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drop an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a primary key to a table -public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table's primary key -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a foreign key to a table -public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a foreign key from a table -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the SQL column definition from a column -public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all tables on a database @@ -643,7 +643,7 @@ print_r( ``` -public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all views on a database @@ -656,7 +656,7 @@ print_r( ``` -public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets creation options from a table @@ -669,31 +669,31 @@ print_r( ``` -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Releases given savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Rollbacks given savepoint -public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Set if nested transactions should use savepoints -public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns if nested transactions should use savepoints -public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the savepoint name to use for nested transactions -public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default identity value to be inserted in an identity column @@ -717,26 +717,26 @@ $success = $connection->insert( ``` -public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Check whether the database system requires a sequence to produce auto-numeric values -public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Return descriptor used to connect to the active database -public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets the active connection unique identifier -public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object -public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object without replace bound parameters -public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object \ No newline at end of file diff --git a/el/api/Phalcon_Db_Column.md b/el/api/Phalcon_Db_Column.md index ab2fdfb7a40e..fe0210a2b411 100644 --- a/el/api/Phalcon_Db_Column.md +++ b/el/api/Phalcon_Db_Column.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Db\\Column** -*implements* [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) +*implements* [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) Source on GitHub diff --git a/el/api/Phalcon_Db_Dialect.md b/el/api/Phalcon_Db_Dialect.md index 11c52ea58df4..df25f0af03ab 100644 --- a/el/api/Phalcon_Db_Dialect.md +++ b/el/api/Phalcon_Db_Dialect.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Db\\Dialect** -*implements* [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +*implements* [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) Source on GitHub @@ -199,86 +199,86 @@ protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $es Prepares qualified for this RDBMS -abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropTable** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropTable** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **describeIndexes** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **describeIndexes** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **tableOptions** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **tableOptions** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... \ No newline at end of file diff --git a/el/api/Phalcon_Db_DialectInterface.md b/el/api/Phalcon_Db_DialectInterface.md index 0bf993854d79..90ee58afb9e1 100644 --- a/el/api/Phalcon_Db_DialectInterface.md +++ b/el/api/Phalcon_Db_DialectInterface.md @@ -24,15 +24,15 @@ abstract public **getColumnList** (*array* $columnList) ... -abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) ... -abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) ... -abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) ... @@ -40,7 +40,7 @@ abstract public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* ... -abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) ... @@ -48,7 +48,7 @@ abstract public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* ... -abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) ... @@ -56,7 +56,7 @@ abstract public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) ... -abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) ... diff --git a/el/api/Phalcon_Db_Dialect_Mysql.md b/el/api/Phalcon_Db_Dialect_Mysql.md index 6178388fc739..d1a80102e14c 100644 --- a/el/api/Phalcon_Db_Dialect_Mysql.md +++ b/el/api/Phalcon_Db_Dialect_Mysql.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Dialect\\Mysql** -*extends* abstract class [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +*extends* abstract class [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) -*implements* [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +*implements* [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) Source on GitHub @@ -10,15 +10,15 @@ Generates database specific SQL for the MySQL RDBMS ## Methods -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Gets the column name in MySQL -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Generates SQL to add a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) Generates SQL to modify a column in a table @@ -26,7 +26,7 @@ public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnN Generates SQL to delete a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add an index to a table @@ -34,7 +34,7 @@ public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexNam Generates SQL to delete an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add the primary key to a table @@ -42,7 +42,7 @@ public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) Generates SQL to delete primary key from a table -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) Generates SQL to add an index to a table @@ -133,23 +133,23 @@ protected **_getTableOptions** (*array* $definition) Generates SQL to add the table creation options -public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Registers custom SQL functions -public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns registered functions -final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape Schema -final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape identifiers -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generates the SQL for LIMIT clause @@ -164,7 +164,7 @@ echo $sql; // SELECT * FROM robots LIMIT 10 OFFSET 50 ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a FOR UPDATE clause @@ -176,7 +176,7 @@ echo $sql; // SELECT * FROM robots FOR UPDATE ``` -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a LOCK IN SHARE MODE clause @@ -188,7 +188,7 @@ echo $sql; // SELECT * FROM robots LOCK IN SHARE MODE ``` -final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Gets a list of columns with escaped identifiers @@ -204,122 +204,122 @@ echo $dialect->getColumnList( ``` -final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transforms an intermediate representation for an expression into a database system valid expression -final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transform an intermediate representation of a schema/table into a database system valid expression -public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Builds a SELECT statement -public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports savepoints -public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports releasing savepoints. -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to create a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to release a savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to rollback a savepoint -final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve object expressions -final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve qualified expressions -final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve binary operations expressions -final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve unary operations expressions -final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve function calls -final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Lists -final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve * -final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CAST of values -final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CONVERT of values encodings -final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CASE expressions -final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a FROM clause -final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a JOINs clause -final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a WHERE clause -final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a GROUP BY clause -final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a HAVING clause -final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve an ORDER BY clause -final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a LIMIT clause -protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares column for this RDBMS -protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares table for this RDBMS -protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares qualified for this RDBMS \ No newline at end of file diff --git a/el/api/Phalcon_Db_Dialect_Postgresql.md b/el/api/Phalcon_Db_Dialect_Postgresql.md index 01fe5982984c..f10d03525235 100644 --- a/el/api/Phalcon_Db_Dialect_Postgresql.md +++ b/el/api/Phalcon_Db_Dialect_Postgresql.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Dialect\\Postgresql** -*extends* abstract class [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +*extends* abstract class [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) -*implements* [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +*implements* [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) Source on GitHub @@ -10,15 +10,15 @@ Generates database specific SQL for the PostgreSQL RDBMS ## Methods -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Gets the column name in PostgreSQL -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Generates SQL to add a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) Generates SQL to modify a column in a table @@ -26,7 +26,7 @@ public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnN Generates SQL to delete a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add an index to a table @@ -34,7 +34,7 @@ public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexNam Generates SQL to delete an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add the primary key to a table @@ -42,7 +42,7 @@ public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) Generates SQL to delete primary key from a table -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) Generates SQL to add an index to a table @@ -129,7 +129,7 @@ public **tableOptions** (*mixed* $table, [*mixed* $schema]) Generates the SQL to describe the table creation options -protected **_castDefault** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +protected **_castDefault** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) ... @@ -137,23 +137,23 @@ protected **_getTableOptions** (*array* $definition) ... -public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Registers custom SQL functions -public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns registered functions -final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape Schema -final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape identifiers -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generates the SQL for LIMIT clause @@ -168,7 +168,7 @@ echo $sql; // SELECT * FROM robots LIMIT 10 OFFSET 50 ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a FOR UPDATE clause @@ -180,7 +180,7 @@ echo $sql; // SELECT * FROM robots FOR UPDATE ``` -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a LOCK IN SHARE MODE clause @@ -192,7 +192,7 @@ echo $sql; // SELECT * FROM robots LOCK IN SHARE MODE ``` -final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Gets a list of columns with escaped identifiers @@ -208,122 +208,122 @@ echo $dialect->getColumnList( ``` -final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transforms an intermediate representation for an expression into a database system valid expression -final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transform an intermediate representation of a schema/table into a database system valid expression -public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Builds a SELECT statement -public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports savepoints -public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports releasing savepoints. -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to create a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to release a savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to rollback a savepoint -final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve object expressions -final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve qualified expressions -final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve binary operations expressions -final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve unary operations expressions -final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve function calls -final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Lists -final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve * -final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CAST of values -final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CONVERT of values encodings -final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CASE expressions -final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a FROM clause -final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a JOINs clause -final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a WHERE clause -final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a GROUP BY clause -final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a HAVING clause -final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve an ORDER BY clause -final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a LIMIT clause -protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares column for this RDBMS -protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares table for this RDBMS -protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares qualified for this RDBMS \ No newline at end of file diff --git a/el/api/Phalcon_Db_Dialect_Sqlite.md b/el/api/Phalcon_Db_Dialect_Sqlite.md index 7b38162151a0..dabec6d39e49 100644 --- a/el/api/Phalcon_Db_Dialect_Sqlite.md +++ b/el/api/Phalcon_Db_Dialect_Sqlite.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Dialect\\Sqlite** -*extends* abstract class [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +*extends* abstract class [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) -*implements* [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +*implements* [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) Source on GitHub @@ -10,15 +10,15 @@ Generates database specific SQL for the Sqlite RDBMS ## Methods -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Gets the column name in SQLite -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Generates SQL to add a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) Generates SQL to modify a column in a table @@ -26,7 +26,7 @@ public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnN Generates SQL to delete a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add an index to a table @@ -34,7 +34,7 @@ public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexNam Generates SQL to delete an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add the primary key to a table @@ -42,7 +42,7 @@ public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) Generates SQL to delete primary key from a table -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) Generates SQL to add an index to a table @@ -146,23 +146,23 @@ public **tableOptions** (*mixed* $table, [*mixed* $schema]) Generates the SQL to describe the table creation options -public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Registers custom SQL functions -public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns registered functions -final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape Schema -final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape identifiers -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generates the SQL for LIMIT clause @@ -177,7 +177,7 @@ echo $sql; // SELECT * FROM robots LIMIT 10 OFFSET 50 ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a FOR UPDATE clause @@ -189,7 +189,7 @@ echo $sql; // SELECT * FROM robots FOR UPDATE ``` -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a LOCK IN SHARE MODE clause @@ -201,7 +201,7 @@ echo $sql; // SELECT * FROM robots LOCK IN SHARE MODE ``` -final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Gets a list of columns with escaped identifiers @@ -217,122 +217,122 @@ echo $dialect->getColumnList( ``` -final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transforms an intermediate representation for an expression into a database system valid expression -final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transform an intermediate representation of a schema/table into a database system valid expression -public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Builds a SELECT statement -public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports savepoints -public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports releasing savepoints. -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to create a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to release a savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to rollback a savepoint -final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve object expressions -final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve qualified expressions -final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve binary operations expressions -final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve unary operations expressions -final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve function calls -final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Lists -final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve * -final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CAST of values -final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CONVERT of values encodings -final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CASE expressions -final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a FROM clause -final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a JOINs clause -final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a WHERE clause -final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a GROUP BY clause -final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a HAVING clause -final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve an ORDER BY clause -final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a LIMIT clause -protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares column for this RDBMS -protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares table for this RDBMS -protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares qualified for this RDBMS \ No newline at end of file diff --git a/el/api/Phalcon_Db_Exception.md b/el/api/Phalcon_Db_Exception.md index 839c2d00fbf8..00160179b065 100644 --- a/el/api/Phalcon_Db_Exception.md +++ b/el/api/Phalcon_Db_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Db\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/el/api/Phalcon_Db_Index.md b/el/api/Phalcon_Db_Index.md index 60a5b41f764f..9ca94ad0e146 100644 --- a/el/api/Phalcon_Db_Index.md +++ b/el/api/Phalcon_Db_Index.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Db\\Index** -*implements* [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) +*implements* [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) Source on GitHub diff --git a/el/api/Phalcon_Db_Profiler.md b/el/api/Phalcon_Db_Profiler.md index 05a913cb9c2c..1d6dde6d6e69 100644 --- a/el/api/Phalcon_Db_Profiler.md +++ b/el/api/Phalcon_Db_Profiler.md @@ -31,7 +31,7 @@ echo "Total Elapsed Time: ", $profile->getTotalElapsedSeconds(), "\n"; ## Methods -public [Phalcon\Db\Profiler](/en/3.1.2/api/Phalcon_Db_Profiler) **startProfile** (*string* $sqlStatement, [*mixed* $sqlVariables], [*mixed* $sqlBindTypes]) +public [Phalcon\Db\Profiler](/en/3.2/api/Phalcon_Db_Profiler) **startProfile** (*string* $sqlStatement, [*mixed* $sqlVariables], [*mixed* $sqlBindTypes]) Starts the profile of a SQL sentence diff --git a/el/api/Phalcon_Db_Reference.md b/el/api/Phalcon_Db_Reference.md index 30ac1a686521..2e83e14de226 100644 --- a/el/api/Phalcon_Db_Reference.md +++ b/el/api/Phalcon_Db_Reference.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Db\\Reference** -*implements* [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) +*implements* [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) Source on GitHub diff --git a/el/api/Phalcon_Db_Result_Pdo.md b/el/api/Phalcon_Db_Result_Pdo.md index 2e053d67ae6f..91808dece71f 100644 --- a/el/api/Phalcon_Db_Result_Pdo.md +++ b/el/api/Phalcon_Db_Result_Pdo.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Db\\Result\\Pdo** -*implements* [Phalcon\Db\ResultInterface](/en/3.1.2/api/Phalcon_Db_ResultInterface) +*implements* [Phalcon\Db\ResultInterface](/en/3.2/api/Phalcon_Db_ResultInterface) Source on GitHub @@ -23,7 +23,7 @@ while ($robot = $result->fetchArray()) { ## Methods -public **__construct** ([Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) $connection, [PDOStatement](http://php.net/manual/en/class.pdostatement.php) $result, [*string* $sqlStatement], [*array* $bindParams], [*array* $bindTypes]) +public **__construct** ([Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) $connection, [PDOStatement](http://php.net/manual/en/class.pdostatement.php) $result, [*string* $sqlStatement], [*array* $bindParams], [*array* $bindTypes]) Phalcon\\Db\\Result\\Pdo constructor diff --git a/es/api/Phalcon_Acl_Adapter.md b/es/api/Phalcon_Acl_Adapter.md index 9f86a2a2a142..1696a50b6e15 100644 --- a/es/api/Phalcon_Acl_Adapter.md +++ b/es/api/Phalcon_Acl_Adapter.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Acl\\Adapter** -*implements* [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -20,7 +20,7 @@ public **getActiveAccess** () Active access which the list is checking if some role can access it -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) Sets the events manager @@ -36,58 +36,58 @@ public **getDefaultAction** () Returns the default ACL access level -abstract public **setNoArgumentsDefaultAction** (*mixed* $defaultAccess) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **setNoArgumentsDefaultAction** (*mixed* $defaultAccess) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **getNoArgumentsDefaultAction** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **getNoArgumentsDefaultAction** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **addRole** (*mixed* $role, [*mixed* $accessInherits]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **addRole** (*mixed* $role, [*mixed* $accessInherits]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **addInherit** (*mixed* $roleName, *mixed* $roleToInherit) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **addInherit** (*mixed* $roleName, *mixed* $roleToInherit) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **isRole** (*mixed* $roleName) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **isRole** (*mixed* $roleName) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **isResource** (*mixed* $resourceName) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **isResource** (*mixed* $resourceName) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **addResource** (*mixed* $resourceObject, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **addResource** (*mixed* $resourceObject, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **addResourceAccess** (*mixed* $resourceName, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **addResourceAccess** (*mixed* $resourceName, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **dropResourceAccess** (*mixed* $resourceName, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **dropResourceAccess** (*mixed* $resourceName, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **allow** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*mixed* $func]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **allow** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*mixed* $func]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **deny** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*mixed* $func]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **deny** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*mixed* $func]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **isAllowed** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*array* $parameters]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **isAllowed** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*array* $parameters]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **getRoles** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **getRoles** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **getResources** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **getResources** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... \ No newline at end of file diff --git a/es/api/Phalcon_Acl_Adapter_Memory.md b/es/api/Phalcon_Acl_Adapter_Memory.md index e9ea95ccda45..889751c95b98 100644 --- a/es/api/Phalcon_Acl_Adapter_Memory.md +++ b/es/api/Phalcon_Acl_Adapter_Memory.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Acl\\Adapter\\Memory** -*extends* abstract class [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +*extends* abstract class [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) -*implements* [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +*implements* [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) Source on GitHub @@ -105,7 +105,7 @@ public **isResource** (*mixed* $resourceName) Check whether resource exist in the resources list -public **addResource** ([Phalcon\Acl\Resource](/en/3.1.2/api/Phalcon_Acl_Resource) | *string* $resourceValue, *array* | *string* $accessList) +public **addResource** ([Phalcon\Acl\Resource](/en/3.2/api/Phalcon_Acl_Resource) | *string* $resourceValue, *array* | *string* $accessList) Adds a resource to the ACL list Access names can be a particular action, by example search, update, delete, etc or a list of them Example: @@ -224,30 +224,30 @@ public **getResources** () Return an array with every resource registered in the list -public **getActiveRole** () inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **getActiveRole** () inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Role which the list is checking if it's allowed to certain resource/access -public **getActiveResource** () inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **getActiveResource** () inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Resource which the list is checking if some role can access it -public **getActiveAccess** () inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **getActiveAccess** () inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Active access which the list is checking if some role can access it -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Sets the events manager -public **getEventsManager** () inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **getEventsManager** () inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Returns the internal event manager -public **setDefaultAction** (*mixed* $defaultAccess) inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **setDefaultAction** (*mixed* $defaultAccess) inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Sets the default access level (Phalcon\\Acl::ALLOW or Phalcon\\Acl::DENY) -public **getDefaultAction** () inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **getDefaultAction** () inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Returns the default ACL access level \ No newline at end of file diff --git a/es/api/Phalcon_Acl_Exception.md b/es/api/Phalcon_Acl_Exception.md index 153094579c30..9c1b44ab7b5d 100644 --- a/es/api/Phalcon_Acl_Exception.md +++ b/es/api/Phalcon_Acl_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Acl\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/es/api/Phalcon_Acl_Resource.md b/es/api/Phalcon_Acl_Resource.md index 1663e1ad2e93..25ac2d3e792b 100644 --- a/es/api/Phalcon_Acl_Resource.md +++ b/es/api/Phalcon_Acl_Resource.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Acl\\Resource** -*implements* [Phalcon\Acl\ResourceInterface](/en/3.1.2/api/Phalcon_Acl_ResourceInterface) +*implements* [Phalcon\Acl\ResourceInterface](/en/3.2/api/Phalcon_Acl_ResourceInterface) Source on GitHub diff --git a/es/api/Phalcon_Acl_Role.md b/es/api/Phalcon_Acl_Role.md index e105183dd7f4..c8252648d6c8 100644 --- a/es/api/Phalcon_Acl_Role.md +++ b/es/api/Phalcon_Acl_Role.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Acl\\Role** -*implements* [Phalcon\Acl\RoleInterface](/en/3.1.2/api/Phalcon_Acl_RoleInterface) +*implements* [Phalcon\Acl\RoleInterface](/en/3.2/api/Phalcon_Acl_RoleInterface) Source on GitHub diff --git a/es/api/Phalcon_Annotations_Adapter.md b/es/api/Phalcon_Annotations_Adapter.md index 7a2b31fc4dc1..d42ac348bbc9 100644 --- a/es/api/Phalcon_Annotations_Adapter.md +++ b/es/api/Phalcon_Annotations_Adapter.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Annotations\\Adapter** -*implements* [Phalcon\Annotations\AdapterInterface](/en/3.1.2/api/Phalcon_Annotations_AdapterInterface) +*implements* [Phalcon\Annotations\AdapterInterface](/en/3.2/api/Phalcon_Annotations_AdapterInterface) Source on GitHub @@ -8,7 +8,7 @@ This is the base class for Phalcon\\Annotations adapters ## Methods -public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) +public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) Sets the annotations parser diff --git a/es/api/Phalcon_Annotations_AdapterInterface.md b/es/api/Phalcon_Annotations_AdapterInterface.md index a4e2c689503a..a1ff65cb01a1 100644 --- a/es/api/Phalcon_Annotations_AdapterInterface.md +++ b/es/api/Phalcon_Annotations_AdapterInterface.md @@ -4,7 +4,7 @@ ## Methods -abstract public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) +abstract public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) ... diff --git a/es/api/Phalcon_Annotations_Adapter_Apc.md b/es/api/Phalcon_Annotations_Adapter_Apc.md index 1b8a1d6d0d7d..467622a88425 100644 --- a/es/api/Phalcon_Annotations_Adapter_Apc.md +++ b/es/api/Phalcon_Annotations_Adapter_Apc.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Annotations\\Adapter\\Apc** -*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) -*implements* [Phalcon\Annotations\AdapterInterface](/en/3.1.2/api/Phalcon_Annotations_AdapterInterface) +*implements* [Phalcon\Annotations\AdapterInterface](/en/3.2/api/Phalcon_Annotations_AdapterInterface) Source on GitHub @@ -27,34 +27,34 @@ public **read** (*mixed* $key) Reads parsed annotations from APC -public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) $data) +public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) $data) Writes parsed annotations to APC -public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Sets the annotations parser -public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotation reader -public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Parses or retrieves all the annotations found in a class -public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific method -public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific property \ No newline at end of file diff --git a/es/api/Phalcon_Annotations_Adapter_Files.md b/es/api/Phalcon_Annotations_Adapter_Files.md index fcb4c23e6c2e..e4c407e5954e 100644 --- a/es/api/Phalcon_Annotations_Adapter_Files.md +++ b/es/api/Phalcon_Annotations_Adapter_Files.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Annotations\\Adapter\\Files** -*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) -*implements* [Phalcon\Annotations\AdapterInterface](/en/3.1.2/api/Phalcon_Annotations_AdapterInterface) +*implements* [Phalcon\Annotations\AdapterInterface](/en/3.2/api/Phalcon_Annotations_AdapterInterface) Source on GitHub @@ -27,38 +27,38 @@ public **__construct** ([*array* $options]) Phalcon\\Annotations\\Adapter\\Files constructor -public [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) **read** (*string* $key) +public [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) **read** (*string* $key) Reads parsed annotations from files -public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) $data) +public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) $data) Writes parsed annotations to files -public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Sets the annotations parser -public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotation reader -public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Parses or retrieves all the annotations found in a class -public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific method -public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific property \ No newline at end of file diff --git a/es/api/Phalcon_Annotations_Adapter_Memory.md b/es/api/Phalcon_Annotations_Adapter_Memory.md index 53fc2e3769c7..205f20e6b1b8 100644 --- a/es/api/Phalcon_Annotations_Adapter_Memory.md +++ b/es/api/Phalcon_Annotations_Adapter_Memory.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Annotations\\Adapter\\Memory** -*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) -*implements* [Phalcon\Annotations\AdapterInterface](/en/3.1.2/api/Phalcon_Annotations_AdapterInterface) +*implements* [Phalcon\Annotations\AdapterInterface](/en/3.2/api/Phalcon_Annotations_AdapterInterface) Source on GitHub @@ -14,34 +14,34 @@ public **read** (*mixed* $key) Reads parsed annotations from memory -public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) $data) +public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) $data) Writes parsed annotations to memory -public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Sets the annotations parser -public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotation reader -public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Parses or retrieves all the annotations found in a class -public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific method -public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific property \ No newline at end of file diff --git a/es/api/Phalcon_Annotations_Adapter_Xcache.md b/es/api/Phalcon_Annotations_Adapter_Xcache.md index 79bfa9e6b4d3..37c97e7e6b8c 100644 --- a/es/api/Phalcon_Annotations_Adapter_Xcache.md +++ b/es/api/Phalcon_Annotations_Adapter_Xcache.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Annotations\\Adapter\\Xcache** -*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) -*implements* [Phalcon\Annotations\AdapterInterface](/en/3.1.2/api/Phalcon_Annotations_AdapterInterface) +*implements* [Phalcon\Annotations\AdapterInterface](/en/3.2/api/Phalcon_Annotations_AdapterInterface) Source on GitHub @@ -17,38 +17,38 @@ $annotations = new \Phalcon\Annotations\Adapter\Xcache(); ## Methods -public [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) **read** (*string* $key) +public [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) **read** (*string* $key) Reads parsed annotations from XCache -public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) $data) +public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) $data) Writes parsed annotations to XCache -public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Sets the annotations parser -public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotation reader -public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Parses or retrieves all the annotations found in a class -public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific method -public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific property \ No newline at end of file diff --git a/es/api/Phalcon_Annotations_Collection.md b/es/api/Phalcon_Annotations_Collection.md index 8176520b43ea..ba33511a50fe 100644 --- a/es/api/Phalcon_Annotations_Collection.md +++ b/es/api/Phalcon_Annotations_Collection.md @@ -36,7 +36,7 @@ public **rewind** () Rewinds the internal iterator -public [Phalcon\Annotations\Annotation](/en/3.1.2/api/Phalcon_Annotations_Annotation) **current** () +public [Phalcon\Annotations\Annotation](/en/3.2/api/Phalcon_Annotations_Annotation) **current** () Returns the current annotation in the iterator diff --git a/es/api/Phalcon_Annotations_Reader.md b/es/api/Phalcon_Annotations_Reader.md index 56ca9b058cd1..4e8e513ffea9 100644 --- a/es/api/Phalcon_Annotations_Reader.md +++ b/es/api/Phalcon_Annotations_Reader.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Annotations\\Reader** -*implements* [Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) +*implements* [Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) Source on GitHub diff --git a/es/api/Phalcon_Application.md b/es/api/Phalcon_Application.md index e7e767824af2..5ff2b07edaf4 100644 --- a/es/api/Phalcon_Application.md +++ b/es/api/Phalcon_Application.md @@ -1,8 +1,8 @@ # Abstract class **Phalcon\\Application** -*extends* abstract class [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +*extends* abstract class [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) -*implements* [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface) +*implements* [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface) Source on GitHub @@ -10,9 +10,9 @@ Base class for Phalcon\\Cli\\Console and Phalcon\\Mvc\\Application. ## Methods -public **__construct** ([[Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector]) +public **__construct** ([[Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector]) -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) Sets the events manager @@ -62,14 +62,14 @@ abstract public **handle** () Handles a request -public **setDI** ([Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **setDI** ([Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Sets the dependency injector -public **getDI** () inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **getDI** () inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Returns the internal dependency injector -public **__get** (*mixed* $propertyName) inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **__get** (*mixed* $propertyName) inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Magic method __get \ No newline at end of file diff --git a/es/api/Phalcon_Application_Exception.md b/es/api/Phalcon_Application_Exception.md index ade9f4d1b49e..49637aa88e5e 100644 --- a/es/api/Phalcon_Application_Exception.md +++ b/es/api/Phalcon_Application_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Application\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/es/api/Phalcon_Assets_Collection.md b/es/api/Phalcon_Assets_Collection.md index 9c3e06cdb077..f6f18d5a1d60 100644 --- a/es/api/Phalcon_Assets_Collection.md +++ b/es/api/Phalcon_Assets_Collection.md @@ -56,14 +56,35 @@ public **getSourcePath** () ... -public **add** ([Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) $resource) +public **__construct** () + +Phalcon\\Assets\\Collection constructor + +public **add** ([Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) $resource) Adds a resource to the collection -public **addInline** ([Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) $code) +public **addInline** ([Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) $code) Adds an inline code to the collection +public **has** ([Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) $resource) + +Checks this the resource is added to the collection. + +```php +has($resource); // true + +``` + public **addCss** (*mixed* $path, [*mixed* $local], [*mixed* $filter], [*mixed* $attributes]) Adds a CSS resource to the collection @@ -72,7 +93,7 @@ public **addInlineCss** (*mixed* $content, [*mixed* $filter], [*mixed* $attribut Adds an inline CSS to the collection -public [Phalcon\Assets\Collection](/en/3.1.2/api/Phalcon_Assets_Collection) **addJs** (*string* $path, [*boolean* $local], [*boolean* $filter], [*array* $attributes]) +public [Phalcon\Assets\Collection](/en/3.2/api/Phalcon_Assets_Collection) **addJs** (*string* $path, [*boolean* $local], [*boolean* $filter], [*array* $attributes]) Adds a javascript resource to the collection @@ -144,6 +165,10 @@ public **getRealTargetPath** (*mixed* $basePath) Returns the complete location where the joined/filtered collection must be written -public **addFilter** ([Phalcon\Assets\FilterInterface](/en/3.1.2/api/Phalcon_Assets_FilterInterface) $filter) +public **addFilter** ([Phalcon\Assets\FilterInterface](/en/3.2/api/Phalcon_Assets_FilterInterface) $filter) + +Adds a filter to the collection + +final protected **addResource** ([Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) $resource) -Adds a filter to the collection \ No newline at end of file +Adds a resource or inline-code to the collection \ No newline at end of file diff --git a/es/api/Phalcon_Assets_Exception.md b/es/api/Phalcon_Assets_Exception.md index bf3c9a57c01a..4c8c0516fd94 100644 --- a/es/api/Phalcon_Assets_Exception.md +++ b/es/api/Phalcon_Assets_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Assets\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/es/api/Phalcon_Assets_Filters_Cssmin.md b/es/api/Phalcon_Assets_Filters_Cssmin.md index 75e2781f79a0..a807a59e4880 100644 --- a/es/api/Phalcon_Assets_Filters_Cssmin.md +++ b/es/api/Phalcon_Assets_Filters_Cssmin.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Assets\\Filters\\Cssmin** -*implements* [Phalcon\Assets\FilterInterface](/en/3.1.2/api/Phalcon_Assets_FilterInterface) +*implements* [Phalcon\Assets\FilterInterface](/en/3.2/api/Phalcon_Assets_FilterInterface) Source on GitHub diff --git a/es/api/Phalcon_Assets_Filters_Jsmin.md b/es/api/Phalcon_Assets_Filters_Jsmin.md index 2ee9aa7f5390..2bfe2b4851a4 100644 --- a/es/api/Phalcon_Assets_Filters_Jsmin.md +++ b/es/api/Phalcon_Assets_Filters_Jsmin.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Assets\\Filters\\Jsmin** -*implements* [Phalcon\Assets\FilterInterface](/en/3.1.2/api/Phalcon_Assets_FilterInterface) +*implements* [Phalcon\Assets\FilterInterface](/en/3.2/api/Phalcon_Assets_FilterInterface) Source on GitHub diff --git a/es/api/Phalcon_Assets_Filters_None.md b/es/api/Phalcon_Assets_Filters_None.md index 93c79dd941f6..60e59aac09de 100644 --- a/es/api/Phalcon_Assets_Filters_None.md +++ b/es/api/Phalcon_Assets_Filters_None.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Assets\\Filters\\None** -*implements* [Phalcon\Assets\FilterInterface](/en/3.1.2/api/Phalcon_Assets_FilterInterface) +*implements* [Phalcon\Assets\FilterInterface](/en/3.2/api/Phalcon_Assets_FilterInterface) Source on GitHub diff --git a/es/api/Phalcon_Assets_Inline.md b/es/api/Phalcon_Assets_Inline.md index 05a1f622aa48..e5c3ef631536 100644 --- a/es/api/Phalcon_Assets_Inline.md +++ b/es/api/Phalcon_Assets_Inline.md @@ -1,5 +1,7 @@ # Class **Phalcon\\Assets\\Inline** +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) + Source on GitHub Represents an inline asset @@ -43,4 +45,8 @@ Sets if the resource must be filtered or not public **setAttributes** (*array* $attributes) -Sets extra HTML attributes \ No newline at end of file +Sets extra HTML attributes + +public **getResourceKey** () + +Gets the resource's key. \ No newline at end of file diff --git a/es/api/Phalcon_Assets_Inline_Css.md b/es/api/Phalcon_Assets_Inline_Css.md index c4d7a9d0e919..aad74b78beca 100644 --- a/es/api/Phalcon_Assets_Inline_Css.md +++ b/es/api/Phalcon_Assets_Inline_Css.md @@ -1,6 +1,8 @@ # Class **Phalcon\\Assets\\Inline\\Css** -*extends* class [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +*extends* class [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) + +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) Source on GitHub @@ -10,30 +12,34 @@ Represents an inlined CSS public **__construct** (*string* $content, [*boolean* $filter], [*array* $attributes]) -public **getType** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getType** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getContent** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getContent** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getFilter** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getFilter** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getAttributes** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getAttributes** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) Sets the inline's type -public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) Sets if the resource must be filtered or not -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) + +Sets extra HTML attributes + +public **getResourceKey** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) -Sets extra HTML attributes \ No newline at end of file +Gets the resource's key. \ No newline at end of file diff --git a/es/api/Phalcon_Assets_Inline_Js.md b/es/api/Phalcon_Assets_Inline_Js.md index 27d57246d817..1cce336b4116 100644 --- a/es/api/Phalcon_Assets_Inline_Js.md +++ b/es/api/Phalcon_Assets_Inline_Js.md @@ -1,6 +1,8 @@ # Class **Phalcon\\Assets\\Inline\\Js** -*extends* class [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +*extends* class [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) + +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) Source on GitHub @@ -10,30 +12,34 @@ Represents an inline Javascript public **__construct** (*string* $content, [*boolean* $filter], [*array* $attributes]) -public **getType** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getType** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getContent** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getContent** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getFilter** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getFilter** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getAttributes** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getAttributes** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) Sets the inline's type -public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) Sets if the resource must be filtered or not -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) + +Sets extra HTML attributes + +public **getResourceKey** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) -Sets extra HTML attributes \ No newline at end of file +Gets the resource's key. \ No newline at end of file diff --git a/es/api/Phalcon_Assets_Manager.md b/es/api/Phalcon_Assets_Manager.md index 55ab07f19201..13ecabf4ff9c 100644 --- a/es/api/Phalcon_Assets_Manager.md +++ b/es/api/Phalcon_Assets_Manager.md @@ -52,7 +52,7 @@ public **addInlineJs** (*mixed* $content, [*mixed* $filter], [*mixed* $attribute Adds an inline javascript to the 'js' collection -public **addResourceByType** (*mixed* $type, [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) $resource) +public **addResourceByType** (*mixed* $type, [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) $resource) Adds a resource by its type @@ -65,11 +65,11 @@ $assets->addResourceByType("css", ``` -public **addInlineCodeByType** (*mixed* $type, [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) $code) +public **addInlineCodeByType** (*mixed* $type, [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) $code) Adds an inline code by its type -public **addResource** ([Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) $resource) +public **addResource** ([Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) $resource) Adds a raw resource to the manager @@ -82,11 +82,11 @@ $assets->addResource( ``` -public **addInlineCode** ([Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) $code) +public **addInlineCode** ([Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) $code) Adds a raw inline code to the manager -public **set** (*mixed* $id, [Phalcon\Assets\Collection](/en/3.1.2/api/Phalcon_Assets_Collection) $collection) +public **set** (*mixed* $id, [Phalcon\Assets\Collection](/en/3.2/api/Phalcon_Assets_Collection) $collection) Sets a collection in the Assets Manager @@ -99,7 +99,7 @@ $assets->set("js", $collection); public **get** (*mixed* $id) -Returns a collection by its id +Returns a collection by its id. ```php exists("jsHeader")) { + // \Phalcon\Assets\Collection + $collection = $assets->get("jsHeader"); +} + +``` \ No newline at end of file diff --git a/es/api/Phalcon_Assets_Resource.md b/es/api/Phalcon_Assets_Resource.md index 9718061c348e..d67dc71b7929 100644 --- a/es/api/Phalcon_Assets_Resource.md +++ b/es/api/Phalcon_Assets_Resource.md @@ -1,5 +1,7 @@ # Class **Phalcon\\Assets\\Resource** +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) + Source on GitHub Represents an asset resource @@ -85,4 +87,8 @@ Returns the complete location where the resource is located public **getRealTargetPath** ([*mixed* $basePath]) -Returns the complete location where the resource must be written \ No newline at end of file +Returns the complete location where the resource must be written + +public **getResourceKey** () + +Gets the resource's key. \ No newline at end of file diff --git a/es/api/Phalcon_Assets_Resource_Css.md b/es/api/Phalcon_Assets_Resource_Css.md index 9376a4de5f6d..11c938e391ca 100644 --- a/es/api/Phalcon_Assets_Resource_Css.md +++ b/es/api/Phalcon_Assets_Resource_Css.md @@ -1,6 +1,8 @@ # Class **Phalcon\\Assets\\Resource\\Css** -*extends* class [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +*extends* class [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) + +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) Source on GitHub @@ -10,72 +12,76 @@ Represents CSS resources public **__construct** (*string* $path, [*boolean* $local], [*boolean* $filter], [*array* $attributes]) -public **getType** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getType** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getPath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getPath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getLocal** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getLocal** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getFilter** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getFilter** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getAttributes** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getAttributes** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getSourcePath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getSourcePath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **getTargetPath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getTargetPath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **getTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's type -public **setPath** (*mixed* $path) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setPath** (*mixed* $path) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's path -public **setLocal** (*mixed* $local) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setLocal** (*mixed* $local) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets if the resource is local or external -public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets if the resource must be filtered or not -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets extra HTML attributes -public **setTargetUri** (*mixed* $targetUri) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setTargetUri** (*mixed* $targetUri) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets a target uri for the generated HTML -public **setSourcePath** (*mixed* $sourcePath) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setSourcePath** (*mixed* $sourcePath) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's source path -public **setTargetPath** (*mixed* $targetPath) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setTargetPath** (*mixed* $targetPath) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's target path -public **getContent** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getContent** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the content of the resource as an string Optionally a base path where the resource is located can be set -public **getRealTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the real target uri for the generated HTML -public **getRealSourcePath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealSourcePath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the complete location where the resource is located -public **getRealTargetPath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealTargetPath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) + +Returns the complete location where the resource must be written + +public **getResourceKey** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -Returns the complete location where the resource must be written \ No newline at end of file +Gets the resource's key. \ No newline at end of file diff --git a/es/api/Phalcon_Assets_Resource_Js.md b/es/api/Phalcon_Assets_Resource_Js.md index a4c132ff1ed1..2acc4d239b9d 100644 --- a/es/api/Phalcon_Assets_Resource_Js.md +++ b/es/api/Phalcon_Assets_Resource_Js.md @@ -1,6 +1,8 @@ # Class **Phalcon\\Assets\\Resource\\Js** -*extends* class [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +*extends* class [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) + +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) Source on GitHub @@ -10,72 +12,76 @@ Represents Javascript resources public **__construct** (*string* $path, [*boolean* $local], [*boolean* $filter], [*array* $attributes]) -public **getType** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getType** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getPath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getPath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getLocal** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getLocal** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getFilter** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getFilter** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getAttributes** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getAttributes** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getSourcePath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getSourcePath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **getTargetPath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getTargetPath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **getTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's type -public **setPath** (*mixed* $path) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setPath** (*mixed* $path) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's path -public **setLocal** (*mixed* $local) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setLocal** (*mixed* $local) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets if the resource is local or external -public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets if the resource must be filtered or not -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets extra HTML attributes -public **setTargetUri** (*mixed* $targetUri) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setTargetUri** (*mixed* $targetUri) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets a target uri for the generated HTML -public **setSourcePath** (*mixed* $sourcePath) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setSourcePath** (*mixed* $sourcePath) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's source path -public **setTargetPath** (*mixed* $targetPath) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setTargetPath** (*mixed* $targetPath) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's target path -public **getContent** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getContent** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the content of the resource as an string Optionally a base path where the resource is located can be set -public **getRealTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the real target uri for the generated HTML -public **getRealSourcePath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealSourcePath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the complete location where the resource is located -public **getRealTargetPath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealTargetPath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) + +Returns the complete location where the resource must be written + +public **getResourceKey** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -Returns the complete location where the resource must be written \ No newline at end of file +Gets the resource's key. \ No newline at end of file diff --git a/es/api/Phalcon_Cache_Backend.md b/es/api/Phalcon_Cache_Backend.md index f81ba2e57820..6e8b2e14bbff 100644 --- a/es/api/Phalcon_Cache_Backend.md +++ b/es/api/Phalcon_Cache_Backend.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Cache\\Backend** -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -32,7 +32,7 @@ public **setLastKey** (*mixed* $lastKey) ... -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend constructor @@ -56,22 +56,22 @@ public *int* **getLifetime** () Gets the last lifetime set -abstract public **get** (*mixed* $keyName, [*mixed* $lifetime]) inherited from [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +abstract public **get** (*mixed* $keyName, [*mixed* $lifetime]) inherited from [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) ... -abstract public **save** ([*mixed* $keyName], [*mixed* $content], [*mixed* $lifetime], [*mixed* $stopBuffer]) inherited from [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +abstract public **save** ([*mixed* $keyName], [*mixed* $content], [*mixed* $lifetime], [*mixed* $stopBuffer]) inherited from [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) ... -abstract public **delete** (*mixed* $keyName) inherited from [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +abstract public **delete** (*mixed* $keyName) inherited from [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) ... -abstract public **queryKeys** ([*mixed* $prefix]) inherited from [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +abstract public **queryKeys** ([*mixed* $prefix]) inherited from [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) ... -abstract public **exists** ([*mixed* $keyName], [*mixed* $lifetime]) inherited from [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +abstract public **exists** ([*mixed* $keyName], [*mixed* $lifetime]) inherited from [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) ... \ No newline at end of file diff --git a/es/api/Phalcon_Cache_Backend_Apc.md b/es/api/Phalcon_Cache_Backend_Apc.md index 6f08c1fef4b7..92b01c89d25a 100644 --- a/es/api/Phalcon_Cache_Backend_Apc.md +++ b/es/api/Phalcon_Cache_Backend_Apc.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Apc** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -94,50 +94,50 @@ $cache->flush(); ``` -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Phalcon\\Cache\\Backend constructor -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/es/api/Phalcon_Cache_Backend_File.md b/es/api/Phalcon_Cache_Backend_File.md index 78c3aff0e84c..3ea73b705889 100644 --- a/es/api/Phalcon_Cache_Backend_File.md +++ b/es/api/Phalcon_Cache_Backend_File.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\File** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -44,7 +44,7 @@ if ($content === null) { ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, *array* $options) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, *array* $options) Phalcon\\Cache\\Backend\\File constructor @@ -98,46 +98,46 @@ public **useSafeKey** (*mixed* $useSafeKey) Set whether to use the safekey or not -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/es/api/Phalcon_Cache_Backend_Libmemcached.md b/es/api/Phalcon_Cache_Backend_Libmemcached.md index 88948897b300..9ec4b031d82e 100644 --- a/es/api/Phalcon_Cache_Backend_Libmemcached.md +++ b/es/api/Phalcon_Cache_Backend_Libmemcached.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Libmemcached** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -49,7 +49,7 @@ $data = $cache->get("my-data"); ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend\\Memcache constructor @@ -116,46 +116,46 @@ $cache->flush(); ``` -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/es/api/Phalcon_Cache_Backend_Memcache.md b/es/api/Phalcon_Cache_Backend_Memcache.md index 7310592149b1..6f2575ca5c8d 100644 --- a/es/api/Phalcon_Cache_Backend_Memcache.md +++ b/es/api/Phalcon_Cache_Backend_Memcache.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Memcache** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -43,7 +43,7 @@ $data = $cache->get("my-data"); ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend\\Memcache constructor @@ -97,46 +97,46 @@ public **flush** () Immediately invalidates all existing items. -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/es/api/Phalcon_Cache_Backend_Memory.md b/es/api/Phalcon_Cache_Backend_Memory.md index 06a4216cf7ac..a269432ab9f3 100644 --- a/es/api/Phalcon_Cache_Backend_Memory.md +++ b/es/api/Phalcon_Cache_Backend_Memory.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Memory** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface), [Serializable](http://php.net/manual/en/class.serializable.php) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface), [Serializable](http://php.net/manual/en/class.serializable.php) Source on GitHub @@ -79,50 +79,50 @@ public **unserialize** (*mixed* $data) Required for interface \\Serializable -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Phalcon\\Cache\\Backend constructor -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/es/api/Phalcon_Cache_Backend_Mongo.md b/es/api/Phalcon_Cache_Backend_Mongo.md index 9ad0f67b530c..6421cd0f4f29 100644 --- a/es/api/Phalcon_Cache_Backend_Mongo.md +++ b/es/api/Phalcon_Cache_Backend_Mongo.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Mongo** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -44,7 +44,7 @@ $data = $cache->get("my-data"); ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend\\Mongo constructor @@ -98,46 +98,46 @@ public **flush** () Immediately invalidates all existing items. -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/es/api/Phalcon_Cache_Backend_Redis.md b/es/api/Phalcon_Cache_Backend_Redis.md index 123bf025f2af..a3509251d509 100644 --- a/es/api/Phalcon_Cache_Backend_Redis.md +++ b/es/api/Phalcon_Cache_Backend_Redis.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Redis** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -45,7 +45,7 @@ $data = $cache->get("my-data"); ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend\\Redis constructor @@ -105,46 +105,46 @@ public **flush** () Immediately invalidates all existing items. -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/es/api/Phalcon_Cache_Backend_Xcache.md b/es/api/Phalcon_Cache_Backend_Xcache.md index b91e75b19c79..7dac8215d5f3 100644 --- a/es/api/Phalcon_Cache_Backend_Xcache.md +++ b/es/api/Phalcon_Cache_Backend_Xcache.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Xcache** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -38,7 +38,7 @@ $data = $cache->get("my-data"); ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend\\Xcache constructor @@ -84,46 +84,46 @@ public **flush** () Immediately invalidates all existing items. -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/es/api/Phalcon_Cache_Exception.md b/es/api/Phalcon_Cache_Exception.md index cbb05a3a76e4..87f2372e7864 100644 --- a/es/api/Phalcon_Cache_Exception.md +++ b/es/api/Phalcon_Cache_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/es/api/Phalcon_Cache_Frontend_Base64.md b/es/api/Phalcon_Cache_Frontend_Base64.md index 92f36996b4b7..473895a88aa8 100644 --- a/es/api/Phalcon_Cache_Frontend_Base64.md +++ b/es/api/Phalcon_Cache_Frontend_Base64.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Frontend\\Base64** -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/es/api/Phalcon_Cache_Frontend_Data.md b/es/api/Phalcon_Cache_Frontend_Data.md index f46469ab7410..1f249be7103c 100644 --- a/es/api/Phalcon_Cache_Frontend_Data.md +++ b/es/api/Phalcon_Cache_Frontend_Data.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Frontend\\Data** -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/es/api/Phalcon_Cache_Frontend_Igbinary.md b/es/api/Phalcon_Cache_Frontend_Igbinary.md index 1460a42ce867..714a96bb4de1 100644 --- a/es/api/Phalcon_Cache_Frontend_Igbinary.md +++ b/es/api/Phalcon_Cache_Frontend_Igbinary.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Frontend\\Igbinary** -*extends* class [Phalcon\Cache\Frontend\Data](/en/3.1.2/api/Phalcon_Cache_Frontend_Data) +*extends* class [Phalcon\Cache\Frontend\Data](/en/3.2/api/Phalcon_Cache_Frontend_Data) -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/es/api/Phalcon_Cache_Frontend_Json.md b/es/api/Phalcon_Cache_Frontend_Json.md index 64a296ca976f..bfe39cdc53c4 100644 --- a/es/api/Phalcon_Cache_Frontend_Json.md +++ b/es/api/Phalcon_Cache_Frontend_Json.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Frontend\\Json** -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/es/api/Phalcon_Cache_Frontend_Msgpack.md b/es/api/Phalcon_Cache_Frontend_Msgpack.md index f77a99a21168..857b40d4bbdc 100644 --- a/es/api/Phalcon_Cache_Frontend_Msgpack.md +++ b/es/api/Phalcon_Cache_Frontend_Msgpack.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Frontend\\Msgpack** -*extends* class [Phalcon\Cache\Frontend\Data](/en/3.1.2/api/Phalcon_Cache_Frontend_Data) +*extends* class [Phalcon\Cache\Frontend\Data](/en/3.2/api/Phalcon_Cache_Frontend_Data) -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/es/api/Phalcon_Cache_Frontend_None.md b/es/api/Phalcon_Cache_Frontend_None.md index 521fcd02f344..bdc0af2d4135 100644 --- a/es/api/Phalcon_Cache_Frontend_None.md +++ b/es/api/Phalcon_Cache_Frontend_None.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Frontend\\None** -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/es/api/Phalcon_Cache_Frontend_Output.md b/es/api/Phalcon_Cache_Frontend_Output.md index 8421c02f1276..c6a0543703d6 100644 --- a/es/api/Phalcon_Cache_Frontend_Output.md +++ b/es/api/Phalcon_Cache_Frontend_Output.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Frontend\\Output** -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/es/api/Phalcon_Cache_Multiple.md b/es/api/Phalcon_Cache_Multiple.md index bbfa61a13274..1d9fd1365aa9 100644 --- a/es/api/Phalcon_Cache_Multiple.md +++ b/es/api/Phalcon_Cache_Multiple.md @@ -65,11 +65,11 @@ $cache->save("my-key", $data); ## Methods -public **__construct** ([[Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface[]) $backends]) +public **__construct** ([[Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface[]) $backends]) Phalcon\\Cache\\Multiple constructor -public **push** ([Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) $backend) +public **push** ([Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) $backend) Adds a backend diff --git a/es/api/Phalcon_Cli_Console.md b/es/api/Phalcon_Cli_Console.md index c769b7ad7659..f0337bf3f1ec 100644 --- a/es/api/Phalcon_Cli_Console.md +++ b/es/api/Phalcon_Cli_Console.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cli\\Console** -*extends* abstract class [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +*extends* abstract class [Phalcon\Application](/en/3.2/api/Phalcon_Application) -*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -36,19 +36,19 @@ public **setArgument** ([*array* $arguments], [*mixed* $str], [*mixed* $shift]) Set an specific argument -public **__construct** ([[Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector]) inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **__construct** ([[Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector]) inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Phalcon\\Application -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Sets the events manager -public **getEventsManager** () inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **getEventsManager** () inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Returns the internal event manager -public **registerModules** (*array* $modules, [*mixed* $merge]) inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **registerModules** (*array* $modules, [*mixed* $merge]) inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Register an array of modules present in the application @@ -70,30 +70,30 @@ $this->registerModules( ``` -public **getModules** () inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **getModules** () inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Return the modules registered in the application -public **getModule** (*mixed* $name) inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **getModule** (*mixed* $name) inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Gets the module definition registered in the application via module name -public **setDefaultModule** (*mixed* $defaultModule) inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **setDefaultModule** (*mixed* $defaultModule) inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Sets the module name to be used if the router doesn't return a valid module -public **getDefaultModule** () inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **getDefaultModule** () inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Returns the default module name -public **setDI** ([Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **setDI** ([Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Sets the dependency injector -public **getDI** () inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **getDI** () inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Returns the internal dependency injector -public **__get** (*mixed* $propertyName) inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **__get** (*mixed* $propertyName) inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Magic method __get \ No newline at end of file diff --git a/es/api/Phalcon_Cli_Console_Exception.md b/es/api/Phalcon_Cli_Console_Exception.md index 64a6f1f9162a..e7bfea5dbde1 100644 --- a/es/api/Phalcon_Cli_Console_Exception.md +++ b/es/api/Phalcon_Cli_Console_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cli\\Console\\Exception** -*extends* class [Phalcon\Application\Exception](/en/3.1.2/api/Phalcon_Application_Exception) +*extends* class [Phalcon\Application\Exception](/en/3.2/api/Phalcon_Application_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/es/api/Phalcon_Cli_Dispatcher.md b/es/api/Phalcon_Cli_Dispatcher.md index 7b91f5c9f537..f03b7c7c61ac 100644 --- a/es/api/Phalcon_Cli_Dispatcher.md +++ b/es/api/Phalcon_Cli_Dispatcher.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cli\\Dispatcher** -*extends* abstract class [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +*extends* abstract class [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) -*implements* [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface), [Phalcon\Cli\DispatcherInterface](/en/3.1.2/api/Phalcon_Cli_DispatcherInterface) +*implements* [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface), [Phalcon\Cli\DispatcherInterface](/en/3.2/api/Phalcon_Cli_DispatcherInterface) Source on GitHub @@ -11,10 +11,11 @@ Dispatching is the process of taking the command-line arguments, extracting the ```php setDi($di); $dispatcher->setTaskName("posts"); @@ -81,107 +82,115 @@ public **getOptions** () Get dispatched options +public **getOption** (*mixed* $option, [*string* | *array* $filters], [*mixed* $defaultValue]) + +Gets an option by its name or numeric index + +public **hasOption** (*mixed* $option) + +Check if an option exists + public **callActionMethod** (*mixed* $handler, *mixed* $actionMethod, [*array* $params]) -... +Calls the action method. -public **setDI** ([Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setDI** ([Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the dependency injector -public **getDI** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getDI** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns the internal dependency injector -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the events manager -public **getEventsManager** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getEventsManager** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns the internal event manager -public **setActionSuffix** (*mixed* $actionSuffix) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setActionSuffix** (*mixed* $actionSuffix) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the default action suffix -public **getActionSuffix** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getActionSuffix** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets the default action suffix -public **setModuleName** (*mixed* $moduleName) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setModuleName** (*mixed* $moduleName) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the module where the controller is (only informative) -public **getModuleName** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getModuleName** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets the module where the controller class is -public **setNamespaceName** (*mixed* $namespaceName) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setNamespaceName** (*mixed* $namespaceName) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the namespace where the controller class is -public **getNamespaceName** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getNamespaceName** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets a namespace to be prepended to the current handler name -public **setDefaultNamespace** (*mixed* $namespaceName) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setDefaultNamespace** (*mixed* $namespaceName) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the default namespace -public **getDefaultNamespace** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getDefaultNamespace** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns the default namespace -public **setDefaultAction** (*mixed* $actionName) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setDefaultAction** (*mixed* $actionName) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the default action name -public **setActionName** (*mixed* $actionName) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setActionName** (*mixed* $actionName) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the action name to be dispatched -public **getActionName** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getActionName** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets the latest dispatched action name -public **setParams** (*array* $params) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setParams** (*array* $params) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets action params to be dispatched -public **getParams** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getParams** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets action params -public **setParam** (*mixed* $param, *mixed* $value) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setParam** (*mixed* $param, *mixed* $value) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Set a param by its name or numeric index -public *mixed* **getParam** (*mixed* $param, [*string* | *array* $filters], [*mixed* $defaultValue]) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public *mixed* **getParam** (*mixed* $param, [*string* | *array* $filters], [*mixed* $defaultValue]) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets a param by its name or numeric index -public *boolean* **hasParam** (*mixed* $param) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public *boolean* **hasParam** (*mixed* $param) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Check if a param exists -public **getActiveMethod** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getActiveMethod** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns the current method to be/executed in the dispatcher -public **isFinished** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **isFinished** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Checks if the dispatch loop is finished or has more pendent controllers/tasks to dispatch -public **setReturnedValue** (*mixed* $value) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setReturnedValue** (*mixed* $value) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the latest returned value by an action manually -public *mixed* **getReturnedValue** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public *mixed* **getReturnedValue** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns value returned by the latest dispatched action -public **setModelBinding** (*mixed* $value, [*mixed* $cache]) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setModelBinding** (*mixed* $value, [*mixed* $cache]) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Enable/Disable model binding during dispatch @@ -197,7 +206,7 @@ $di->set('dispatcher', function() { ``` -public **setModelBinder** ([Phalcon\Mvc\Model\BinderInterface](/en/3.1.2/api/Phalcon_Mvc_Model_BinderInterface) $modelBinder, [*mixed* $cache]) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setModelBinder** ([Phalcon\Mvc\Model\BinderInterface](/en/3.2/api/Phalcon_Mvc_Model_BinderInterface) $modelBinder, [*mixed* $cache]) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Enable model binding during dispatch @@ -213,21 +222,21 @@ $di->set('dispatcher', function() { ``` -public **getModelBinder** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getModelBinder** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets model binder -public *object* **dispatch** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public *object* **dispatch** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Dispatches a handle action taking into account the routing parameters -protected *object* **_dispatch** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +protected *object* **_dispatch** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Dispatches a handle action taking into account the routing parameters -public **forward** (*array* $forward) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **forward** (*array* $forward) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) -Forwards the execution flow to another controller/action Dispatchers are unique per module. Forwarding between modules is not allowed +Forwards the execution flow to another controller/action. ```php dispatcher->forward( ``` -public **wasForwarded** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **wasForwarded** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Check if the current executed action was forwarded by another one -public **getHandlerClass** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getHandlerClass** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Possible class name that will be located to dispatch the request -public **getBoundModels** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getBoundModels** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns bound models from binder instance @@ -266,6 +275,6 @@ class UserController extends Controller ``` -protected **_resolveEmptyProperties** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +protected **_resolveEmptyProperties** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Set empty properties to their defaults (where defaults are available) \ No newline at end of file diff --git a/es/api/Phalcon_Cli_DispatcherInterface.md b/es/api/Phalcon_Cli_DispatcherInterface.md index 58914bf4b682..78f4d7b40c9c 100644 --- a/es/api/Phalcon_Cli_DispatcherInterface.md +++ b/es/api/Phalcon_Cli_DispatcherInterface.md @@ -1,6 +1,6 @@ # Interface **Phalcon\\Cli\\DispatcherInterface** -*implements* [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +*implements* [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) Source on GitHub @@ -30,70 +30,70 @@ abstract public **getActiveTask** () ... -abstract public **setActionSuffix** (*mixed* $actionSuffix) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setActionSuffix** (*mixed* $actionSuffix) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **getActionSuffix** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **getActionSuffix** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setDefaultNamespace** (*mixed* $defaultNamespace) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setDefaultNamespace** (*mixed* $defaultNamespace) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setDefaultAction** (*mixed* $actionName) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setDefaultAction** (*mixed* $actionName) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setNamespaceName** (*mixed* $namespaceName) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setNamespaceName** (*mixed* $namespaceName) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setModuleName** (*mixed* $moduleName) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setModuleName** (*mixed* $moduleName) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setActionName** (*mixed* $actionName) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setActionName** (*mixed* $actionName) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **getActionName** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **getActionName** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setParams** (*mixed* $params) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setParams** (*mixed* $params) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **getParams** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **getParams** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setParam** (*mixed* $param, *mixed* $value) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setParam** (*mixed* $param, *mixed* $value) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **getParam** (*mixed* $param, [*mixed* $filters]) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **getParam** (*mixed* $param, [*mixed* $filters]) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **hasParam** (*mixed* $param) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **hasParam** (*mixed* $param) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **isFinished** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **isFinished** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **getReturnedValue** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **getReturnedValue** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **dispatch** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **dispatch** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **forward** (*mixed* $forward) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **forward** (*mixed* $forward) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... \ No newline at end of file diff --git a/es/api/Phalcon_Cli_Dispatcher_Exception.md b/es/api/Phalcon_Cli_Dispatcher_Exception.md index 0eeb05860d89..fbd0a6c4292d 100644 --- a/es/api/Phalcon_Cli_Dispatcher_Exception.md +++ b/es/api/Phalcon_Cli_Dispatcher_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cli\\Dispatcher\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/es/api/Phalcon_Cli_Router.md b/es/api/Phalcon_Cli_Router.md index d2cb10a44276..5a0943627b36 100644 --- a/es/api/Phalcon_Cli_Router.md +++ b/es/api/Phalcon_Cli_Router.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cli\\Router** -*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface) +*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface) Source on GitHub @@ -29,7 +29,7 @@ public **__construct** ([*mixed* $defaultRoutes]) Phalcon\\Cli\\Router constructor -public **setDI** ([Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector) +public **setDI** ([Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector) Sets the dependency injector @@ -69,7 +69,7 @@ public **handle** ([*array* $arguments]) Handles routing information received from command-line arguments -public [Phalcon\Cli\Router\Route](/en/3.1.2/api/Phalcon_Cli_Router_Route) **add** (*string* $pattern, [*string/array* $paths]) +public [Phalcon\Cli\Router\Route](/en/3.2/api/Phalcon_Cli_Router_Route) **add** (*string* $pattern, [*string/array* $paths]) Adds a route to the router @@ -112,7 +112,7 @@ public **getRoutes** () Returns all the routes defined in the router -public [Phalcon\Cli\Router\Route](/en/3.1.2/api/Phalcon_Cli_Router_Route) **getRouteById** (*int* $id) +public [Phalcon\Cli\Router\Route](/en/3.2/api/Phalcon_Cli_Router_Route) **getRouteById** (*int* $id) Returns a route object by its id diff --git a/es/api/Phalcon_Cli_Router_Exception.md b/es/api/Phalcon_Cli_Router_Exception.md index ebd81a411422..e063b3861132 100644 --- a/es/api/Phalcon_Cli_Router_Exception.md +++ b/es/api/Phalcon_Cli_Router_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cli\\Router\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/es/api/Phalcon_Db_Adapter.md b/es/api/Phalcon_Db_Adapter.md index c1deaded19cd..a5d397a98c83 100644 --- a/es/api/Phalcon_Db_Adapter.md +++ b/es/api/Phalcon_Db_Adapter.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Db\\Adapter** -*implements* [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -24,7 +24,7 @@ public **__construct** (*array* $descriptor) Phalcon\\Db\\Adapter constructor -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) Sets the event manager @@ -32,7 +32,7 @@ public **getEventsManager** () Returns the internal event manager -public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) $dialect) +public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) $dialect) Sets the dialect used to produce the SQL @@ -309,11 +309,11 @@ public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExist Drops a view -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Adds a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) Modifies a table column based on a definition @@ -321,7 +321,7 @@ public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnN Drops a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Adds an index to a table @@ -329,7 +329,7 @@ public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexNam Drop an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Adds a primary key to a table @@ -337,7 +337,7 @@ public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) Drops a table's primary key -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) Adds a foreign key to a table @@ -345,7 +345,7 @@ public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $ref Drops a foreign key from a table -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Returns the SQL column definition from a column @@ -375,7 +375,7 @@ print_r( ``` -public [Phalcon\Db\Index](/en/3.1.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) +public [Phalcon\Db\Index](/en/3.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) Lists table indexes @@ -512,54 +512,54 @@ public *array* **getSQLBindTypes** () Active SQL statement in the object -abstract public **connect** ([*array* $descriptor]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **connect** ([*array* $descriptor]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **query** (*mixed* $sqlStatement, [*mixed* $placeholders], [*mixed* $dataTypes]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **query** (*mixed* $sqlStatement, [*mixed* $placeholders], [*mixed* $dataTypes]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **execute** (*mixed* $sqlStatement, [*mixed* $placeholders], [*mixed* $dataTypes]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **execute** (*mixed* $sqlStatement, [*mixed* $placeholders], [*mixed* $dataTypes]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **affectedRows** () inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **affectedRows** () inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **close** () inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **close** () inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **lastInsertId** ([*mixed* $sequenceName]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **lastInsertId** ([*mixed* $sequenceName]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **isUnderTransaction** () inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **isUnderTransaction** () inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **getInternalHandler** () inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **getInternalHandler** () inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... \ No newline at end of file diff --git a/es/api/Phalcon_Db_AdapterInterface.md b/es/api/Phalcon_Db_AdapterInterface.md index 2b9bec9a2acd..4c6a8f54b3f1 100644 --- a/es/api/Phalcon_Db_AdapterInterface.md +++ b/es/api/Phalcon_Db_AdapterInterface.md @@ -64,11 +64,11 @@ abstract public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* ... -abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) ... -abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) ... @@ -76,7 +76,7 @@ abstract public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* ... -abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) ... @@ -84,7 +84,7 @@ abstract public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* ... -abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) ... @@ -92,7 +92,7 @@ abstract public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) ... -abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) ... @@ -100,7 +100,7 @@ abstract public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mi ... -abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) ... diff --git a/es/api/Phalcon_Db_Adapter_Pdo.md b/es/api/Phalcon_Db_Adapter_Pdo.md index 44de7d9e6e1f..c23a014e3d58 100644 --- a/es/api/Phalcon_Db_Adapter_Pdo.md +++ b/es/api/Phalcon_Db_Adapter_Pdo.md @@ -1,8 +1,8 @@ # Abstract class **Phalcon\\Db\\Adapter\\Pdo** -*extends* abstract class [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +*extends* abstract class [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) -*implements* [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +*implements* [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) Source on GitHub @@ -262,35 +262,35 @@ public *array* **getErrorInfo** () Return the error info, if any -public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Name of the dialect used -public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Type of database system the adapter is used for -public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL bound parameter variables -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the event manager -public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the internal event manager -public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the dialect used to produce the SQL -public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns internal dialect instance -public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the first row in a SQL query result @@ -307,7 +307,7 @@ print_r($robot); ``` -public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Dumps the complete result of a query into an array @@ -338,7 +338,7 @@ foreach($robots as $robot) { ``` -public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the n'th field of first row in a SQL query result @@ -358,7 +358,7 @@ print_r($robot); ``` -public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RDBMS SQL syntax @@ -377,7 +377,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RBDM SQL syntax @@ -398,7 +398,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax @@ -435,7 +435,7 @@ $success = $connection->update( Warning! If $whereCondition is string it not escaped. -public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax Another, more convenient syntax @@ -456,7 +456,7 @@ UPDATE `robots` SET `name` = "Astro boy" WHERE id = 101 ``` -public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Deletes data from a table using custom RBDM SQL syntax @@ -474,7 +474,7 @@ DELETE FROM `robots` WHERE `id` = 101 ``` -public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Escapes a column/table/schema name @@ -494,11 +494,11 @@ $escapedTable = $connection->escapeIdentifier( ``` -public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets a list of columns -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Appends a LIMIT clause to $sqlQuery argument @@ -509,7 +509,7 @@ echo $connection->limit("SELECT * FROM robots", 5); ``` -public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.table @@ -522,7 +522,7 @@ var_dump( ``` -public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.view @@ -535,71 +535,71 @@ var_dump( ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a FOR UPDATE clause -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a LOCK IN SHARE MODE clause -public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a table -public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table from a schema/database -public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a view -public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a view -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Modifies a table column based on a definition -public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds an index to a table -public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drop an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a primary key to a table -public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table's primary key -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a foreign key to a table -public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a foreign key from a table -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the SQL column definition from a column -public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all tables on a database @@ -612,7 +612,7 @@ print_r( ``` -public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all views on a database @@ -625,7 +625,7 @@ print_r( ``` -public [Phalcon\Db\Index](/en/3.1.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public [Phalcon\Db\Index](/en/3.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Lists table indexes @@ -638,7 +638,7 @@ print_r( ``` -public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Lists table references @@ -651,7 +651,7 @@ print_r( ``` -public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets creation options from a table @@ -664,31 +664,31 @@ print_r( ``` -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Releases given savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Rollbacks given savepoint -public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Set if nested transactions should use savepoints -public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns if nested transactions should use savepoints -public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the savepoint name to use for nested transactions -public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default identity value to be inserted in an identity column @@ -712,7 +712,7 @@ $success = $connection->insert( ``` -public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default value to make the RBDM use the default value declared in the table definition @@ -734,34 +734,34 @@ $success = $connection->insert( ``` -public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Check whether the database system requires a sequence to produce auto-numeric values -public **useExplicitIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **useExplicitIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Check whether the database system requires an explicit value for identity columns -public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Return descriptor used to connect to the active database -public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets the active connection unique identifier -public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object -public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object without replace bound parameters -public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object -abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... \ No newline at end of file diff --git a/es/api/Phalcon_Db_Adapter_Pdo_Mysql.md b/es/api/Phalcon_Db_Adapter_Pdo_Mysql.md index fe17030fddcf..5013bf0def80 100644 --- a/es/api/Phalcon_Db_Adapter_Pdo_Mysql.md +++ b/es/api/Phalcon_Db_Adapter_Pdo_Mysql.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Adapter\\Pdo\\Mysql** -*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) -*implements* [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -40,7 +40,7 @@ print_r( ``` -public [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface[]) **describeIndexes** (*string* $table, [*string* $schema]) +public [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface[]) **describeIndexes** (*string* $table, [*string* $schema]) Lists table indexes @@ -66,11 +66,11 @@ print_r( ``` -public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Constructor for Phalcon\\Db\\Adapter\\Pdo -public **connect** ([*array* $descriptor]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **connect** ([*array* $descriptor]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) This method is automatically called in \\Phalcon\\Db\\Adapter\\Pdo constructor. Call it when you need to restore a database connection. @@ -95,7 +95,7 @@ $connection->connect(); ``` -public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns a PDO prepared statement to be executed with 'executePrepared' @@ -120,7 +120,7 @@ $result = $connection->executePrepared( ``` -public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Executes a prepared statement binding. This function uses integer indexes starting from zero @@ -145,7 +145,7 @@ $result = $connection->executePrepared( ``` -public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server is returning rows @@ -166,7 +166,7 @@ $resultset = $connection->query( ``` -public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server doesn't return any rows @@ -188,7 +188,7 @@ $success = $connection->execute( ``` -public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the number of affected rows by the latest INSERT/UPDATE/DELETE executed in the database system @@ -203,11 +203,11 @@ echo $connection->affectedRows(), " were deleted"; ``` -public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Closes the active connection returning success. Phalcon automatically closes and destroys active connections when the request ends -public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Escapes a value to avoid SQL injections according to the active charset in the connection @@ -218,7 +218,7 @@ $escapedStr = $connection->escapeString("some dangerous value"); ``` -public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Converts bound parameters such as :name: or ?1 into PDO bind params ? @@ -236,7 +236,7 @@ print_r( ``` -public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the insert id for the auto_increment/serial column inserted in the latest executed SQL statement @@ -261,23 +261,23 @@ $id = $connection->lastInsertId(); ``` -public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Starts a transaction in the connection -public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Rollbacks the active transaction in the connection -public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Commits the active transaction in the connection -public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the current transaction nesting level -public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Checks whether the connection is under a transaction @@ -293,43 +293,43 @@ var_dump( ``` -public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return internal PDO handler -public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return the error info, if any -public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Name of the dialect used -public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Type of database system the adapter is used for -public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL bound parameter variables -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the event manager -public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the internal event manager -public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the dialect used to produce the SQL -public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns internal dialect instance -public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the first row in a SQL query result @@ -346,7 +346,7 @@ print_r($robot); ``` -public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Dumps the complete result of a query into an array @@ -377,7 +377,7 @@ foreach($robots as $robot) { ``` -public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the n'th field of first row in a SQL query result @@ -397,7 +397,7 @@ print_r($robot); ``` -public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RDBMS SQL syntax @@ -416,7 +416,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RBDM SQL syntax @@ -437,7 +437,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax @@ -474,7 +474,7 @@ $success = $connection->update( Warning! If $whereCondition is string it not escaped. -public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax Another, more convenient syntax @@ -495,7 +495,7 @@ UPDATE `robots` SET `name` = "Astro boy" WHERE id = 101 ``` -public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Deletes data from a table using custom RBDM SQL syntax @@ -513,7 +513,7 @@ DELETE FROM `robots` WHERE `id` = 101 ``` -public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Escapes a column/table/schema name @@ -533,11 +533,11 @@ $escapedTable = $connection->escapeIdentifier( ``` -public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets a list of columns -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Appends a LIMIT clause to $sqlQuery argument @@ -548,7 +548,7 @@ echo $connection->limit("SELECT * FROM robots", 5); ``` -public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.table @@ -561,7 +561,7 @@ var_dump( ``` -public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.view @@ -574,71 +574,71 @@ var_dump( ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a FOR UPDATE clause -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a LOCK IN SHARE MODE clause -public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a table -public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table from a schema/database -public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a view -public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a view -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Modifies a table column based on a definition -public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds an index to a table -public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drop an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a primary key to a table -public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table's primary key -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a foreign key to a table -public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a foreign key from a table -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the SQL column definition from a column -public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all tables on a database @@ -651,7 +651,7 @@ print_r( ``` -public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all views on a database @@ -664,7 +664,7 @@ print_r( ``` -public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets creation options from a table @@ -677,31 +677,31 @@ print_r( ``` -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Releases given savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Rollbacks given savepoint -public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Set if nested transactions should use savepoints -public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns if nested transactions should use savepoints -public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the savepoint name to use for nested transactions -public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default identity value to be inserted in an identity column @@ -725,7 +725,7 @@ $success = $connection->insert( ``` -public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default value to make the RBDM use the default value declared in the table definition @@ -747,30 +747,30 @@ $success = $connection->insert( ``` -public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Check whether the database system requires a sequence to produce auto-numeric values -public **useExplicitIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **useExplicitIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Check whether the database system requires an explicit value for identity columns -public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Return descriptor used to connect to the active database -public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets the active connection unique identifier -public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object -public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object without replace bound parameters -public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object \ No newline at end of file diff --git a/es/api/Phalcon_Db_Adapter_Pdo_Postgresql.md b/es/api/Phalcon_Db_Adapter_Pdo_Postgresql.md index c7f35273d52a..9a66f69a4ec1 100644 --- a/es/api/Phalcon_Db_Adapter_Pdo_Postgresql.md +++ b/es/api/Phalcon_Db_Adapter_Pdo_Postgresql.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Adapter\\Pdo\\Postgresql** -*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) -*implements* [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -48,7 +48,7 @@ public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $defini Creates a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) Modifies a table column based on a definition @@ -84,11 +84,11 @@ public **supportSequences** () Check whether the database system requires a sequence to produce auto-numeric values -public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Constructor for Phalcon\\Db\\Adapter\\Pdo -public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns a PDO prepared statement to be executed with 'executePrepared' @@ -113,7 +113,7 @@ $result = $connection->executePrepared( ``` -public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Executes a prepared statement binding. This function uses integer indexes starting from zero @@ -138,7 +138,7 @@ $result = $connection->executePrepared( ``` -public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server is returning rows @@ -159,7 +159,7 @@ $resultset = $connection->query( ``` -public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server doesn't return any rows @@ -181,7 +181,7 @@ $success = $connection->execute( ``` -public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the number of affected rows by the latest INSERT/UPDATE/DELETE executed in the database system @@ -196,11 +196,11 @@ echo $connection->affectedRows(), " were deleted"; ``` -public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Closes the active connection returning success. Phalcon automatically closes and destroys active connections when the request ends -public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Escapes a value to avoid SQL injections according to the active charset in the connection @@ -211,7 +211,7 @@ $escapedStr = $connection->escapeString("some dangerous value"); ``` -public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Converts bound parameters such as :name: or ?1 into PDO bind params ? @@ -229,7 +229,7 @@ print_r( ``` -public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the insert id for the auto_increment/serial column inserted in the latest executed SQL statement @@ -254,23 +254,23 @@ $id = $connection->lastInsertId(); ``` -public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Starts a transaction in the connection -public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Rollbacks the active transaction in the connection -public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Commits the active transaction in the connection -public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the current transaction nesting level -public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Checks whether the connection is under a transaction @@ -286,43 +286,43 @@ var_dump( ``` -public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return internal PDO handler -public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return the error info, if any -public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Name of the dialect used -public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Type of database system the adapter is used for -public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL bound parameter variables -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the event manager -public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the internal event manager -public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the dialect used to produce the SQL -public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns internal dialect instance -public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the first row in a SQL query result @@ -339,7 +339,7 @@ print_r($robot); ``` -public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Dumps the complete result of a query into an array @@ -370,7 +370,7 @@ foreach($robots as $robot) { ``` -public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the n'th field of first row in a SQL query result @@ -390,7 +390,7 @@ print_r($robot); ``` -public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RDBMS SQL syntax @@ -409,7 +409,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RBDM SQL syntax @@ -430,7 +430,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax @@ -467,7 +467,7 @@ $success = $connection->update( Warning! If $whereCondition is string it not escaped. -public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax Another, more convenient syntax @@ -488,7 +488,7 @@ UPDATE `robots` SET `name` = "Astro boy" WHERE id = 101 ``` -public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Deletes data from a table using custom RBDM SQL syntax @@ -506,7 +506,7 @@ DELETE FROM `robots` WHERE `id` = 101 ``` -public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Escapes a column/table/schema name @@ -526,11 +526,11 @@ $escapedTable = $connection->escapeIdentifier( ``` -public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets a list of columns -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Appends a LIMIT clause to $sqlQuery argument @@ -541,7 +541,7 @@ echo $connection->limit("SELECT * FROM robots", 5); ``` -public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.table @@ -554,7 +554,7 @@ var_dump( ``` -public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.view @@ -567,63 +567,63 @@ var_dump( ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a FOR UPDATE clause -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a LOCK IN SHARE MODE clause -public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table from a schema/database -public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a view -public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a view -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a column to a table -public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds an index to a table -public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drop an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a primary key to a table -public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table's primary key -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a foreign key to a table -public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a foreign key from a table -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the SQL column definition from a column -public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all tables on a database @@ -636,7 +636,7 @@ print_r( ``` -public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all views on a database @@ -649,7 +649,7 @@ print_r( ``` -public [Phalcon\Db\Index](/en/3.1.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public [Phalcon\Db\Index](/en/3.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Lists table indexes @@ -662,7 +662,7 @@ print_r( ``` -public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Lists table references @@ -675,7 +675,7 @@ print_r( ``` -public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets creation options from a table @@ -688,31 +688,31 @@ print_r( ``` -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Releases given savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Rollbacks given savepoint -public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Set if nested transactions should use savepoints -public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns if nested transactions should use savepoints -public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the savepoint name to use for nested transactions -public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default value to make the RBDM use the default value declared in the table definition @@ -734,22 +734,22 @@ $success = $connection->insert( ``` -public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Return descriptor used to connect to the active database -public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets the active connection unique identifier -public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object -public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object without replace bound parameters -public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object \ No newline at end of file diff --git a/es/api/Phalcon_Db_Adapter_Pdo_Sqlite.md b/es/api/Phalcon_Db_Adapter_Pdo_Sqlite.md index 1f92cfbfc6bd..a568c933ce4a 100644 --- a/es/api/Phalcon_Db_Adapter_Pdo_Sqlite.md +++ b/es/api/Phalcon_Db_Adapter_Pdo_Sqlite.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Adapter\\Pdo\\Sqlite** -*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) -*implements* [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -40,7 +40,7 @@ print_r( ``` -public [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface[]) **describeIndexes** (*string* $table, [*string* $schema]) +public [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface[]) **describeIndexes** (*string* $table, [*string* $schema]) Lists table indexes @@ -53,7 +53,7 @@ print_r( ``` -public [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface[]) **describeReferences** (*string* $table, [*string* $schema]) +public [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface[]) **describeReferences** (*string* $table, [*string* $schema]) Lists table references @@ -83,11 +83,11 @@ $success = $connection->insert( ``` -public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Constructor for Phalcon\\Db\\Adapter\\Pdo -public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns a PDO prepared statement to be executed with 'executePrepared' @@ -112,7 +112,7 @@ $result = $connection->executePrepared( ``` -public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Executes a prepared statement binding. This function uses integer indexes starting from zero @@ -137,7 +137,7 @@ $result = $connection->executePrepared( ``` -public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server is returning rows @@ -158,7 +158,7 @@ $resultset = $connection->query( ``` -public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server doesn't return any rows @@ -180,7 +180,7 @@ $success = $connection->execute( ``` -public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the number of affected rows by the latest INSERT/UPDATE/DELETE executed in the database system @@ -195,11 +195,11 @@ echo $connection->affectedRows(), " were deleted"; ``` -public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Closes the active connection returning success. Phalcon automatically closes and destroys active connections when the request ends -public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Escapes a value to avoid SQL injections according to the active charset in the connection @@ -210,7 +210,7 @@ $escapedStr = $connection->escapeString("some dangerous value"); ``` -public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Converts bound parameters such as :name: or ?1 into PDO bind params ? @@ -228,7 +228,7 @@ print_r( ``` -public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the insert id for the auto_increment/serial column inserted in the latest executed SQL statement @@ -253,23 +253,23 @@ $id = $connection->lastInsertId(); ``` -public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Starts a transaction in the connection -public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Rollbacks the active transaction in the connection -public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Commits the active transaction in the connection -public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the current transaction nesting level -public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Checks whether the connection is under a transaction @@ -285,43 +285,43 @@ var_dump( ``` -public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return internal PDO handler -public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return the error info, if any -public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Name of the dialect used -public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Type of database system the adapter is used for -public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL bound parameter variables -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the event manager -public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the internal event manager -public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the dialect used to produce the SQL -public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns internal dialect instance -public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the first row in a SQL query result @@ -338,7 +338,7 @@ print_r($robot); ``` -public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Dumps the complete result of a query into an array @@ -369,7 +369,7 @@ foreach($robots as $robot) { ``` -public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the n'th field of first row in a SQL query result @@ -389,7 +389,7 @@ print_r($robot); ``` -public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RDBMS SQL syntax @@ -408,7 +408,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RBDM SQL syntax @@ -429,7 +429,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax @@ -466,7 +466,7 @@ $success = $connection->update( Warning! If $whereCondition is string it not escaped. -public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax Another, more convenient syntax @@ -487,7 +487,7 @@ UPDATE `robots` SET `name` = "Astro boy" WHERE id = 101 ``` -public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Deletes data from a table using custom RBDM SQL syntax @@ -505,7 +505,7 @@ DELETE FROM `robots` WHERE `id` = 101 ``` -public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Escapes a column/table/schema name @@ -525,11 +525,11 @@ $escapedTable = $connection->escapeIdentifier( ``` -public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets a list of columns -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Appends a LIMIT clause to $sqlQuery argument @@ -540,7 +540,7 @@ echo $connection->limit("SELECT * FROM robots", 5); ``` -public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.table @@ -553,7 +553,7 @@ var_dump( ``` -public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.view @@ -566,71 +566,71 @@ var_dump( ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a FOR UPDATE clause -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a LOCK IN SHARE MODE clause -public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a table -public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table from a schema/database -public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a view -public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a view -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Modifies a table column based on a definition -public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds an index to a table -public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drop an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a primary key to a table -public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table's primary key -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a foreign key to a table -public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a foreign key from a table -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the SQL column definition from a column -public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all tables on a database @@ -643,7 +643,7 @@ print_r( ``` -public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all views on a database @@ -656,7 +656,7 @@ print_r( ``` -public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets creation options from a table @@ -669,31 +669,31 @@ print_r( ``` -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Releases given savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Rollbacks given savepoint -public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Set if nested transactions should use savepoints -public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns if nested transactions should use savepoints -public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the savepoint name to use for nested transactions -public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default identity value to be inserted in an identity column @@ -717,26 +717,26 @@ $success = $connection->insert( ``` -public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Check whether the database system requires a sequence to produce auto-numeric values -public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Return descriptor used to connect to the active database -public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets the active connection unique identifier -public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object -public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object without replace bound parameters -public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object \ No newline at end of file diff --git a/es/api/Phalcon_Db_Column.md b/es/api/Phalcon_Db_Column.md index ab2fdfb7a40e..fe0210a2b411 100644 --- a/es/api/Phalcon_Db_Column.md +++ b/es/api/Phalcon_Db_Column.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Db\\Column** -*implements* [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) +*implements* [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) Source on GitHub diff --git a/es/api/Phalcon_Db_Dialect.md b/es/api/Phalcon_Db_Dialect.md index 11c52ea58df4..df25f0af03ab 100644 --- a/es/api/Phalcon_Db_Dialect.md +++ b/es/api/Phalcon_Db_Dialect.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Db\\Dialect** -*implements* [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +*implements* [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) Source on GitHub @@ -199,86 +199,86 @@ protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $es Prepares qualified for this RDBMS -abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropTable** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropTable** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **describeIndexes** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **describeIndexes** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **tableOptions** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **tableOptions** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... \ No newline at end of file diff --git a/es/api/Phalcon_Db_DialectInterface.md b/es/api/Phalcon_Db_DialectInterface.md index 0bf993854d79..90ee58afb9e1 100644 --- a/es/api/Phalcon_Db_DialectInterface.md +++ b/es/api/Phalcon_Db_DialectInterface.md @@ -24,15 +24,15 @@ abstract public **getColumnList** (*array* $columnList) ... -abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) ... -abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) ... -abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) ... @@ -40,7 +40,7 @@ abstract public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* ... -abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) ... @@ -48,7 +48,7 @@ abstract public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* ... -abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) ... @@ -56,7 +56,7 @@ abstract public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) ... -abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) ... diff --git a/es/api/Phalcon_Db_Dialect_Mysql.md b/es/api/Phalcon_Db_Dialect_Mysql.md index 6178388fc739..d1a80102e14c 100644 --- a/es/api/Phalcon_Db_Dialect_Mysql.md +++ b/es/api/Phalcon_Db_Dialect_Mysql.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Dialect\\Mysql** -*extends* abstract class [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +*extends* abstract class [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) -*implements* [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +*implements* [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) Source on GitHub @@ -10,15 +10,15 @@ Generates database specific SQL for the MySQL RDBMS ## Methods -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Gets the column name in MySQL -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Generates SQL to add a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) Generates SQL to modify a column in a table @@ -26,7 +26,7 @@ public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnN Generates SQL to delete a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add an index to a table @@ -34,7 +34,7 @@ public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexNam Generates SQL to delete an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add the primary key to a table @@ -42,7 +42,7 @@ public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) Generates SQL to delete primary key from a table -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) Generates SQL to add an index to a table @@ -133,23 +133,23 @@ protected **_getTableOptions** (*array* $definition) Generates SQL to add the table creation options -public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Registers custom SQL functions -public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns registered functions -final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape Schema -final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape identifiers -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generates the SQL for LIMIT clause @@ -164,7 +164,7 @@ echo $sql; // SELECT * FROM robots LIMIT 10 OFFSET 50 ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a FOR UPDATE clause @@ -176,7 +176,7 @@ echo $sql; // SELECT * FROM robots FOR UPDATE ``` -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a LOCK IN SHARE MODE clause @@ -188,7 +188,7 @@ echo $sql; // SELECT * FROM robots LOCK IN SHARE MODE ``` -final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Gets a list of columns with escaped identifiers @@ -204,122 +204,122 @@ echo $dialect->getColumnList( ``` -final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transforms an intermediate representation for an expression into a database system valid expression -final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transform an intermediate representation of a schema/table into a database system valid expression -public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Builds a SELECT statement -public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports savepoints -public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports releasing savepoints. -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to create a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to release a savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to rollback a savepoint -final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve object expressions -final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve qualified expressions -final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve binary operations expressions -final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve unary operations expressions -final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve function calls -final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Lists -final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve * -final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CAST of values -final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CONVERT of values encodings -final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CASE expressions -final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a FROM clause -final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a JOINs clause -final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a WHERE clause -final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a GROUP BY clause -final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a HAVING clause -final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve an ORDER BY clause -final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a LIMIT clause -protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares column for this RDBMS -protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares table for this RDBMS -protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares qualified for this RDBMS \ No newline at end of file diff --git a/es/api/Phalcon_Db_Dialect_Postgresql.md b/es/api/Phalcon_Db_Dialect_Postgresql.md index 01fe5982984c..f10d03525235 100644 --- a/es/api/Phalcon_Db_Dialect_Postgresql.md +++ b/es/api/Phalcon_Db_Dialect_Postgresql.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Dialect\\Postgresql** -*extends* abstract class [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +*extends* abstract class [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) -*implements* [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +*implements* [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) Source on GitHub @@ -10,15 +10,15 @@ Generates database specific SQL for the PostgreSQL RDBMS ## Methods -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Gets the column name in PostgreSQL -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Generates SQL to add a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) Generates SQL to modify a column in a table @@ -26,7 +26,7 @@ public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnN Generates SQL to delete a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add an index to a table @@ -34,7 +34,7 @@ public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexNam Generates SQL to delete an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add the primary key to a table @@ -42,7 +42,7 @@ public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) Generates SQL to delete primary key from a table -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) Generates SQL to add an index to a table @@ -129,7 +129,7 @@ public **tableOptions** (*mixed* $table, [*mixed* $schema]) Generates the SQL to describe the table creation options -protected **_castDefault** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +protected **_castDefault** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) ... @@ -137,23 +137,23 @@ protected **_getTableOptions** (*array* $definition) ... -public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Registers custom SQL functions -public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns registered functions -final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape Schema -final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape identifiers -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generates the SQL for LIMIT clause @@ -168,7 +168,7 @@ echo $sql; // SELECT * FROM robots LIMIT 10 OFFSET 50 ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a FOR UPDATE clause @@ -180,7 +180,7 @@ echo $sql; // SELECT * FROM robots FOR UPDATE ``` -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a LOCK IN SHARE MODE clause @@ -192,7 +192,7 @@ echo $sql; // SELECT * FROM robots LOCK IN SHARE MODE ``` -final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Gets a list of columns with escaped identifiers @@ -208,122 +208,122 @@ echo $dialect->getColumnList( ``` -final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transforms an intermediate representation for an expression into a database system valid expression -final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transform an intermediate representation of a schema/table into a database system valid expression -public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Builds a SELECT statement -public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports savepoints -public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports releasing savepoints. -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to create a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to release a savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to rollback a savepoint -final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve object expressions -final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve qualified expressions -final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve binary operations expressions -final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve unary operations expressions -final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve function calls -final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Lists -final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve * -final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CAST of values -final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CONVERT of values encodings -final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CASE expressions -final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a FROM clause -final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a JOINs clause -final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a WHERE clause -final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a GROUP BY clause -final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a HAVING clause -final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve an ORDER BY clause -final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a LIMIT clause -protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares column for this RDBMS -protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares table for this RDBMS -protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares qualified for this RDBMS \ No newline at end of file diff --git a/es/api/Phalcon_Db_Dialect_Sqlite.md b/es/api/Phalcon_Db_Dialect_Sqlite.md index 7b38162151a0..dabec6d39e49 100644 --- a/es/api/Phalcon_Db_Dialect_Sqlite.md +++ b/es/api/Phalcon_Db_Dialect_Sqlite.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Dialect\\Sqlite** -*extends* abstract class [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +*extends* abstract class [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) -*implements* [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +*implements* [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) Source on GitHub @@ -10,15 +10,15 @@ Generates database specific SQL for the Sqlite RDBMS ## Methods -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Gets the column name in SQLite -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Generates SQL to add a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) Generates SQL to modify a column in a table @@ -26,7 +26,7 @@ public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnN Generates SQL to delete a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add an index to a table @@ -34,7 +34,7 @@ public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexNam Generates SQL to delete an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add the primary key to a table @@ -42,7 +42,7 @@ public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) Generates SQL to delete primary key from a table -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) Generates SQL to add an index to a table @@ -146,23 +146,23 @@ public **tableOptions** (*mixed* $table, [*mixed* $schema]) Generates the SQL to describe the table creation options -public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Registers custom SQL functions -public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns registered functions -final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape Schema -final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape identifiers -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generates the SQL for LIMIT clause @@ -177,7 +177,7 @@ echo $sql; // SELECT * FROM robots LIMIT 10 OFFSET 50 ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a FOR UPDATE clause @@ -189,7 +189,7 @@ echo $sql; // SELECT * FROM robots FOR UPDATE ``` -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a LOCK IN SHARE MODE clause @@ -201,7 +201,7 @@ echo $sql; // SELECT * FROM robots LOCK IN SHARE MODE ``` -final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Gets a list of columns with escaped identifiers @@ -217,122 +217,122 @@ echo $dialect->getColumnList( ``` -final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transforms an intermediate representation for an expression into a database system valid expression -final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transform an intermediate representation of a schema/table into a database system valid expression -public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Builds a SELECT statement -public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports savepoints -public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports releasing savepoints. -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to create a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to release a savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to rollback a savepoint -final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve object expressions -final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve qualified expressions -final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve binary operations expressions -final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve unary operations expressions -final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve function calls -final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Lists -final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve * -final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CAST of values -final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CONVERT of values encodings -final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CASE expressions -final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a FROM clause -final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a JOINs clause -final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a WHERE clause -final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a GROUP BY clause -final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a HAVING clause -final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve an ORDER BY clause -final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a LIMIT clause -protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares column for this RDBMS -protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares table for this RDBMS -protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares qualified for this RDBMS \ No newline at end of file diff --git a/es/api/Phalcon_Db_Exception.md b/es/api/Phalcon_Db_Exception.md index 839c2d00fbf8..00160179b065 100644 --- a/es/api/Phalcon_Db_Exception.md +++ b/es/api/Phalcon_Db_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Db\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/es/api/Phalcon_Db_Index.md b/es/api/Phalcon_Db_Index.md index 60a5b41f764f..9ca94ad0e146 100644 --- a/es/api/Phalcon_Db_Index.md +++ b/es/api/Phalcon_Db_Index.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Db\\Index** -*implements* [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) +*implements* [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) Source on GitHub diff --git a/es/api/Phalcon_Db_Profiler.md b/es/api/Phalcon_Db_Profiler.md index 05a913cb9c2c..1d6dde6d6e69 100644 --- a/es/api/Phalcon_Db_Profiler.md +++ b/es/api/Phalcon_Db_Profiler.md @@ -31,7 +31,7 @@ echo "Total Elapsed Time: ", $profile->getTotalElapsedSeconds(), "\n"; ## Methods -public [Phalcon\Db\Profiler](/en/3.1.2/api/Phalcon_Db_Profiler) **startProfile** (*string* $sqlStatement, [*mixed* $sqlVariables], [*mixed* $sqlBindTypes]) +public [Phalcon\Db\Profiler](/en/3.2/api/Phalcon_Db_Profiler) **startProfile** (*string* $sqlStatement, [*mixed* $sqlVariables], [*mixed* $sqlBindTypes]) Starts the profile of a SQL sentence diff --git a/es/api/Phalcon_Db_Reference.md b/es/api/Phalcon_Db_Reference.md index 30ac1a686521..2e83e14de226 100644 --- a/es/api/Phalcon_Db_Reference.md +++ b/es/api/Phalcon_Db_Reference.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Db\\Reference** -*implements* [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) +*implements* [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) Source on GitHub diff --git a/es/api/Phalcon_Db_Result_Pdo.md b/es/api/Phalcon_Db_Result_Pdo.md index 2e053d67ae6f..91808dece71f 100644 --- a/es/api/Phalcon_Db_Result_Pdo.md +++ b/es/api/Phalcon_Db_Result_Pdo.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Db\\Result\\Pdo** -*implements* [Phalcon\Db\ResultInterface](/en/3.1.2/api/Phalcon_Db_ResultInterface) +*implements* [Phalcon\Db\ResultInterface](/en/3.2/api/Phalcon_Db_ResultInterface) Source on GitHub @@ -23,7 +23,7 @@ while ($robot = $result->fetchArray()) { ## Methods -public **__construct** ([Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) $connection, [PDOStatement](http://php.net/manual/en/class.pdostatement.php) $result, [*string* $sqlStatement], [*array* $bindParams], [*array* $bindTypes]) +public **__construct** ([Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) $connection, [PDOStatement](http://php.net/manual/en/class.pdostatement.php) $result, [*string* $sqlStatement], [*array* $bindParams], [*array* $bindTypes]) Phalcon\\Db\\Result\\Pdo constructor diff --git a/fr/api/Phalcon_Acl_Adapter.md b/fr/api/Phalcon_Acl_Adapter.md index 9f86a2a2a142..1696a50b6e15 100644 --- a/fr/api/Phalcon_Acl_Adapter.md +++ b/fr/api/Phalcon_Acl_Adapter.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Acl\\Adapter** -*implements* [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -20,7 +20,7 @@ public **getActiveAccess** () Active access which the list is checking if some role can access it -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) Sets the events manager @@ -36,58 +36,58 @@ public **getDefaultAction** () Returns the default ACL access level -abstract public **setNoArgumentsDefaultAction** (*mixed* $defaultAccess) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **setNoArgumentsDefaultAction** (*mixed* $defaultAccess) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **getNoArgumentsDefaultAction** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **getNoArgumentsDefaultAction** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **addRole** (*mixed* $role, [*mixed* $accessInherits]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **addRole** (*mixed* $role, [*mixed* $accessInherits]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **addInherit** (*mixed* $roleName, *mixed* $roleToInherit) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **addInherit** (*mixed* $roleName, *mixed* $roleToInherit) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **isRole** (*mixed* $roleName) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **isRole** (*mixed* $roleName) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **isResource** (*mixed* $resourceName) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **isResource** (*mixed* $resourceName) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **addResource** (*mixed* $resourceObject, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **addResource** (*mixed* $resourceObject, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **addResourceAccess** (*mixed* $resourceName, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **addResourceAccess** (*mixed* $resourceName, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **dropResourceAccess** (*mixed* $resourceName, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **dropResourceAccess** (*mixed* $resourceName, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **allow** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*mixed* $func]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **allow** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*mixed* $func]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **deny** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*mixed* $func]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **deny** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*mixed* $func]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **isAllowed** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*array* $parameters]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **isAllowed** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*array* $parameters]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **getRoles** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **getRoles** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **getResources** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **getResources** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... \ No newline at end of file diff --git a/fr/api/Phalcon_Acl_Adapter_Memory.md b/fr/api/Phalcon_Acl_Adapter_Memory.md index e9ea95ccda45..889751c95b98 100644 --- a/fr/api/Phalcon_Acl_Adapter_Memory.md +++ b/fr/api/Phalcon_Acl_Adapter_Memory.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Acl\\Adapter\\Memory** -*extends* abstract class [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +*extends* abstract class [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) -*implements* [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +*implements* [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) Source on GitHub @@ -105,7 +105,7 @@ public **isResource** (*mixed* $resourceName) Check whether resource exist in the resources list -public **addResource** ([Phalcon\Acl\Resource](/en/3.1.2/api/Phalcon_Acl_Resource) | *string* $resourceValue, *array* | *string* $accessList) +public **addResource** ([Phalcon\Acl\Resource](/en/3.2/api/Phalcon_Acl_Resource) | *string* $resourceValue, *array* | *string* $accessList) Adds a resource to the ACL list Access names can be a particular action, by example search, update, delete, etc or a list of them Example: @@ -224,30 +224,30 @@ public **getResources** () Return an array with every resource registered in the list -public **getActiveRole** () inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **getActiveRole** () inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Role which the list is checking if it's allowed to certain resource/access -public **getActiveResource** () inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **getActiveResource** () inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Resource which the list is checking if some role can access it -public **getActiveAccess** () inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **getActiveAccess** () inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Active access which the list is checking if some role can access it -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Sets the events manager -public **getEventsManager** () inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **getEventsManager** () inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Returns the internal event manager -public **setDefaultAction** (*mixed* $defaultAccess) inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **setDefaultAction** (*mixed* $defaultAccess) inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Sets the default access level (Phalcon\\Acl::ALLOW or Phalcon\\Acl::DENY) -public **getDefaultAction** () inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **getDefaultAction** () inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Returns the default ACL access level \ No newline at end of file diff --git a/fr/api/Phalcon_Acl_Exception.md b/fr/api/Phalcon_Acl_Exception.md index 153094579c30..9c1b44ab7b5d 100644 --- a/fr/api/Phalcon_Acl_Exception.md +++ b/fr/api/Phalcon_Acl_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Acl\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/fr/api/Phalcon_Acl_Resource.md b/fr/api/Phalcon_Acl_Resource.md index 1663e1ad2e93..25ac2d3e792b 100644 --- a/fr/api/Phalcon_Acl_Resource.md +++ b/fr/api/Phalcon_Acl_Resource.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Acl\\Resource** -*implements* [Phalcon\Acl\ResourceInterface](/en/3.1.2/api/Phalcon_Acl_ResourceInterface) +*implements* [Phalcon\Acl\ResourceInterface](/en/3.2/api/Phalcon_Acl_ResourceInterface) Source on GitHub diff --git a/fr/api/Phalcon_Acl_Role.md b/fr/api/Phalcon_Acl_Role.md index e105183dd7f4..c8252648d6c8 100644 --- a/fr/api/Phalcon_Acl_Role.md +++ b/fr/api/Phalcon_Acl_Role.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Acl\\Role** -*implements* [Phalcon\Acl\RoleInterface](/en/3.1.2/api/Phalcon_Acl_RoleInterface) +*implements* [Phalcon\Acl\RoleInterface](/en/3.2/api/Phalcon_Acl_RoleInterface) Source on GitHub diff --git a/fr/api/Phalcon_Annotations_Adapter.md b/fr/api/Phalcon_Annotations_Adapter.md index 7a2b31fc4dc1..d42ac348bbc9 100644 --- a/fr/api/Phalcon_Annotations_Adapter.md +++ b/fr/api/Phalcon_Annotations_Adapter.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Annotations\\Adapter** -*implements* [Phalcon\Annotations\AdapterInterface](/en/3.1.2/api/Phalcon_Annotations_AdapterInterface) +*implements* [Phalcon\Annotations\AdapterInterface](/en/3.2/api/Phalcon_Annotations_AdapterInterface) Source on GitHub @@ -8,7 +8,7 @@ This is the base class for Phalcon\\Annotations adapters ## Methods -public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) +public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) Sets the annotations parser diff --git a/fr/api/Phalcon_Annotations_AdapterInterface.md b/fr/api/Phalcon_Annotations_AdapterInterface.md index a4e2c689503a..a1ff65cb01a1 100644 --- a/fr/api/Phalcon_Annotations_AdapterInterface.md +++ b/fr/api/Phalcon_Annotations_AdapterInterface.md @@ -4,7 +4,7 @@ ## Methods -abstract public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) +abstract public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) ... diff --git a/fr/api/Phalcon_Annotations_Adapter_Apc.md b/fr/api/Phalcon_Annotations_Adapter_Apc.md index 1b8a1d6d0d7d..467622a88425 100644 --- a/fr/api/Phalcon_Annotations_Adapter_Apc.md +++ b/fr/api/Phalcon_Annotations_Adapter_Apc.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Annotations\\Adapter\\Apc** -*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) -*implements* [Phalcon\Annotations\AdapterInterface](/en/3.1.2/api/Phalcon_Annotations_AdapterInterface) +*implements* [Phalcon\Annotations\AdapterInterface](/en/3.2/api/Phalcon_Annotations_AdapterInterface) Source on GitHub @@ -27,34 +27,34 @@ public **read** (*mixed* $key) Reads parsed annotations from APC -public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) $data) +public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) $data) Writes parsed annotations to APC -public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Sets the annotations parser -public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotation reader -public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Parses or retrieves all the annotations found in a class -public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific method -public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific property \ No newline at end of file diff --git a/fr/api/Phalcon_Annotations_Adapter_Files.md b/fr/api/Phalcon_Annotations_Adapter_Files.md index fcb4c23e6c2e..e4c407e5954e 100644 --- a/fr/api/Phalcon_Annotations_Adapter_Files.md +++ b/fr/api/Phalcon_Annotations_Adapter_Files.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Annotations\\Adapter\\Files** -*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) -*implements* [Phalcon\Annotations\AdapterInterface](/en/3.1.2/api/Phalcon_Annotations_AdapterInterface) +*implements* [Phalcon\Annotations\AdapterInterface](/en/3.2/api/Phalcon_Annotations_AdapterInterface) Source on GitHub @@ -27,38 +27,38 @@ public **__construct** ([*array* $options]) Phalcon\\Annotations\\Adapter\\Files constructor -public [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) **read** (*string* $key) +public [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) **read** (*string* $key) Reads parsed annotations from files -public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) $data) +public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) $data) Writes parsed annotations to files -public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Sets the annotations parser -public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotation reader -public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Parses or retrieves all the annotations found in a class -public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific method -public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific property \ No newline at end of file diff --git a/fr/api/Phalcon_Annotations_Adapter_Memory.md b/fr/api/Phalcon_Annotations_Adapter_Memory.md index 53fc2e3769c7..205f20e6b1b8 100644 --- a/fr/api/Phalcon_Annotations_Adapter_Memory.md +++ b/fr/api/Phalcon_Annotations_Adapter_Memory.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Annotations\\Adapter\\Memory** -*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) -*implements* [Phalcon\Annotations\AdapterInterface](/en/3.1.2/api/Phalcon_Annotations_AdapterInterface) +*implements* [Phalcon\Annotations\AdapterInterface](/en/3.2/api/Phalcon_Annotations_AdapterInterface) Source on GitHub @@ -14,34 +14,34 @@ public **read** (*mixed* $key) Reads parsed annotations from memory -public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) $data) +public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) $data) Writes parsed annotations to memory -public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Sets the annotations parser -public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotation reader -public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Parses or retrieves all the annotations found in a class -public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific method -public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific property \ No newline at end of file diff --git a/fr/api/Phalcon_Annotations_Adapter_Xcache.md b/fr/api/Phalcon_Annotations_Adapter_Xcache.md index 79bfa9e6b4d3..37c97e7e6b8c 100644 --- a/fr/api/Phalcon_Annotations_Adapter_Xcache.md +++ b/fr/api/Phalcon_Annotations_Adapter_Xcache.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Annotations\\Adapter\\Xcache** -*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) -*implements* [Phalcon\Annotations\AdapterInterface](/en/3.1.2/api/Phalcon_Annotations_AdapterInterface) +*implements* [Phalcon\Annotations\AdapterInterface](/en/3.2/api/Phalcon_Annotations_AdapterInterface) Source on GitHub @@ -17,38 +17,38 @@ $annotations = new \Phalcon\Annotations\Adapter\Xcache(); ## Methods -public [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) **read** (*string* $key) +public [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) **read** (*string* $key) Reads parsed annotations from XCache -public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) $data) +public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) $data) Writes parsed annotations to XCache -public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Sets the annotations parser -public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotation reader -public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Parses or retrieves all the annotations found in a class -public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific method -public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific property \ No newline at end of file diff --git a/fr/api/Phalcon_Annotations_Collection.md b/fr/api/Phalcon_Annotations_Collection.md index 8176520b43ea..ba33511a50fe 100644 --- a/fr/api/Phalcon_Annotations_Collection.md +++ b/fr/api/Phalcon_Annotations_Collection.md @@ -36,7 +36,7 @@ public **rewind** () Rewinds the internal iterator -public [Phalcon\Annotations\Annotation](/en/3.1.2/api/Phalcon_Annotations_Annotation) **current** () +public [Phalcon\Annotations\Annotation](/en/3.2/api/Phalcon_Annotations_Annotation) **current** () Returns the current annotation in the iterator diff --git a/fr/api/Phalcon_Annotations_Reader.md b/fr/api/Phalcon_Annotations_Reader.md index 56ca9b058cd1..4e8e513ffea9 100644 --- a/fr/api/Phalcon_Annotations_Reader.md +++ b/fr/api/Phalcon_Annotations_Reader.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Annotations\\Reader** -*implements* [Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) +*implements* [Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) Source on GitHub diff --git a/fr/api/Phalcon_Application.md b/fr/api/Phalcon_Application.md index e7e767824af2..5ff2b07edaf4 100644 --- a/fr/api/Phalcon_Application.md +++ b/fr/api/Phalcon_Application.md @@ -1,8 +1,8 @@ # Abstract class **Phalcon\\Application** -*extends* abstract class [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +*extends* abstract class [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) -*implements* [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface) +*implements* [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface) Source on GitHub @@ -10,9 +10,9 @@ Base class for Phalcon\\Cli\\Console and Phalcon\\Mvc\\Application. ## Methods -public **__construct** ([[Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector]) +public **__construct** ([[Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector]) -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) Sets the events manager @@ -62,14 +62,14 @@ abstract public **handle** () Handles a request -public **setDI** ([Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **setDI** ([Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Sets the dependency injector -public **getDI** () inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **getDI** () inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Returns the internal dependency injector -public **__get** (*mixed* $propertyName) inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **__get** (*mixed* $propertyName) inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Magic method __get \ No newline at end of file diff --git a/fr/api/Phalcon_Application_Exception.md b/fr/api/Phalcon_Application_Exception.md index ade9f4d1b49e..49637aa88e5e 100644 --- a/fr/api/Phalcon_Application_Exception.md +++ b/fr/api/Phalcon_Application_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Application\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/fr/api/Phalcon_Assets_Collection.md b/fr/api/Phalcon_Assets_Collection.md index 9c3e06cdb077..f6f18d5a1d60 100644 --- a/fr/api/Phalcon_Assets_Collection.md +++ b/fr/api/Phalcon_Assets_Collection.md @@ -56,14 +56,35 @@ public **getSourcePath** () ... -public **add** ([Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) $resource) +public **__construct** () + +Phalcon\\Assets\\Collection constructor + +public **add** ([Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) $resource) Adds a resource to the collection -public **addInline** ([Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) $code) +public **addInline** ([Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) $code) Adds an inline code to the collection +public **has** ([Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) $resource) + +Checks this the resource is added to the collection. + +```php +has($resource); // true + +``` + public **addCss** (*mixed* $path, [*mixed* $local], [*mixed* $filter], [*mixed* $attributes]) Adds a CSS resource to the collection @@ -72,7 +93,7 @@ public **addInlineCss** (*mixed* $content, [*mixed* $filter], [*mixed* $attribut Adds an inline CSS to the collection -public [Phalcon\Assets\Collection](/en/3.1.2/api/Phalcon_Assets_Collection) **addJs** (*string* $path, [*boolean* $local], [*boolean* $filter], [*array* $attributes]) +public [Phalcon\Assets\Collection](/en/3.2/api/Phalcon_Assets_Collection) **addJs** (*string* $path, [*boolean* $local], [*boolean* $filter], [*array* $attributes]) Adds a javascript resource to the collection @@ -144,6 +165,10 @@ public **getRealTargetPath** (*mixed* $basePath) Returns the complete location where the joined/filtered collection must be written -public **addFilter** ([Phalcon\Assets\FilterInterface](/en/3.1.2/api/Phalcon_Assets_FilterInterface) $filter) +public **addFilter** ([Phalcon\Assets\FilterInterface](/en/3.2/api/Phalcon_Assets_FilterInterface) $filter) + +Adds a filter to the collection + +final protected **addResource** ([Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) $resource) -Adds a filter to the collection \ No newline at end of file +Adds a resource or inline-code to the collection \ No newline at end of file diff --git a/fr/api/Phalcon_Assets_Exception.md b/fr/api/Phalcon_Assets_Exception.md index bf3c9a57c01a..4c8c0516fd94 100644 --- a/fr/api/Phalcon_Assets_Exception.md +++ b/fr/api/Phalcon_Assets_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Assets\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/fr/api/Phalcon_Assets_Filters_Cssmin.md b/fr/api/Phalcon_Assets_Filters_Cssmin.md index 75e2781f79a0..a807a59e4880 100644 --- a/fr/api/Phalcon_Assets_Filters_Cssmin.md +++ b/fr/api/Phalcon_Assets_Filters_Cssmin.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Assets\\Filters\\Cssmin** -*implements* [Phalcon\Assets\FilterInterface](/en/3.1.2/api/Phalcon_Assets_FilterInterface) +*implements* [Phalcon\Assets\FilterInterface](/en/3.2/api/Phalcon_Assets_FilterInterface) Source on GitHub diff --git a/fr/api/Phalcon_Assets_Filters_Jsmin.md b/fr/api/Phalcon_Assets_Filters_Jsmin.md index 2ee9aa7f5390..2bfe2b4851a4 100644 --- a/fr/api/Phalcon_Assets_Filters_Jsmin.md +++ b/fr/api/Phalcon_Assets_Filters_Jsmin.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Assets\\Filters\\Jsmin** -*implements* [Phalcon\Assets\FilterInterface](/en/3.1.2/api/Phalcon_Assets_FilterInterface) +*implements* [Phalcon\Assets\FilterInterface](/en/3.2/api/Phalcon_Assets_FilterInterface) Source on GitHub diff --git a/fr/api/Phalcon_Assets_Filters_None.md b/fr/api/Phalcon_Assets_Filters_None.md index 93c79dd941f6..60e59aac09de 100644 --- a/fr/api/Phalcon_Assets_Filters_None.md +++ b/fr/api/Phalcon_Assets_Filters_None.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Assets\\Filters\\None** -*implements* [Phalcon\Assets\FilterInterface](/en/3.1.2/api/Phalcon_Assets_FilterInterface) +*implements* [Phalcon\Assets\FilterInterface](/en/3.2/api/Phalcon_Assets_FilterInterface) Source on GitHub diff --git a/fr/api/Phalcon_Assets_Inline.md b/fr/api/Phalcon_Assets_Inline.md index 05a1f622aa48..e5c3ef631536 100644 --- a/fr/api/Phalcon_Assets_Inline.md +++ b/fr/api/Phalcon_Assets_Inline.md @@ -1,5 +1,7 @@ # Class **Phalcon\\Assets\\Inline** +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) + Source on GitHub Represents an inline asset @@ -43,4 +45,8 @@ Sets if the resource must be filtered or not public **setAttributes** (*array* $attributes) -Sets extra HTML attributes \ No newline at end of file +Sets extra HTML attributes + +public **getResourceKey** () + +Gets the resource's key. \ No newline at end of file diff --git a/fr/api/Phalcon_Assets_Inline_Css.md b/fr/api/Phalcon_Assets_Inline_Css.md index c4d7a9d0e919..aad74b78beca 100644 --- a/fr/api/Phalcon_Assets_Inline_Css.md +++ b/fr/api/Phalcon_Assets_Inline_Css.md @@ -1,6 +1,8 @@ # Class **Phalcon\\Assets\\Inline\\Css** -*extends* class [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +*extends* class [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) + +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) Source on GitHub @@ -10,30 +12,34 @@ Represents an inlined CSS public **__construct** (*string* $content, [*boolean* $filter], [*array* $attributes]) -public **getType** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getType** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getContent** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getContent** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getFilter** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getFilter** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getAttributes** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getAttributes** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) Sets the inline's type -public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) Sets if the resource must be filtered or not -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) + +Sets extra HTML attributes + +public **getResourceKey** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) -Sets extra HTML attributes \ No newline at end of file +Gets the resource's key. \ No newline at end of file diff --git a/fr/api/Phalcon_Assets_Inline_Js.md b/fr/api/Phalcon_Assets_Inline_Js.md index 27d57246d817..1cce336b4116 100644 --- a/fr/api/Phalcon_Assets_Inline_Js.md +++ b/fr/api/Phalcon_Assets_Inline_Js.md @@ -1,6 +1,8 @@ # Class **Phalcon\\Assets\\Inline\\Js** -*extends* class [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +*extends* class [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) + +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) Source on GitHub @@ -10,30 +12,34 @@ Represents an inline Javascript public **__construct** (*string* $content, [*boolean* $filter], [*array* $attributes]) -public **getType** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getType** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getContent** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getContent** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getFilter** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getFilter** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getAttributes** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getAttributes** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) Sets the inline's type -public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) Sets if the resource must be filtered or not -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) + +Sets extra HTML attributes + +public **getResourceKey** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) -Sets extra HTML attributes \ No newline at end of file +Gets the resource's key. \ No newline at end of file diff --git a/fr/api/Phalcon_Assets_Manager.md b/fr/api/Phalcon_Assets_Manager.md index 55ab07f19201..13ecabf4ff9c 100644 --- a/fr/api/Phalcon_Assets_Manager.md +++ b/fr/api/Phalcon_Assets_Manager.md @@ -52,7 +52,7 @@ public **addInlineJs** (*mixed* $content, [*mixed* $filter], [*mixed* $attribute Adds an inline javascript to the 'js' collection -public **addResourceByType** (*mixed* $type, [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) $resource) +public **addResourceByType** (*mixed* $type, [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) $resource) Adds a resource by its type @@ -65,11 +65,11 @@ $assets->addResourceByType("css", ``` -public **addInlineCodeByType** (*mixed* $type, [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) $code) +public **addInlineCodeByType** (*mixed* $type, [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) $code) Adds an inline code by its type -public **addResource** ([Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) $resource) +public **addResource** ([Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) $resource) Adds a raw resource to the manager @@ -82,11 +82,11 @@ $assets->addResource( ``` -public **addInlineCode** ([Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) $code) +public **addInlineCode** ([Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) $code) Adds a raw inline code to the manager -public **set** (*mixed* $id, [Phalcon\Assets\Collection](/en/3.1.2/api/Phalcon_Assets_Collection) $collection) +public **set** (*mixed* $id, [Phalcon\Assets\Collection](/en/3.2/api/Phalcon_Assets_Collection) $collection) Sets a collection in the Assets Manager @@ -99,7 +99,7 @@ $assets->set("js", $collection); public **get** (*mixed* $id) -Returns a collection by its id +Returns a collection by its id. ```php exists("jsHeader")) { + // \Phalcon\Assets\Collection + $collection = $assets->get("jsHeader"); +} + +``` \ No newline at end of file diff --git a/fr/api/Phalcon_Assets_Resource.md b/fr/api/Phalcon_Assets_Resource.md index 9718061c348e..d67dc71b7929 100644 --- a/fr/api/Phalcon_Assets_Resource.md +++ b/fr/api/Phalcon_Assets_Resource.md @@ -1,5 +1,7 @@ # Class **Phalcon\\Assets\\Resource** +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) + Source on GitHub Represents an asset resource @@ -85,4 +87,8 @@ Returns the complete location where the resource is located public **getRealTargetPath** ([*mixed* $basePath]) -Returns the complete location where the resource must be written \ No newline at end of file +Returns the complete location where the resource must be written + +public **getResourceKey** () + +Gets the resource's key. \ No newline at end of file diff --git a/fr/api/Phalcon_Assets_Resource_Css.md b/fr/api/Phalcon_Assets_Resource_Css.md index 9376a4de5f6d..11c938e391ca 100644 --- a/fr/api/Phalcon_Assets_Resource_Css.md +++ b/fr/api/Phalcon_Assets_Resource_Css.md @@ -1,6 +1,8 @@ # Class **Phalcon\\Assets\\Resource\\Css** -*extends* class [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +*extends* class [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) + +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) Source on GitHub @@ -10,72 +12,76 @@ Represents CSS resources public **__construct** (*string* $path, [*boolean* $local], [*boolean* $filter], [*array* $attributes]) -public **getType** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getType** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getPath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getPath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getLocal** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getLocal** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getFilter** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getFilter** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getAttributes** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getAttributes** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getSourcePath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getSourcePath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **getTargetPath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getTargetPath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **getTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's type -public **setPath** (*mixed* $path) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setPath** (*mixed* $path) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's path -public **setLocal** (*mixed* $local) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setLocal** (*mixed* $local) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets if the resource is local or external -public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets if the resource must be filtered or not -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets extra HTML attributes -public **setTargetUri** (*mixed* $targetUri) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setTargetUri** (*mixed* $targetUri) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets a target uri for the generated HTML -public **setSourcePath** (*mixed* $sourcePath) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setSourcePath** (*mixed* $sourcePath) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's source path -public **setTargetPath** (*mixed* $targetPath) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setTargetPath** (*mixed* $targetPath) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's target path -public **getContent** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getContent** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the content of the resource as an string Optionally a base path where the resource is located can be set -public **getRealTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the real target uri for the generated HTML -public **getRealSourcePath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealSourcePath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the complete location where the resource is located -public **getRealTargetPath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealTargetPath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) + +Returns the complete location where the resource must be written + +public **getResourceKey** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -Returns the complete location where the resource must be written \ No newline at end of file +Gets the resource's key. \ No newline at end of file diff --git a/fr/api/Phalcon_Assets_Resource_Js.md b/fr/api/Phalcon_Assets_Resource_Js.md index a4c132ff1ed1..2acc4d239b9d 100644 --- a/fr/api/Phalcon_Assets_Resource_Js.md +++ b/fr/api/Phalcon_Assets_Resource_Js.md @@ -1,6 +1,8 @@ # Class **Phalcon\\Assets\\Resource\\Js** -*extends* class [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +*extends* class [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) + +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) Source on GitHub @@ -10,72 +12,76 @@ Represents Javascript resources public **__construct** (*string* $path, [*boolean* $local], [*boolean* $filter], [*array* $attributes]) -public **getType** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getType** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getPath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getPath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getLocal** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getLocal** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getFilter** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getFilter** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getAttributes** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getAttributes** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getSourcePath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getSourcePath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **getTargetPath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getTargetPath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **getTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's type -public **setPath** (*mixed* $path) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setPath** (*mixed* $path) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's path -public **setLocal** (*mixed* $local) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setLocal** (*mixed* $local) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets if the resource is local or external -public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets if the resource must be filtered or not -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets extra HTML attributes -public **setTargetUri** (*mixed* $targetUri) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setTargetUri** (*mixed* $targetUri) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets a target uri for the generated HTML -public **setSourcePath** (*mixed* $sourcePath) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setSourcePath** (*mixed* $sourcePath) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's source path -public **setTargetPath** (*mixed* $targetPath) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setTargetPath** (*mixed* $targetPath) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's target path -public **getContent** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getContent** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the content of the resource as an string Optionally a base path where the resource is located can be set -public **getRealTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the real target uri for the generated HTML -public **getRealSourcePath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealSourcePath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the complete location where the resource is located -public **getRealTargetPath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealTargetPath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) + +Returns the complete location where the resource must be written + +public **getResourceKey** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -Returns the complete location where the resource must be written \ No newline at end of file +Gets the resource's key. \ No newline at end of file diff --git a/fr/api/Phalcon_Cache_Backend.md b/fr/api/Phalcon_Cache_Backend.md index f81ba2e57820..6e8b2e14bbff 100644 --- a/fr/api/Phalcon_Cache_Backend.md +++ b/fr/api/Phalcon_Cache_Backend.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Cache\\Backend** -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -32,7 +32,7 @@ public **setLastKey** (*mixed* $lastKey) ... -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend constructor @@ -56,22 +56,22 @@ public *int* **getLifetime** () Gets the last lifetime set -abstract public **get** (*mixed* $keyName, [*mixed* $lifetime]) inherited from [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +abstract public **get** (*mixed* $keyName, [*mixed* $lifetime]) inherited from [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) ... -abstract public **save** ([*mixed* $keyName], [*mixed* $content], [*mixed* $lifetime], [*mixed* $stopBuffer]) inherited from [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +abstract public **save** ([*mixed* $keyName], [*mixed* $content], [*mixed* $lifetime], [*mixed* $stopBuffer]) inherited from [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) ... -abstract public **delete** (*mixed* $keyName) inherited from [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +abstract public **delete** (*mixed* $keyName) inherited from [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) ... -abstract public **queryKeys** ([*mixed* $prefix]) inherited from [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +abstract public **queryKeys** ([*mixed* $prefix]) inherited from [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) ... -abstract public **exists** ([*mixed* $keyName], [*mixed* $lifetime]) inherited from [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +abstract public **exists** ([*mixed* $keyName], [*mixed* $lifetime]) inherited from [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) ... \ No newline at end of file diff --git a/fr/api/Phalcon_Cache_Backend_Apc.md b/fr/api/Phalcon_Cache_Backend_Apc.md index 6f08c1fef4b7..92b01c89d25a 100644 --- a/fr/api/Phalcon_Cache_Backend_Apc.md +++ b/fr/api/Phalcon_Cache_Backend_Apc.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Apc** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -94,50 +94,50 @@ $cache->flush(); ``` -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Phalcon\\Cache\\Backend constructor -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/fr/api/Phalcon_Cache_Backend_File.md b/fr/api/Phalcon_Cache_Backend_File.md index 78c3aff0e84c..3ea73b705889 100644 --- a/fr/api/Phalcon_Cache_Backend_File.md +++ b/fr/api/Phalcon_Cache_Backend_File.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\File** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -44,7 +44,7 @@ if ($content === null) { ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, *array* $options) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, *array* $options) Phalcon\\Cache\\Backend\\File constructor @@ -98,46 +98,46 @@ public **useSafeKey** (*mixed* $useSafeKey) Set whether to use the safekey or not -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/fr/api/Phalcon_Cache_Backend_Libmemcached.md b/fr/api/Phalcon_Cache_Backend_Libmemcached.md index 88948897b300..9ec4b031d82e 100644 --- a/fr/api/Phalcon_Cache_Backend_Libmemcached.md +++ b/fr/api/Phalcon_Cache_Backend_Libmemcached.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Libmemcached** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -49,7 +49,7 @@ $data = $cache->get("my-data"); ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend\\Memcache constructor @@ -116,46 +116,46 @@ $cache->flush(); ``` -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/fr/api/Phalcon_Cache_Backend_Memcache.md b/fr/api/Phalcon_Cache_Backend_Memcache.md index 7310592149b1..6f2575ca5c8d 100644 --- a/fr/api/Phalcon_Cache_Backend_Memcache.md +++ b/fr/api/Phalcon_Cache_Backend_Memcache.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Memcache** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -43,7 +43,7 @@ $data = $cache->get("my-data"); ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend\\Memcache constructor @@ -97,46 +97,46 @@ public **flush** () Immediately invalidates all existing items. -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/fr/api/Phalcon_Cache_Backend_Memory.md b/fr/api/Phalcon_Cache_Backend_Memory.md index 06a4216cf7ac..a269432ab9f3 100644 --- a/fr/api/Phalcon_Cache_Backend_Memory.md +++ b/fr/api/Phalcon_Cache_Backend_Memory.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Memory** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface), [Serializable](http://php.net/manual/en/class.serializable.php) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface), [Serializable](http://php.net/manual/en/class.serializable.php) Source on GitHub @@ -79,50 +79,50 @@ public **unserialize** (*mixed* $data) Required for interface \\Serializable -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Phalcon\\Cache\\Backend constructor -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/fr/api/Phalcon_Cache_Backend_Mongo.md b/fr/api/Phalcon_Cache_Backend_Mongo.md index 9ad0f67b530c..6421cd0f4f29 100644 --- a/fr/api/Phalcon_Cache_Backend_Mongo.md +++ b/fr/api/Phalcon_Cache_Backend_Mongo.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Mongo** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -44,7 +44,7 @@ $data = $cache->get("my-data"); ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend\\Mongo constructor @@ -98,46 +98,46 @@ public **flush** () Immediately invalidates all existing items. -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/fr/api/Phalcon_Cache_Backend_Redis.md b/fr/api/Phalcon_Cache_Backend_Redis.md index 123bf025f2af..a3509251d509 100644 --- a/fr/api/Phalcon_Cache_Backend_Redis.md +++ b/fr/api/Phalcon_Cache_Backend_Redis.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Redis** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -45,7 +45,7 @@ $data = $cache->get("my-data"); ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend\\Redis constructor @@ -105,46 +105,46 @@ public **flush** () Immediately invalidates all existing items. -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/fr/api/Phalcon_Cache_Backend_Xcache.md b/fr/api/Phalcon_Cache_Backend_Xcache.md index b91e75b19c79..7dac8215d5f3 100644 --- a/fr/api/Phalcon_Cache_Backend_Xcache.md +++ b/fr/api/Phalcon_Cache_Backend_Xcache.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Xcache** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -38,7 +38,7 @@ $data = $cache->get("my-data"); ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend\\Xcache constructor @@ -84,46 +84,46 @@ public **flush** () Immediately invalidates all existing items. -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/fr/api/Phalcon_Cache_Exception.md b/fr/api/Phalcon_Cache_Exception.md index cbb05a3a76e4..87f2372e7864 100644 --- a/fr/api/Phalcon_Cache_Exception.md +++ b/fr/api/Phalcon_Cache_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/fr/api/Phalcon_Cache_Frontend_Base64.md b/fr/api/Phalcon_Cache_Frontend_Base64.md index 92f36996b4b7..473895a88aa8 100644 --- a/fr/api/Phalcon_Cache_Frontend_Base64.md +++ b/fr/api/Phalcon_Cache_Frontend_Base64.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Frontend\\Base64** -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/fr/api/Phalcon_Cache_Frontend_Data.md b/fr/api/Phalcon_Cache_Frontend_Data.md index f46469ab7410..1f249be7103c 100644 --- a/fr/api/Phalcon_Cache_Frontend_Data.md +++ b/fr/api/Phalcon_Cache_Frontend_Data.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Frontend\\Data** -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/fr/api/Phalcon_Cache_Frontend_Igbinary.md b/fr/api/Phalcon_Cache_Frontend_Igbinary.md index 1460a42ce867..714a96bb4de1 100644 --- a/fr/api/Phalcon_Cache_Frontend_Igbinary.md +++ b/fr/api/Phalcon_Cache_Frontend_Igbinary.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Frontend\\Igbinary** -*extends* class [Phalcon\Cache\Frontend\Data](/en/3.1.2/api/Phalcon_Cache_Frontend_Data) +*extends* class [Phalcon\Cache\Frontend\Data](/en/3.2/api/Phalcon_Cache_Frontend_Data) -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/fr/api/Phalcon_Cache_Frontend_Json.md b/fr/api/Phalcon_Cache_Frontend_Json.md index 64a296ca976f..bfe39cdc53c4 100644 --- a/fr/api/Phalcon_Cache_Frontend_Json.md +++ b/fr/api/Phalcon_Cache_Frontend_Json.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Frontend\\Json** -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/fr/api/Phalcon_Cache_Frontend_Msgpack.md b/fr/api/Phalcon_Cache_Frontend_Msgpack.md index f77a99a21168..857b40d4bbdc 100644 --- a/fr/api/Phalcon_Cache_Frontend_Msgpack.md +++ b/fr/api/Phalcon_Cache_Frontend_Msgpack.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Frontend\\Msgpack** -*extends* class [Phalcon\Cache\Frontend\Data](/en/3.1.2/api/Phalcon_Cache_Frontend_Data) +*extends* class [Phalcon\Cache\Frontend\Data](/en/3.2/api/Phalcon_Cache_Frontend_Data) -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/fr/api/Phalcon_Cache_Frontend_None.md b/fr/api/Phalcon_Cache_Frontend_None.md index 521fcd02f344..bdc0af2d4135 100644 --- a/fr/api/Phalcon_Cache_Frontend_None.md +++ b/fr/api/Phalcon_Cache_Frontend_None.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Frontend\\None** -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/fr/api/Phalcon_Cache_Frontend_Output.md b/fr/api/Phalcon_Cache_Frontend_Output.md index 8421c02f1276..c6a0543703d6 100644 --- a/fr/api/Phalcon_Cache_Frontend_Output.md +++ b/fr/api/Phalcon_Cache_Frontend_Output.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Frontend\\Output** -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/fr/api/Phalcon_Cache_Multiple.md b/fr/api/Phalcon_Cache_Multiple.md index bbfa61a13274..1d9fd1365aa9 100644 --- a/fr/api/Phalcon_Cache_Multiple.md +++ b/fr/api/Phalcon_Cache_Multiple.md @@ -65,11 +65,11 @@ $cache->save("my-key", $data); ## Methods -public **__construct** ([[Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface[]) $backends]) +public **__construct** ([[Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface[]) $backends]) Phalcon\\Cache\\Multiple constructor -public **push** ([Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) $backend) +public **push** ([Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) $backend) Adds a backend diff --git a/fr/api/Phalcon_Cli_Console.md b/fr/api/Phalcon_Cli_Console.md index c769b7ad7659..f0337bf3f1ec 100644 --- a/fr/api/Phalcon_Cli_Console.md +++ b/fr/api/Phalcon_Cli_Console.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cli\\Console** -*extends* abstract class [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +*extends* abstract class [Phalcon\Application](/en/3.2/api/Phalcon_Application) -*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -36,19 +36,19 @@ public **setArgument** ([*array* $arguments], [*mixed* $str], [*mixed* $shift]) Set an specific argument -public **__construct** ([[Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector]) inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **__construct** ([[Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector]) inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Phalcon\\Application -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Sets the events manager -public **getEventsManager** () inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **getEventsManager** () inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Returns the internal event manager -public **registerModules** (*array* $modules, [*mixed* $merge]) inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **registerModules** (*array* $modules, [*mixed* $merge]) inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Register an array of modules present in the application @@ -70,30 +70,30 @@ $this->registerModules( ``` -public **getModules** () inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **getModules** () inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Return the modules registered in the application -public **getModule** (*mixed* $name) inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **getModule** (*mixed* $name) inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Gets the module definition registered in the application via module name -public **setDefaultModule** (*mixed* $defaultModule) inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **setDefaultModule** (*mixed* $defaultModule) inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Sets the module name to be used if the router doesn't return a valid module -public **getDefaultModule** () inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **getDefaultModule** () inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Returns the default module name -public **setDI** ([Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **setDI** ([Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Sets the dependency injector -public **getDI** () inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **getDI** () inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Returns the internal dependency injector -public **__get** (*mixed* $propertyName) inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **__get** (*mixed* $propertyName) inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Magic method __get \ No newline at end of file diff --git a/fr/api/Phalcon_Cli_Console_Exception.md b/fr/api/Phalcon_Cli_Console_Exception.md index 64a6f1f9162a..e7bfea5dbde1 100644 --- a/fr/api/Phalcon_Cli_Console_Exception.md +++ b/fr/api/Phalcon_Cli_Console_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cli\\Console\\Exception** -*extends* class [Phalcon\Application\Exception](/en/3.1.2/api/Phalcon_Application_Exception) +*extends* class [Phalcon\Application\Exception](/en/3.2/api/Phalcon_Application_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/fr/api/Phalcon_Cli_Dispatcher.md b/fr/api/Phalcon_Cli_Dispatcher.md index 7b91f5c9f537..f03b7c7c61ac 100644 --- a/fr/api/Phalcon_Cli_Dispatcher.md +++ b/fr/api/Phalcon_Cli_Dispatcher.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cli\\Dispatcher** -*extends* abstract class [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +*extends* abstract class [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) -*implements* [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface), [Phalcon\Cli\DispatcherInterface](/en/3.1.2/api/Phalcon_Cli_DispatcherInterface) +*implements* [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface), [Phalcon\Cli\DispatcherInterface](/en/3.2/api/Phalcon_Cli_DispatcherInterface) Source on GitHub @@ -11,10 +11,11 @@ Dispatching is the process of taking the command-line arguments, extracting the ```php setDi($di); $dispatcher->setTaskName("posts"); @@ -81,107 +82,115 @@ public **getOptions** () Get dispatched options +public **getOption** (*mixed* $option, [*string* | *array* $filters], [*mixed* $defaultValue]) + +Gets an option by its name or numeric index + +public **hasOption** (*mixed* $option) + +Check if an option exists + public **callActionMethod** (*mixed* $handler, *mixed* $actionMethod, [*array* $params]) -... +Calls the action method. -public **setDI** ([Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setDI** ([Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the dependency injector -public **getDI** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getDI** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns the internal dependency injector -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the events manager -public **getEventsManager** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getEventsManager** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns the internal event manager -public **setActionSuffix** (*mixed* $actionSuffix) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setActionSuffix** (*mixed* $actionSuffix) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the default action suffix -public **getActionSuffix** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getActionSuffix** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets the default action suffix -public **setModuleName** (*mixed* $moduleName) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setModuleName** (*mixed* $moduleName) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the module where the controller is (only informative) -public **getModuleName** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getModuleName** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets the module where the controller class is -public **setNamespaceName** (*mixed* $namespaceName) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setNamespaceName** (*mixed* $namespaceName) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the namespace where the controller class is -public **getNamespaceName** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getNamespaceName** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets a namespace to be prepended to the current handler name -public **setDefaultNamespace** (*mixed* $namespaceName) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setDefaultNamespace** (*mixed* $namespaceName) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the default namespace -public **getDefaultNamespace** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getDefaultNamespace** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns the default namespace -public **setDefaultAction** (*mixed* $actionName) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setDefaultAction** (*mixed* $actionName) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the default action name -public **setActionName** (*mixed* $actionName) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setActionName** (*mixed* $actionName) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the action name to be dispatched -public **getActionName** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getActionName** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets the latest dispatched action name -public **setParams** (*array* $params) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setParams** (*array* $params) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets action params to be dispatched -public **getParams** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getParams** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets action params -public **setParam** (*mixed* $param, *mixed* $value) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setParam** (*mixed* $param, *mixed* $value) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Set a param by its name or numeric index -public *mixed* **getParam** (*mixed* $param, [*string* | *array* $filters], [*mixed* $defaultValue]) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public *mixed* **getParam** (*mixed* $param, [*string* | *array* $filters], [*mixed* $defaultValue]) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets a param by its name or numeric index -public *boolean* **hasParam** (*mixed* $param) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public *boolean* **hasParam** (*mixed* $param) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Check if a param exists -public **getActiveMethod** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getActiveMethod** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns the current method to be/executed in the dispatcher -public **isFinished** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **isFinished** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Checks if the dispatch loop is finished or has more pendent controllers/tasks to dispatch -public **setReturnedValue** (*mixed* $value) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setReturnedValue** (*mixed* $value) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the latest returned value by an action manually -public *mixed* **getReturnedValue** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public *mixed* **getReturnedValue** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns value returned by the latest dispatched action -public **setModelBinding** (*mixed* $value, [*mixed* $cache]) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setModelBinding** (*mixed* $value, [*mixed* $cache]) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Enable/Disable model binding during dispatch @@ -197,7 +206,7 @@ $di->set('dispatcher', function() { ``` -public **setModelBinder** ([Phalcon\Mvc\Model\BinderInterface](/en/3.1.2/api/Phalcon_Mvc_Model_BinderInterface) $modelBinder, [*mixed* $cache]) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setModelBinder** ([Phalcon\Mvc\Model\BinderInterface](/en/3.2/api/Phalcon_Mvc_Model_BinderInterface) $modelBinder, [*mixed* $cache]) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Enable model binding during dispatch @@ -213,21 +222,21 @@ $di->set('dispatcher', function() { ``` -public **getModelBinder** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getModelBinder** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets model binder -public *object* **dispatch** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public *object* **dispatch** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Dispatches a handle action taking into account the routing parameters -protected *object* **_dispatch** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +protected *object* **_dispatch** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Dispatches a handle action taking into account the routing parameters -public **forward** (*array* $forward) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **forward** (*array* $forward) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) -Forwards the execution flow to another controller/action Dispatchers are unique per module. Forwarding between modules is not allowed +Forwards the execution flow to another controller/action. ```php dispatcher->forward( ``` -public **wasForwarded** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **wasForwarded** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Check if the current executed action was forwarded by another one -public **getHandlerClass** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getHandlerClass** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Possible class name that will be located to dispatch the request -public **getBoundModels** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getBoundModels** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns bound models from binder instance @@ -266,6 +275,6 @@ class UserController extends Controller ``` -protected **_resolveEmptyProperties** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +protected **_resolveEmptyProperties** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Set empty properties to their defaults (where defaults are available) \ No newline at end of file diff --git a/fr/api/Phalcon_Cli_DispatcherInterface.md b/fr/api/Phalcon_Cli_DispatcherInterface.md index 58914bf4b682..78f4d7b40c9c 100644 --- a/fr/api/Phalcon_Cli_DispatcherInterface.md +++ b/fr/api/Phalcon_Cli_DispatcherInterface.md @@ -1,6 +1,6 @@ # Interface **Phalcon\\Cli\\DispatcherInterface** -*implements* [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +*implements* [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) Source on GitHub @@ -30,70 +30,70 @@ abstract public **getActiveTask** () ... -abstract public **setActionSuffix** (*mixed* $actionSuffix) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setActionSuffix** (*mixed* $actionSuffix) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **getActionSuffix** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **getActionSuffix** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setDefaultNamespace** (*mixed* $defaultNamespace) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setDefaultNamespace** (*mixed* $defaultNamespace) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setDefaultAction** (*mixed* $actionName) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setDefaultAction** (*mixed* $actionName) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setNamespaceName** (*mixed* $namespaceName) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setNamespaceName** (*mixed* $namespaceName) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setModuleName** (*mixed* $moduleName) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setModuleName** (*mixed* $moduleName) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setActionName** (*mixed* $actionName) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setActionName** (*mixed* $actionName) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **getActionName** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **getActionName** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setParams** (*mixed* $params) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setParams** (*mixed* $params) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **getParams** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **getParams** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setParam** (*mixed* $param, *mixed* $value) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setParam** (*mixed* $param, *mixed* $value) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **getParam** (*mixed* $param, [*mixed* $filters]) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **getParam** (*mixed* $param, [*mixed* $filters]) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **hasParam** (*mixed* $param) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **hasParam** (*mixed* $param) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **isFinished** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **isFinished** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **getReturnedValue** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **getReturnedValue** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **dispatch** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **dispatch** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **forward** (*mixed* $forward) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **forward** (*mixed* $forward) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... \ No newline at end of file diff --git a/fr/api/Phalcon_Cli_Dispatcher_Exception.md b/fr/api/Phalcon_Cli_Dispatcher_Exception.md index 0eeb05860d89..fbd0a6c4292d 100644 --- a/fr/api/Phalcon_Cli_Dispatcher_Exception.md +++ b/fr/api/Phalcon_Cli_Dispatcher_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cli\\Dispatcher\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/fr/api/Phalcon_Cli_Router.md b/fr/api/Phalcon_Cli_Router.md index d2cb10a44276..5a0943627b36 100644 --- a/fr/api/Phalcon_Cli_Router.md +++ b/fr/api/Phalcon_Cli_Router.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cli\\Router** -*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface) +*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface) Source on GitHub @@ -29,7 +29,7 @@ public **__construct** ([*mixed* $defaultRoutes]) Phalcon\\Cli\\Router constructor -public **setDI** ([Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector) +public **setDI** ([Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector) Sets the dependency injector @@ -69,7 +69,7 @@ public **handle** ([*array* $arguments]) Handles routing information received from command-line arguments -public [Phalcon\Cli\Router\Route](/en/3.1.2/api/Phalcon_Cli_Router_Route) **add** (*string* $pattern, [*string/array* $paths]) +public [Phalcon\Cli\Router\Route](/en/3.2/api/Phalcon_Cli_Router_Route) **add** (*string* $pattern, [*string/array* $paths]) Adds a route to the router @@ -112,7 +112,7 @@ public **getRoutes** () Returns all the routes defined in the router -public [Phalcon\Cli\Router\Route](/en/3.1.2/api/Phalcon_Cli_Router_Route) **getRouteById** (*int* $id) +public [Phalcon\Cli\Router\Route](/en/3.2/api/Phalcon_Cli_Router_Route) **getRouteById** (*int* $id) Returns a route object by its id diff --git a/fr/api/Phalcon_Cli_Router_Exception.md b/fr/api/Phalcon_Cli_Router_Exception.md index ebd81a411422..e063b3861132 100644 --- a/fr/api/Phalcon_Cli_Router_Exception.md +++ b/fr/api/Phalcon_Cli_Router_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cli\\Router\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/fr/api/Phalcon_Db_Adapter.md b/fr/api/Phalcon_Db_Adapter.md index c1deaded19cd..a5d397a98c83 100644 --- a/fr/api/Phalcon_Db_Adapter.md +++ b/fr/api/Phalcon_Db_Adapter.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Db\\Adapter** -*implements* [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -24,7 +24,7 @@ public **__construct** (*array* $descriptor) Phalcon\\Db\\Adapter constructor -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) Sets the event manager @@ -32,7 +32,7 @@ public **getEventsManager** () Returns the internal event manager -public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) $dialect) +public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) $dialect) Sets the dialect used to produce the SQL @@ -309,11 +309,11 @@ public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExist Drops a view -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Adds a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) Modifies a table column based on a definition @@ -321,7 +321,7 @@ public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnN Drops a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Adds an index to a table @@ -329,7 +329,7 @@ public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexNam Drop an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Adds a primary key to a table @@ -337,7 +337,7 @@ public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) Drops a table's primary key -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) Adds a foreign key to a table @@ -345,7 +345,7 @@ public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $ref Drops a foreign key from a table -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Returns the SQL column definition from a column @@ -375,7 +375,7 @@ print_r( ``` -public [Phalcon\Db\Index](/en/3.1.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) +public [Phalcon\Db\Index](/en/3.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) Lists table indexes @@ -512,54 +512,54 @@ public *array* **getSQLBindTypes** () Active SQL statement in the object -abstract public **connect** ([*array* $descriptor]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **connect** ([*array* $descriptor]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **query** (*mixed* $sqlStatement, [*mixed* $placeholders], [*mixed* $dataTypes]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **query** (*mixed* $sqlStatement, [*mixed* $placeholders], [*mixed* $dataTypes]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **execute** (*mixed* $sqlStatement, [*mixed* $placeholders], [*mixed* $dataTypes]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **execute** (*mixed* $sqlStatement, [*mixed* $placeholders], [*mixed* $dataTypes]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **affectedRows** () inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **affectedRows** () inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **close** () inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **close** () inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **lastInsertId** ([*mixed* $sequenceName]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **lastInsertId** ([*mixed* $sequenceName]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **isUnderTransaction** () inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **isUnderTransaction** () inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **getInternalHandler** () inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **getInternalHandler** () inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... \ No newline at end of file diff --git a/fr/api/Phalcon_Db_AdapterInterface.md b/fr/api/Phalcon_Db_AdapterInterface.md index 2b9bec9a2acd..4c6a8f54b3f1 100644 --- a/fr/api/Phalcon_Db_AdapterInterface.md +++ b/fr/api/Phalcon_Db_AdapterInterface.md @@ -64,11 +64,11 @@ abstract public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* ... -abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) ... -abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) ... @@ -76,7 +76,7 @@ abstract public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* ... -abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) ... @@ -84,7 +84,7 @@ abstract public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* ... -abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) ... @@ -92,7 +92,7 @@ abstract public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) ... -abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) ... @@ -100,7 +100,7 @@ abstract public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mi ... -abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) ... diff --git a/fr/api/Phalcon_Db_Adapter_Pdo.md b/fr/api/Phalcon_Db_Adapter_Pdo.md index 44de7d9e6e1f..c23a014e3d58 100644 --- a/fr/api/Phalcon_Db_Adapter_Pdo.md +++ b/fr/api/Phalcon_Db_Adapter_Pdo.md @@ -1,8 +1,8 @@ # Abstract class **Phalcon\\Db\\Adapter\\Pdo** -*extends* abstract class [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +*extends* abstract class [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) -*implements* [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +*implements* [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) Source on GitHub @@ -262,35 +262,35 @@ public *array* **getErrorInfo** () Return the error info, if any -public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Name of the dialect used -public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Type of database system the adapter is used for -public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL bound parameter variables -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the event manager -public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the internal event manager -public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the dialect used to produce the SQL -public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns internal dialect instance -public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the first row in a SQL query result @@ -307,7 +307,7 @@ print_r($robot); ``` -public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Dumps the complete result of a query into an array @@ -338,7 +338,7 @@ foreach($robots as $robot) { ``` -public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the n'th field of first row in a SQL query result @@ -358,7 +358,7 @@ print_r($robot); ``` -public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RDBMS SQL syntax @@ -377,7 +377,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RBDM SQL syntax @@ -398,7 +398,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax @@ -435,7 +435,7 @@ $success = $connection->update( Warning! If $whereCondition is string it not escaped. -public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax Another, more convenient syntax @@ -456,7 +456,7 @@ UPDATE `robots` SET `name` = "Astro boy" WHERE id = 101 ``` -public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Deletes data from a table using custom RBDM SQL syntax @@ -474,7 +474,7 @@ DELETE FROM `robots` WHERE `id` = 101 ``` -public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Escapes a column/table/schema name @@ -494,11 +494,11 @@ $escapedTable = $connection->escapeIdentifier( ``` -public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets a list of columns -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Appends a LIMIT clause to $sqlQuery argument @@ -509,7 +509,7 @@ echo $connection->limit("SELECT * FROM robots", 5); ``` -public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.table @@ -522,7 +522,7 @@ var_dump( ``` -public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.view @@ -535,71 +535,71 @@ var_dump( ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a FOR UPDATE clause -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a LOCK IN SHARE MODE clause -public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a table -public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table from a schema/database -public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a view -public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a view -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Modifies a table column based on a definition -public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds an index to a table -public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drop an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a primary key to a table -public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table's primary key -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a foreign key to a table -public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a foreign key from a table -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the SQL column definition from a column -public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all tables on a database @@ -612,7 +612,7 @@ print_r( ``` -public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all views on a database @@ -625,7 +625,7 @@ print_r( ``` -public [Phalcon\Db\Index](/en/3.1.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public [Phalcon\Db\Index](/en/3.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Lists table indexes @@ -638,7 +638,7 @@ print_r( ``` -public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Lists table references @@ -651,7 +651,7 @@ print_r( ``` -public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets creation options from a table @@ -664,31 +664,31 @@ print_r( ``` -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Releases given savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Rollbacks given savepoint -public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Set if nested transactions should use savepoints -public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns if nested transactions should use savepoints -public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the savepoint name to use for nested transactions -public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default identity value to be inserted in an identity column @@ -712,7 +712,7 @@ $success = $connection->insert( ``` -public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default value to make the RBDM use the default value declared in the table definition @@ -734,34 +734,34 @@ $success = $connection->insert( ``` -public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Check whether the database system requires a sequence to produce auto-numeric values -public **useExplicitIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **useExplicitIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Check whether the database system requires an explicit value for identity columns -public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Return descriptor used to connect to the active database -public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets the active connection unique identifier -public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object -public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object without replace bound parameters -public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object -abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... \ No newline at end of file diff --git a/fr/api/Phalcon_Db_Adapter_Pdo_Mysql.md b/fr/api/Phalcon_Db_Adapter_Pdo_Mysql.md index fe17030fddcf..5013bf0def80 100644 --- a/fr/api/Phalcon_Db_Adapter_Pdo_Mysql.md +++ b/fr/api/Phalcon_Db_Adapter_Pdo_Mysql.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Adapter\\Pdo\\Mysql** -*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) -*implements* [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -40,7 +40,7 @@ print_r( ``` -public [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface[]) **describeIndexes** (*string* $table, [*string* $schema]) +public [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface[]) **describeIndexes** (*string* $table, [*string* $schema]) Lists table indexes @@ -66,11 +66,11 @@ print_r( ``` -public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Constructor for Phalcon\\Db\\Adapter\\Pdo -public **connect** ([*array* $descriptor]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **connect** ([*array* $descriptor]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) This method is automatically called in \\Phalcon\\Db\\Adapter\\Pdo constructor. Call it when you need to restore a database connection. @@ -95,7 +95,7 @@ $connection->connect(); ``` -public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns a PDO prepared statement to be executed with 'executePrepared' @@ -120,7 +120,7 @@ $result = $connection->executePrepared( ``` -public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Executes a prepared statement binding. This function uses integer indexes starting from zero @@ -145,7 +145,7 @@ $result = $connection->executePrepared( ``` -public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server is returning rows @@ -166,7 +166,7 @@ $resultset = $connection->query( ``` -public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server doesn't return any rows @@ -188,7 +188,7 @@ $success = $connection->execute( ``` -public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the number of affected rows by the latest INSERT/UPDATE/DELETE executed in the database system @@ -203,11 +203,11 @@ echo $connection->affectedRows(), " were deleted"; ``` -public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Closes the active connection returning success. Phalcon automatically closes and destroys active connections when the request ends -public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Escapes a value to avoid SQL injections according to the active charset in the connection @@ -218,7 +218,7 @@ $escapedStr = $connection->escapeString("some dangerous value"); ``` -public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Converts bound parameters such as :name: or ?1 into PDO bind params ? @@ -236,7 +236,7 @@ print_r( ``` -public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the insert id for the auto_increment/serial column inserted in the latest executed SQL statement @@ -261,23 +261,23 @@ $id = $connection->lastInsertId(); ``` -public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Starts a transaction in the connection -public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Rollbacks the active transaction in the connection -public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Commits the active transaction in the connection -public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the current transaction nesting level -public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Checks whether the connection is under a transaction @@ -293,43 +293,43 @@ var_dump( ``` -public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return internal PDO handler -public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return the error info, if any -public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Name of the dialect used -public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Type of database system the adapter is used for -public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL bound parameter variables -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the event manager -public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the internal event manager -public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the dialect used to produce the SQL -public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns internal dialect instance -public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the first row in a SQL query result @@ -346,7 +346,7 @@ print_r($robot); ``` -public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Dumps the complete result of a query into an array @@ -377,7 +377,7 @@ foreach($robots as $robot) { ``` -public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the n'th field of first row in a SQL query result @@ -397,7 +397,7 @@ print_r($robot); ``` -public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RDBMS SQL syntax @@ -416,7 +416,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RBDM SQL syntax @@ -437,7 +437,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax @@ -474,7 +474,7 @@ $success = $connection->update( Warning! If $whereCondition is string it not escaped. -public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax Another, more convenient syntax @@ -495,7 +495,7 @@ UPDATE `robots` SET `name` = "Astro boy" WHERE id = 101 ``` -public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Deletes data from a table using custom RBDM SQL syntax @@ -513,7 +513,7 @@ DELETE FROM `robots` WHERE `id` = 101 ``` -public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Escapes a column/table/schema name @@ -533,11 +533,11 @@ $escapedTable = $connection->escapeIdentifier( ``` -public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets a list of columns -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Appends a LIMIT clause to $sqlQuery argument @@ -548,7 +548,7 @@ echo $connection->limit("SELECT * FROM robots", 5); ``` -public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.table @@ -561,7 +561,7 @@ var_dump( ``` -public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.view @@ -574,71 +574,71 @@ var_dump( ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a FOR UPDATE clause -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a LOCK IN SHARE MODE clause -public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a table -public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table from a schema/database -public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a view -public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a view -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Modifies a table column based on a definition -public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds an index to a table -public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drop an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a primary key to a table -public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table's primary key -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a foreign key to a table -public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a foreign key from a table -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the SQL column definition from a column -public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all tables on a database @@ -651,7 +651,7 @@ print_r( ``` -public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all views on a database @@ -664,7 +664,7 @@ print_r( ``` -public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets creation options from a table @@ -677,31 +677,31 @@ print_r( ``` -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Releases given savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Rollbacks given savepoint -public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Set if nested transactions should use savepoints -public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns if nested transactions should use savepoints -public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the savepoint name to use for nested transactions -public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default identity value to be inserted in an identity column @@ -725,7 +725,7 @@ $success = $connection->insert( ``` -public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default value to make the RBDM use the default value declared in the table definition @@ -747,30 +747,30 @@ $success = $connection->insert( ``` -public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Check whether the database system requires a sequence to produce auto-numeric values -public **useExplicitIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **useExplicitIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Check whether the database system requires an explicit value for identity columns -public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Return descriptor used to connect to the active database -public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets the active connection unique identifier -public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object -public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object without replace bound parameters -public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object \ No newline at end of file diff --git a/fr/api/Phalcon_Db_Adapter_Pdo_Postgresql.md b/fr/api/Phalcon_Db_Adapter_Pdo_Postgresql.md index c7f35273d52a..9a66f69a4ec1 100644 --- a/fr/api/Phalcon_Db_Adapter_Pdo_Postgresql.md +++ b/fr/api/Phalcon_Db_Adapter_Pdo_Postgresql.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Adapter\\Pdo\\Postgresql** -*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) -*implements* [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -48,7 +48,7 @@ public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $defini Creates a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) Modifies a table column based on a definition @@ -84,11 +84,11 @@ public **supportSequences** () Check whether the database system requires a sequence to produce auto-numeric values -public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Constructor for Phalcon\\Db\\Adapter\\Pdo -public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns a PDO prepared statement to be executed with 'executePrepared' @@ -113,7 +113,7 @@ $result = $connection->executePrepared( ``` -public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Executes a prepared statement binding. This function uses integer indexes starting from zero @@ -138,7 +138,7 @@ $result = $connection->executePrepared( ``` -public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server is returning rows @@ -159,7 +159,7 @@ $resultset = $connection->query( ``` -public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server doesn't return any rows @@ -181,7 +181,7 @@ $success = $connection->execute( ``` -public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the number of affected rows by the latest INSERT/UPDATE/DELETE executed in the database system @@ -196,11 +196,11 @@ echo $connection->affectedRows(), " were deleted"; ``` -public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Closes the active connection returning success. Phalcon automatically closes and destroys active connections when the request ends -public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Escapes a value to avoid SQL injections according to the active charset in the connection @@ -211,7 +211,7 @@ $escapedStr = $connection->escapeString("some dangerous value"); ``` -public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Converts bound parameters such as :name: or ?1 into PDO bind params ? @@ -229,7 +229,7 @@ print_r( ``` -public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the insert id for the auto_increment/serial column inserted in the latest executed SQL statement @@ -254,23 +254,23 @@ $id = $connection->lastInsertId(); ``` -public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Starts a transaction in the connection -public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Rollbacks the active transaction in the connection -public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Commits the active transaction in the connection -public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the current transaction nesting level -public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Checks whether the connection is under a transaction @@ -286,43 +286,43 @@ var_dump( ``` -public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return internal PDO handler -public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return the error info, if any -public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Name of the dialect used -public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Type of database system the adapter is used for -public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL bound parameter variables -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the event manager -public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the internal event manager -public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the dialect used to produce the SQL -public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns internal dialect instance -public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the first row in a SQL query result @@ -339,7 +339,7 @@ print_r($robot); ``` -public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Dumps the complete result of a query into an array @@ -370,7 +370,7 @@ foreach($robots as $robot) { ``` -public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the n'th field of first row in a SQL query result @@ -390,7 +390,7 @@ print_r($robot); ``` -public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RDBMS SQL syntax @@ -409,7 +409,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RBDM SQL syntax @@ -430,7 +430,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax @@ -467,7 +467,7 @@ $success = $connection->update( Warning! If $whereCondition is string it not escaped. -public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax Another, more convenient syntax @@ -488,7 +488,7 @@ UPDATE `robots` SET `name` = "Astro boy" WHERE id = 101 ``` -public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Deletes data from a table using custom RBDM SQL syntax @@ -506,7 +506,7 @@ DELETE FROM `robots` WHERE `id` = 101 ``` -public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Escapes a column/table/schema name @@ -526,11 +526,11 @@ $escapedTable = $connection->escapeIdentifier( ``` -public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets a list of columns -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Appends a LIMIT clause to $sqlQuery argument @@ -541,7 +541,7 @@ echo $connection->limit("SELECT * FROM robots", 5); ``` -public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.table @@ -554,7 +554,7 @@ var_dump( ``` -public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.view @@ -567,63 +567,63 @@ var_dump( ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a FOR UPDATE clause -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a LOCK IN SHARE MODE clause -public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table from a schema/database -public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a view -public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a view -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a column to a table -public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds an index to a table -public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drop an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a primary key to a table -public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table's primary key -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a foreign key to a table -public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a foreign key from a table -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the SQL column definition from a column -public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all tables on a database @@ -636,7 +636,7 @@ print_r( ``` -public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all views on a database @@ -649,7 +649,7 @@ print_r( ``` -public [Phalcon\Db\Index](/en/3.1.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public [Phalcon\Db\Index](/en/3.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Lists table indexes @@ -662,7 +662,7 @@ print_r( ``` -public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Lists table references @@ -675,7 +675,7 @@ print_r( ``` -public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets creation options from a table @@ -688,31 +688,31 @@ print_r( ``` -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Releases given savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Rollbacks given savepoint -public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Set if nested transactions should use savepoints -public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns if nested transactions should use savepoints -public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the savepoint name to use for nested transactions -public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default value to make the RBDM use the default value declared in the table definition @@ -734,22 +734,22 @@ $success = $connection->insert( ``` -public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Return descriptor used to connect to the active database -public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets the active connection unique identifier -public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object -public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object without replace bound parameters -public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object \ No newline at end of file diff --git a/fr/api/Phalcon_Db_Adapter_Pdo_Sqlite.md b/fr/api/Phalcon_Db_Adapter_Pdo_Sqlite.md index 1f92cfbfc6bd..a568c933ce4a 100644 --- a/fr/api/Phalcon_Db_Adapter_Pdo_Sqlite.md +++ b/fr/api/Phalcon_Db_Adapter_Pdo_Sqlite.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Adapter\\Pdo\\Sqlite** -*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) -*implements* [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -40,7 +40,7 @@ print_r( ``` -public [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface[]) **describeIndexes** (*string* $table, [*string* $schema]) +public [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface[]) **describeIndexes** (*string* $table, [*string* $schema]) Lists table indexes @@ -53,7 +53,7 @@ print_r( ``` -public [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface[]) **describeReferences** (*string* $table, [*string* $schema]) +public [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface[]) **describeReferences** (*string* $table, [*string* $schema]) Lists table references @@ -83,11 +83,11 @@ $success = $connection->insert( ``` -public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Constructor for Phalcon\\Db\\Adapter\\Pdo -public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns a PDO prepared statement to be executed with 'executePrepared' @@ -112,7 +112,7 @@ $result = $connection->executePrepared( ``` -public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Executes a prepared statement binding. This function uses integer indexes starting from zero @@ -137,7 +137,7 @@ $result = $connection->executePrepared( ``` -public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server is returning rows @@ -158,7 +158,7 @@ $resultset = $connection->query( ``` -public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server doesn't return any rows @@ -180,7 +180,7 @@ $success = $connection->execute( ``` -public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the number of affected rows by the latest INSERT/UPDATE/DELETE executed in the database system @@ -195,11 +195,11 @@ echo $connection->affectedRows(), " were deleted"; ``` -public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Closes the active connection returning success. Phalcon automatically closes and destroys active connections when the request ends -public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Escapes a value to avoid SQL injections according to the active charset in the connection @@ -210,7 +210,7 @@ $escapedStr = $connection->escapeString("some dangerous value"); ``` -public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Converts bound parameters such as :name: or ?1 into PDO bind params ? @@ -228,7 +228,7 @@ print_r( ``` -public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the insert id for the auto_increment/serial column inserted in the latest executed SQL statement @@ -253,23 +253,23 @@ $id = $connection->lastInsertId(); ``` -public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Starts a transaction in the connection -public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Rollbacks the active transaction in the connection -public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Commits the active transaction in the connection -public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the current transaction nesting level -public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Checks whether the connection is under a transaction @@ -285,43 +285,43 @@ var_dump( ``` -public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return internal PDO handler -public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return the error info, if any -public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Name of the dialect used -public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Type of database system the adapter is used for -public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL bound parameter variables -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the event manager -public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the internal event manager -public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the dialect used to produce the SQL -public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns internal dialect instance -public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the first row in a SQL query result @@ -338,7 +338,7 @@ print_r($robot); ``` -public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Dumps the complete result of a query into an array @@ -369,7 +369,7 @@ foreach($robots as $robot) { ``` -public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the n'th field of first row in a SQL query result @@ -389,7 +389,7 @@ print_r($robot); ``` -public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RDBMS SQL syntax @@ -408,7 +408,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RBDM SQL syntax @@ -429,7 +429,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax @@ -466,7 +466,7 @@ $success = $connection->update( Warning! If $whereCondition is string it not escaped. -public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax Another, more convenient syntax @@ -487,7 +487,7 @@ UPDATE `robots` SET `name` = "Astro boy" WHERE id = 101 ``` -public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Deletes data from a table using custom RBDM SQL syntax @@ -505,7 +505,7 @@ DELETE FROM `robots` WHERE `id` = 101 ``` -public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Escapes a column/table/schema name @@ -525,11 +525,11 @@ $escapedTable = $connection->escapeIdentifier( ``` -public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets a list of columns -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Appends a LIMIT clause to $sqlQuery argument @@ -540,7 +540,7 @@ echo $connection->limit("SELECT * FROM robots", 5); ``` -public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.table @@ -553,7 +553,7 @@ var_dump( ``` -public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.view @@ -566,71 +566,71 @@ var_dump( ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a FOR UPDATE clause -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a LOCK IN SHARE MODE clause -public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a table -public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table from a schema/database -public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a view -public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a view -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Modifies a table column based on a definition -public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds an index to a table -public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drop an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a primary key to a table -public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table's primary key -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a foreign key to a table -public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a foreign key from a table -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the SQL column definition from a column -public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all tables on a database @@ -643,7 +643,7 @@ print_r( ``` -public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all views on a database @@ -656,7 +656,7 @@ print_r( ``` -public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets creation options from a table @@ -669,31 +669,31 @@ print_r( ``` -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Releases given savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Rollbacks given savepoint -public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Set if nested transactions should use savepoints -public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns if nested transactions should use savepoints -public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the savepoint name to use for nested transactions -public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default identity value to be inserted in an identity column @@ -717,26 +717,26 @@ $success = $connection->insert( ``` -public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Check whether the database system requires a sequence to produce auto-numeric values -public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Return descriptor used to connect to the active database -public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets the active connection unique identifier -public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object -public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object without replace bound parameters -public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object \ No newline at end of file diff --git a/fr/api/Phalcon_Db_Column.md b/fr/api/Phalcon_Db_Column.md index ab2fdfb7a40e..fe0210a2b411 100644 --- a/fr/api/Phalcon_Db_Column.md +++ b/fr/api/Phalcon_Db_Column.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Db\\Column** -*implements* [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) +*implements* [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) Source on GitHub diff --git a/fr/api/Phalcon_Db_Dialect.md b/fr/api/Phalcon_Db_Dialect.md index 11c52ea58df4..df25f0af03ab 100644 --- a/fr/api/Phalcon_Db_Dialect.md +++ b/fr/api/Phalcon_Db_Dialect.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Db\\Dialect** -*implements* [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +*implements* [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) Source on GitHub @@ -199,86 +199,86 @@ protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $es Prepares qualified for this RDBMS -abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropTable** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropTable** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **describeIndexes** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **describeIndexes** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **tableOptions** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **tableOptions** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... \ No newline at end of file diff --git a/fr/api/Phalcon_Db_DialectInterface.md b/fr/api/Phalcon_Db_DialectInterface.md index 0bf993854d79..90ee58afb9e1 100644 --- a/fr/api/Phalcon_Db_DialectInterface.md +++ b/fr/api/Phalcon_Db_DialectInterface.md @@ -24,15 +24,15 @@ abstract public **getColumnList** (*array* $columnList) ... -abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) ... -abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) ... -abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) ... @@ -40,7 +40,7 @@ abstract public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* ... -abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) ... @@ -48,7 +48,7 @@ abstract public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* ... -abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) ... @@ -56,7 +56,7 @@ abstract public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) ... -abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) ... diff --git a/fr/api/Phalcon_Db_Dialect_Mysql.md b/fr/api/Phalcon_Db_Dialect_Mysql.md index 6178388fc739..d1a80102e14c 100644 --- a/fr/api/Phalcon_Db_Dialect_Mysql.md +++ b/fr/api/Phalcon_Db_Dialect_Mysql.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Dialect\\Mysql** -*extends* abstract class [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +*extends* abstract class [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) -*implements* [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +*implements* [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) Source on GitHub @@ -10,15 +10,15 @@ Generates database specific SQL for the MySQL RDBMS ## Methods -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Gets the column name in MySQL -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Generates SQL to add a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) Generates SQL to modify a column in a table @@ -26,7 +26,7 @@ public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnN Generates SQL to delete a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add an index to a table @@ -34,7 +34,7 @@ public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexNam Generates SQL to delete an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add the primary key to a table @@ -42,7 +42,7 @@ public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) Generates SQL to delete primary key from a table -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) Generates SQL to add an index to a table @@ -133,23 +133,23 @@ protected **_getTableOptions** (*array* $definition) Generates SQL to add the table creation options -public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Registers custom SQL functions -public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns registered functions -final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape Schema -final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape identifiers -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generates the SQL for LIMIT clause @@ -164,7 +164,7 @@ echo $sql; // SELECT * FROM robots LIMIT 10 OFFSET 50 ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a FOR UPDATE clause @@ -176,7 +176,7 @@ echo $sql; // SELECT * FROM robots FOR UPDATE ``` -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a LOCK IN SHARE MODE clause @@ -188,7 +188,7 @@ echo $sql; // SELECT * FROM robots LOCK IN SHARE MODE ``` -final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Gets a list of columns with escaped identifiers @@ -204,122 +204,122 @@ echo $dialect->getColumnList( ``` -final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transforms an intermediate representation for an expression into a database system valid expression -final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transform an intermediate representation of a schema/table into a database system valid expression -public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Builds a SELECT statement -public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports savepoints -public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports releasing savepoints. -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to create a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to release a savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to rollback a savepoint -final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve object expressions -final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve qualified expressions -final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve binary operations expressions -final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve unary operations expressions -final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve function calls -final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Lists -final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve * -final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CAST of values -final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CONVERT of values encodings -final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CASE expressions -final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a FROM clause -final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a JOINs clause -final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a WHERE clause -final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a GROUP BY clause -final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a HAVING clause -final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve an ORDER BY clause -final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a LIMIT clause -protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares column for this RDBMS -protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares table for this RDBMS -protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares qualified for this RDBMS \ No newline at end of file diff --git a/fr/api/Phalcon_Db_Dialect_Postgresql.md b/fr/api/Phalcon_Db_Dialect_Postgresql.md index 01fe5982984c..f10d03525235 100644 --- a/fr/api/Phalcon_Db_Dialect_Postgresql.md +++ b/fr/api/Phalcon_Db_Dialect_Postgresql.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Dialect\\Postgresql** -*extends* abstract class [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +*extends* abstract class [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) -*implements* [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +*implements* [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) Source on GitHub @@ -10,15 +10,15 @@ Generates database specific SQL for the PostgreSQL RDBMS ## Methods -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Gets the column name in PostgreSQL -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Generates SQL to add a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) Generates SQL to modify a column in a table @@ -26,7 +26,7 @@ public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnN Generates SQL to delete a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add an index to a table @@ -34,7 +34,7 @@ public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexNam Generates SQL to delete an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add the primary key to a table @@ -42,7 +42,7 @@ public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) Generates SQL to delete primary key from a table -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) Generates SQL to add an index to a table @@ -129,7 +129,7 @@ public **tableOptions** (*mixed* $table, [*mixed* $schema]) Generates the SQL to describe the table creation options -protected **_castDefault** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +protected **_castDefault** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) ... @@ -137,23 +137,23 @@ protected **_getTableOptions** (*array* $definition) ... -public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Registers custom SQL functions -public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns registered functions -final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape Schema -final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape identifiers -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generates the SQL for LIMIT clause @@ -168,7 +168,7 @@ echo $sql; // SELECT * FROM robots LIMIT 10 OFFSET 50 ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a FOR UPDATE clause @@ -180,7 +180,7 @@ echo $sql; // SELECT * FROM robots FOR UPDATE ``` -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a LOCK IN SHARE MODE clause @@ -192,7 +192,7 @@ echo $sql; // SELECT * FROM robots LOCK IN SHARE MODE ``` -final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Gets a list of columns with escaped identifiers @@ -208,122 +208,122 @@ echo $dialect->getColumnList( ``` -final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transforms an intermediate representation for an expression into a database system valid expression -final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transform an intermediate representation of a schema/table into a database system valid expression -public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Builds a SELECT statement -public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports savepoints -public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports releasing savepoints. -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to create a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to release a savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to rollback a savepoint -final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve object expressions -final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve qualified expressions -final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve binary operations expressions -final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve unary operations expressions -final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve function calls -final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Lists -final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve * -final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CAST of values -final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CONVERT of values encodings -final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CASE expressions -final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a FROM clause -final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a JOINs clause -final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a WHERE clause -final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a GROUP BY clause -final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a HAVING clause -final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve an ORDER BY clause -final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a LIMIT clause -protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares column for this RDBMS -protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares table for this RDBMS -protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares qualified for this RDBMS \ No newline at end of file diff --git a/fr/api/Phalcon_Db_Dialect_Sqlite.md b/fr/api/Phalcon_Db_Dialect_Sqlite.md index 7b38162151a0..dabec6d39e49 100644 --- a/fr/api/Phalcon_Db_Dialect_Sqlite.md +++ b/fr/api/Phalcon_Db_Dialect_Sqlite.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Dialect\\Sqlite** -*extends* abstract class [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +*extends* abstract class [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) -*implements* [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +*implements* [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) Source on GitHub @@ -10,15 +10,15 @@ Generates database specific SQL for the Sqlite RDBMS ## Methods -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Gets the column name in SQLite -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Generates SQL to add a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) Generates SQL to modify a column in a table @@ -26,7 +26,7 @@ public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnN Generates SQL to delete a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add an index to a table @@ -34,7 +34,7 @@ public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexNam Generates SQL to delete an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add the primary key to a table @@ -42,7 +42,7 @@ public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) Generates SQL to delete primary key from a table -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) Generates SQL to add an index to a table @@ -146,23 +146,23 @@ public **tableOptions** (*mixed* $table, [*mixed* $schema]) Generates the SQL to describe the table creation options -public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Registers custom SQL functions -public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns registered functions -final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape Schema -final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape identifiers -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generates the SQL for LIMIT clause @@ -177,7 +177,7 @@ echo $sql; // SELECT * FROM robots LIMIT 10 OFFSET 50 ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a FOR UPDATE clause @@ -189,7 +189,7 @@ echo $sql; // SELECT * FROM robots FOR UPDATE ``` -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a LOCK IN SHARE MODE clause @@ -201,7 +201,7 @@ echo $sql; // SELECT * FROM robots LOCK IN SHARE MODE ``` -final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Gets a list of columns with escaped identifiers @@ -217,122 +217,122 @@ echo $dialect->getColumnList( ``` -final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transforms an intermediate representation for an expression into a database system valid expression -final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transform an intermediate representation of a schema/table into a database system valid expression -public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Builds a SELECT statement -public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports savepoints -public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports releasing savepoints. -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to create a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to release a savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to rollback a savepoint -final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve object expressions -final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve qualified expressions -final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve binary operations expressions -final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve unary operations expressions -final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve function calls -final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Lists -final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve * -final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CAST of values -final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CONVERT of values encodings -final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CASE expressions -final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a FROM clause -final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a JOINs clause -final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a WHERE clause -final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a GROUP BY clause -final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a HAVING clause -final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve an ORDER BY clause -final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a LIMIT clause -protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares column for this RDBMS -protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares table for this RDBMS -protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares qualified for this RDBMS \ No newline at end of file diff --git a/fr/api/Phalcon_Db_Exception.md b/fr/api/Phalcon_Db_Exception.md index 839c2d00fbf8..00160179b065 100644 --- a/fr/api/Phalcon_Db_Exception.md +++ b/fr/api/Phalcon_Db_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Db\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/fr/api/Phalcon_Db_Index.md b/fr/api/Phalcon_Db_Index.md index 60a5b41f764f..9ca94ad0e146 100644 --- a/fr/api/Phalcon_Db_Index.md +++ b/fr/api/Phalcon_Db_Index.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Db\\Index** -*implements* [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) +*implements* [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) Source on GitHub diff --git a/fr/api/Phalcon_Db_Profiler.md b/fr/api/Phalcon_Db_Profiler.md index 05a913cb9c2c..1d6dde6d6e69 100644 --- a/fr/api/Phalcon_Db_Profiler.md +++ b/fr/api/Phalcon_Db_Profiler.md @@ -31,7 +31,7 @@ echo "Total Elapsed Time: ", $profile->getTotalElapsedSeconds(), "\n"; ## Methods -public [Phalcon\Db\Profiler](/en/3.1.2/api/Phalcon_Db_Profiler) **startProfile** (*string* $sqlStatement, [*mixed* $sqlVariables], [*mixed* $sqlBindTypes]) +public [Phalcon\Db\Profiler](/en/3.2/api/Phalcon_Db_Profiler) **startProfile** (*string* $sqlStatement, [*mixed* $sqlVariables], [*mixed* $sqlBindTypes]) Starts the profile of a SQL sentence diff --git a/fr/api/Phalcon_Db_Reference.md b/fr/api/Phalcon_Db_Reference.md index 30ac1a686521..2e83e14de226 100644 --- a/fr/api/Phalcon_Db_Reference.md +++ b/fr/api/Phalcon_Db_Reference.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Db\\Reference** -*implements* [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) +*implements* [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) Source on GitHub diff --git a/fr/api/Phalcon_Db_Result_Pdo.md b/fr/api/Phalcon_Db_Result_Pdo.md index 2e053d67ae6f..91808dece71f 100644 --- a/fr/api/Phalcon_Db_Result_Pdo.md +++ b/fr/api/Phalcon_Db_Result_Pdo.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Db\\Result\\Pdo** -*implements* [Phalcon\Db\ResultInterface](/en/3.1.2/api/Phalcon_Db_ResultInterface) +*implements* [Phalcon\Db\ResultInterface](/en/3.2/api/Phalcon_Db_ResultInterface) Source on GitHub @@ -23,7 +23,7 @@ while ($robot = $result->fetchArray()) { ## Methods -public **__construct** ([Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) $connection, [PDOStatement](http://php.net/manual/en/class.pdostatement.php) $result, [*string* $sqlStatement], [*array* $bindParams], [*array* $bindTypes]) +public **__construct** ([Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) $connection, [PDOStatement](http://php.net/manual/en/class.pdostatement.php) $result, [*string* $sqlStatement], [*array* $bindParams], [*array* $bindTypes]) Phalcon\\Db\\Result\\Pdo constructor diff --git a/hr/api/Phalcon_Acl_Adapter.md b/hr/api/Phalcon_Acl_Adapter.md index 9f86a2a2a142..1696a50b6e15 100644 --- a/hr/api/Phalcon_Acl_Adapter.md +++ b/hr/api/Phalcon_Acl_Adapter.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Acl\\Adapter** -*implements* [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -20,7 +20,7 @@ public **getActiveAccess** () Active access which the list is checking if some role can access it -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) Sets the events manager @@ -36,58 +36,58 @@ public **getDefaultAction** () Returns the default ACL access level -abstract public **setNoArgumentsDefaultAction** (*mixed* $defaultAccess) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **setNoArgumentsDefaultAction** (*mixed* $defaultAccess) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **getNoArgumentsDefaultAction** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **getNoArgumentsDefaultAction** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **addRole** (*mixed* $role, [*mixed* $accessInherits]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **addRole** (*mixed* $role, [*mixed* $accessInherits]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **addInherit** (*mixed* $roleName, *mixed* $roleToInherit) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **addInherit** (*mixed* $roleName, *mixed* $roleToInherit) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **isRole** (*mixed* $roleName) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **isRole** (*mixed* $roleName) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **isResource** (*mixed* $resourceName) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **isResource** (*mixed* $resourceName) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **addResource** (*mixed* $resourceObject, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **addResource** (*mixed* $resourceObject, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **addResourceAccess** (*mixed* $resourceName, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **addResourceAccess** (*mixed* $resourceName, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **dropResourceAccess** (*mixed* $resourceName, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **dropResourceAccess** (*mixed* $resourceName, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **allow** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*mixed* $func]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **allow** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*mixed* $func]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **deny** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*mixed* $func]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **deny** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*mixed* $func]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **isAllowed** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*array* $parameters]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **isAllowed** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*array* $parameters]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **getRoles** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **getRoles** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **getResources** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **getResources** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... \ No newline at end of file diff --git a/hr/api/Phalcon_Acl_Adapter_Memory.md b/hr/api/Phalcon_Acl_Adapter_Memory.md index e9ea95ccda45..889751c95b98 100644 --- a/hr/api/Phalcon_Acl_Adapter_Memory.md +++ b/hr/api/Phalcon_Acl_Adapter_Memory.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Acl\\Adapter\\Memory** -*extends* abstract class [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +*extends* abstract class [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) -*implements* [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +*implements* [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) Source on GitHub @@ -105,7 +105,7 @@ public **isResource** (*mixed* $resourceName) Check whether resource exist in the resources list -public **addResource** ([Phalcon\Acl\Resource](/en/3.1.2/api/Phalcon_Acl_Resource) | *string* $resourceValue, *array* | *string* $accessList) +public **addResource** ([Phalcon\Acl\Resource](/en/3.2/api/Phalcon_Acl_Resource) | *string* $resourceValue, *array* | *string* $accessList) Adds a resource to the ACL list Access names can be a particular action, by example search, update, delete, etc or a list of them Example: @@ -224,30 +224,30 @@ public **getResources** () Return an array with every resource registered in the list -public **getActiveRole** () inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **getActiveRole** () inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Role which the list is checking if it's allowed to certain resource/access -public **getActiveResource** () inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **getActiveResource** () inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Resource which the list is checking if some role can access it -public **getActiveAccess** () inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **getActiveAccess** () inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Active access which the list is checking if some role can access it -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Sets the events manager -public **getEventsManager** () inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **getEventsManager** () inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Returns the internal event manager -public **setDefaultAction** (*mixed* $defaultAccess) inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **setDefaultAction** (*mixed* $defaultAccess) inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Sets the default access level (Phalcon\\Acl::ALLOW or Phalcon\\Acl::DENY) -public **getDefaultAction** () inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **getDefaultAction** () inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Returns the default ACL access level \ No newline at end of file diff --git a/hr/api/Phalcon_Acl_Exception.md b/hr/api/Phalcon_Acl_Exception.md index 153094579c30..9c1b44ab7b5d 100644 --- a/hr/api/Phalcon_Acl_Exception.md +++ b/hr/api/Phalcon_Acl_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Acl\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/hr/api/Phalcon_Acl_Resource.md b/hr/api/Phalcon_Acl_Resource.md index 1663e1ad2e93..25ac2d3e792b 100644 --- a/hr/api/Phalcon_Acl_Resource.md +++ b/hr/api/Phalcon_Acl_Resource.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Acl\\Resource** -*implements* [Phalcon\Acl\ResourceInterface](/en/3.1.2/api/Phalcon_Acl_ResourceInterface) +*implements* [Phalcon\Acl\ResourceInterface](/en/3.2/api/Phalcon_Acl_ResourceInterface) Source on GitHub diff --git a/hr/api/Phalcon_Acl_Role.md b/hr/api/Phalcon_Acl_Role.md index e105183dd7f4..c8252648d6c8 100644 --- a/hr/api/Phalcon_Acl_Role.md +++ b/hr/api/Phalcon_Acl_Role.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Acl\\Role** -*implements* [Phalcon\Acl\RoleInterface](/en/3.1.2/api/Phalcon_Acl_RoleInterface) +*implements* [Phalcon\Acl\RoleInterface](/en/3.2/api/Phalcon_Acl_RoleInterface) Source on GitHub diff --git a/hr/api/Phalcon_Annotations_Adapter.md b/hr/api/Phalcon_Annotations_Adapter.md index 7a2b31fc4dc1..d42ac348bbc9 100644 --- a/hr/api/Phalcon_Annotations_Adapter.md +++ b/hr/api/Phalcon_Annotations_Adapter.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Annotations\\Adapter** -*implements* [Phalcon\Annotations\AdapterInterface](/en/3.1.2/api/Phalcon_Annotations_AdapterInterface) +*implements* [Phalcon\Annotations\AdapterInterface](/en/3.2/api/Phalcon_Annotations_AdapterInterface) Source on GitHub @@ -8,7 +8,7 @@ This is the base class for Phalcon\\Annotations adapters ## Methods -public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) +public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) Sets the annotations parser diff --git a/hr/api/Phalcon_Annotations_AdapterInterface.md b/hr/api/Phalcon_Annotations_AdapterInterface.md index a4e2c689503a..a1ff65cb01a1 100644 --- a/hr/api/Phalcon_Annotations_AdapterInterface.md +++ b/hr/api/Phalcon_Annotations_AdapterInterface.md @@ -4,7 +4,7 @@ ## Methods -abstract public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) +abstract public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) ... diff --git a/hr/api/Phalcon_Annotations_Adapter_Apc.md b/hr/api/Phalcon_Annotations_Adapter_Apc.md index 1b8a1d6d0d7d..467622a88425 100644 --- a/hr/api/Phalcon_Annotations_Adapter_Apc.md +++ b/hr/api/Phalcon_Annotations_Adapter_Apc.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Annotations\\Adapter\\Apc** -*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) -*implements* [Phalcon\Annotations\AdapterInterface](/en/3.1.2/api/Phalcon_Annotations_AdapterInterface) +*implements* [Phalcon\Annotations\AdapterInterface](/en/3.2/api/Phalcon_Annotations_AdapterInterface) Source on GitHub @@ -27,34 +27,34 @@ public **read** (*mixed* $key) Reads parsed annotations from APC -public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) $data) +public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) $data) Writes parsed annotations to APC -public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Sets the annotations parser -public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotation reader -public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Parses or retrieves all the annotations found in a class -public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific method -public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific property \ No newline at end of file diff --git a/hr/api/Phalcon_Annotations_Adapter_Files.md b/hr/api/Phalcon_Annotations_Adapter_Files.md index fcb4c23e6c2e..e4c407e5954e 100644 --- a/hr/api/Phalcon_Annotations_Adapter_Files.md +++ b/hr/api/Phalcon_Annotations_Adapter_Files.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Annotations\\Adapter\\Files** -*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) -*implements* [Phalcon\Annotations\AdapterInterface](/en/3.1.2/api/Phalcon_Annotations_AdapterInterface) +*implements* [Phalcon\Annotations\AdapterInterface](/en/3.2/api/Phalcon_Annotations_AdapterInterface) Source on GitHub @@ -27,38 +27,38 @@ public **__construct** ([*array* $options]) Phalcon\\Annotations\\Adapter\\Files constructor -public [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) **read** (*string* $key) +public [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) **read** (*string* $key) Reads parsed annotations from files -public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) $data) +public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) $data) Writes parsed annotations to files -public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Sets the annotations parser -public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotation reader -public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Parses or retrieves all the annotations found in a class -public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific method -public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific property \ No newline at end of file diff --git a/hr/api/Phalcon_Annotations_Adapter_Memory.md b/hr/api/Phalcon_Annotations_Adapter_Memory.md index 53fc2e3769c7..205f20e6b1b8 100644 --- a/hr/api/Phalcon_Annotations_Adapter_Memory.md +++ b/hr/api/Phalcon_Annotations_Adapter_Memory.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Annotations\\Adapter\\Memory** -*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) -*implements* [Phalcon\Annotations\AdapterInterface](/en/3.1.2/api/Phalcon_Annotations_AdapterInterface) +*implements* [Phalcon\Annotations\AdapterInterface](/en/3.2/api/Phalcon_Annotations_AdapterInterface) Source on GitHub @@ -14,34 +14,34 @@ public **read** (*mixed* $key) Reads parsed annotations from memory -public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) $data) +public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) $data) Writes parsed annotations to memory -public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Sets the annotations parser -public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotation reader -public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Parses or retrieves all the annotations found in a class -public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific method -public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific property \ No newline at end of file diff --git a/hr/api/Phalcon_Annotations_Adapter_Xcache.md b/hr/api/Phalcon_Annotations_Adapter_Xcache.md index 79bfa9e6b4d3..37c97e7e6b8c 100644 --- a/hr/api/Phalcon_Annotations_Adapter_Xcache.md +++ b/hr/api/Phalcon_Annotations_Adapter_Xcache.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Annotations\\Adapter\\Xcache** -*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) -*implements* [Phalcon\Annotations\AdapterInterface](/en/3.1.2/api/Phalcon_Annotations_AdapterInterface) +*implements* [Phalcon\Annotations\AdapterInterface](/en/3.2/api/Phalcon_Annotations_AdapterInterface) Source on GitHub @@ -17,38 +17,38 @@ $annotations = new \Phalcon\Annotations\Adapter\Xcache(); ## Methods -public [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) **read** (*string* $key) +public [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) **read** (*string* $key) Reads parsed annotations from XCache -public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) $data) +public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) $data) Writes parsed annotations to XCache -public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Sets the annotations parser -public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotation reader -public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Parses or retrieves all the annotations found in a class -public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific method -public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific property \ No newline at end of file diff --git a/hr/api/Phalcon_Annotations_Collection.md b/hr/api/Phalcon_Annotations_Collection.md index 8176520b43ea..ba33511a50fe 100644 --- a/hr/api/Phalcon_Annotations_Collection.md +++ b/hr/api/Phalcon_Annotations_Collection.md @@ -36,7 +36,7 @@ public **rewind** () Rewinds the internal iterator -public [Phalcon\Annotations\Annotation](/en/3.1.2/api/Phalcon_Annotations_Annotation) **current** () +public [Phalcon\Annotations\Annotation](/en/3.2/api/Phalcon_Annotations_Annotation) **current** () Returns the current annotation in the iterator diff --git a/hr/api/Phalcon_Annotations_Reader.md b/hr/api/Phalcon_Annotations_Reader.md index 56ca9b058cd1..4e8e513ffea9 100644 --- a/hr/api/Phalcon_Annotations_Reader.md +++ b/hr/api/Phalcon_Annotations_Reader.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Annotations\\Reader** -*implements* [Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) +*implements* [Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) Source on GitHub diff --git a/hr/api/Phalcon_Application.md b/hr/api/Phalcon_Application.md index e7e767824af2..5ff2b07edaf4 100644 --- a/hr/api/Phalcon_Application.md +++ b/hr/api/Phalcon_Application.md @@ -1,8 +1,8 @@ # Abstract class **Phalcon\\Application** -*extends* abstract class [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +*extends* abstract class [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) -*implements* [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface) +*implements* [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface) Source on GitHub @@ -10,9 +10,9 @@ Base class for Phalcon\\Cli\\Console and Phalcon\\Mvc\\Application. ## Methods -public **__construct** ([[Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector]) +public **__construct** ([[Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector]) -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) Sets the events manager @@ -62,14 +62,14 @@ abstract public **handle** () Handles a request -public **setDI** ([Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **setDI** ([Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Sets the dependency injector -public **getDI** () inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **getDI** () inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Returns the internal dependency injector -public **__get** (*mixed* $propertyName) inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **__get** (*mixed* $propertyName) inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Magic method __get \ No newline at end of file diff --git a/hr/api/Phalcon_Application_Exception.md b/hr/api/Phalcon_Application_Exception.md index ade9f4d1b49e..49637aa88e5e 100644 --- a/hr/api/Phalcon_Application_Exception.md +++ b/hr/api/Phalcon_Application_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Application\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/hr/api/Phalcon_Assets_Collection.md b/hr/api/Phalcon_Assets_Collection.md index 9c3e06cdb077..f6f18d5a1d60 100644 --- a/hr/api/Phalcon_Assets_Collection.md +++ b/hr/api/Phalcon_Assets_Collection.md @@ -56,14 +56,35 @@ public **getSourcePath** () ... -public **add** ([Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) $resource) +public **__construct** () + +Phalcon\\Assets\\Collection constructor + +public **add** ([Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) $resource) Adds a resource to the collection -public **addInline** ([Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) $code) +public **addInline** ([Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) $code) Adds an inline code to the collection +public **has** ([Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) $resource) + +Checks this the resource is added to the collection. + +```php +has($resource); // true + +``` + public **addCss** (*mixed* $path, [*mixed* $local], [*mixed* $filter], [*mixed* $attributes]) Adds a CSS resource to the collection @@ -72,7 +93,7 @@ public **addInlineCss** (*mixed* $content, [*mixed* $filter], [*mixed* $attribut Adds an inline CSS to the collection -public [Phalcon\Assets\Collection](/en/3.1.2/api/Phalcon_Assets_Collection) **addJs** (*string* $path, [*boolean* $local], [*boolean* $filter], [*array* $attributes]) +public [Phalcon\Assets\Collection](/en/3.2/api/Phalcon_Assets_Collection) **addJs** (*string* $path, [*boolean* $local], [*boolean* $filter], [*array* $attributes]) Adds a javascript resource to the collection @@ -144,6 +165,10 @@ public **getRealTargetPath** (*mixed* $basePath) Returns the complete location where the joined/filtered collection must be written -public **addFilter** ([Phalcon\Assets\FilterInterface](/en/3.1.2/api/Phalcon_Assets_FilterInterface) $filter) +public **addFilter** ([Phalcon\Assets\FilterInterface](/en/3.2/api/Phalcon_Assets_FilterInterface) $filter) + +Adds a filter to the collection + +final protected **addResource** ([Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) $resource) -Adds a filter to the collection \ No newline at end of file +Adds a resource or inline-code to the collection \ No newline at end of file diff --git a/hr/api/Phalcon_Assets_Exception.md b/hr/api/Phalcon_Assets_Exception.md index bf3c9a57c01a..4c8c0516fd94 100644 --- a/hr/api/Phalcon_Assets_Exception.md +++ b/hr/api/Phalcon_Assets_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Assets\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/hr/api/Phalcon_Assets_Filters_Cssmin.md b/hr/api/Phalcon_Assets_Filters_Cssmin.md index 75e2781f79a0..a807a59e4880 100644 --- a/hr/api/Phalcon_Assets_Filters_Cssmin.md +++ b/hr/api/Phalcon_Assets_Filters_Cssmin.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Assets\\Filters\\Cssmin** -*implements* [Phalcon\Assets\FilterInterface](/en/3.1.2/api/Phalcon_Assets_FilterInterface) +*implements* [Phalcon\Assets\FilterInterface](/en/3.2/api/Phalcon_Assets_FilterInterface) Source on GitHub diff --git a/hr/api/Phalcon_Assets_Filters_Jsmin.md b/hr/api/Phalcon_Assets_Filters_Jsmin.md index 2ee9aa7f5390..2bfe2b4851a4 100644 --- a/hr/api/Phalcon_Assets_Filters_Jsmin.md +++ b/hr/api/Phalcon_Assets_Filters_Jsmin.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Assets\\Filters\\Jsmin** -*implements* [Phalcon\Assets\FilterInterface](/en/3.1.2/api/Phalcon_Assets_FilterInterface) +*implements* [Phalcon\Assets\FilterInterface](/en/3.2/api/Phalcon_Assets_FilterInterface) Source on GitHub diff --git a/hr/api/Phalcon_Assets_Filters_None.md b/hr/api/Phalcon_Assets_Filters_None.md index 93c79dd941f6..60e59aac09de 100644 --- a/hr/api/Phalcon_Assets_Filters_None.md +++ b/hr/api/Phalcon_Assets_Filters_None.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Assets\\Filters\\None** -*implements* [Phalcon\Assets\FilterInterface](/en/3.1.2/api/Phalcon_Assets_FilterInterface) +*implements* [Phalcon\Assets\FilterInterface](/en/3.2/api/Phalcon_Assets_FilterInterface) Source on GitHub diff --git a/hr/api/Phalcon_Assets_Inline.md b/hr/api/Phalcon_Assets_Inline.md index 05a1f622aa48..e5c3ef631536 100644 --- a/hr/api/Phalcon_Assets_Inline.md +++ b/hr/api/Phalcon_Assets_Inline.md @@ -1,5 +1,7 @@ # Class **Phalcon\\Assets\\Inline** +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) + Source on GitHub Represents an inline asset @@ -43,4 +45,8 @@ Sets if the resource must be filtered or not public **setAttributes** (*array* $attributes) -Sets extra HTML attributes \ No newline at end of file +Sets extra HTML attributes + +public **getResourceKey** () + +Gets the resource's key. \ No newline at end of file diff --git a/hr/api/Phalcon_Assets_Inline_Css.md b/hr/api/Phalcon_Assets_Inline_Css.md index c4d7a9d0e919..aad74b78beca 100644 --- a/hr/api/Phalcon_Assets_Inline_Css.md +++ b/hr/api/Phalcon_Assets_Inline_Css.md @@ -1,6 +1,8 @@ # Class **Phalcon\\Assets\\Inline\\Css** -*extends* class [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +*extends* class [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) + +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) Source on GitHub @@ -10,30 +12,34 @@ Represents an inlined CSS public **__construct** (*string* $content, [*boolean* $filter], [*array* $attributes]) -public **getType** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getType** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getContent** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getContent** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getFilter** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getFilter** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getAttributes** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getAttributes** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) Sets the inline's type -public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) Sets if the resource must be filtered or not -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) + +Sets extra HTML attributes + +public **getResourceKey** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) -Sets extra HTML attributes \ No newline at end of file +Gets the resource's key. \ No newline at end of file diff --git a/hr/api/Phalcon_Assets_Inline_Js.md b/hr/api/Phalcon_Assets_Inline_Js.md index 27d57246d817..1cce336b4116 100644 --- a/hr/api/Phalcon_Assets_Inline_Js.md +++ b/hr/api/Phalcon_Assets_Inline_Js.md @@ -1,6 +1,8 @@ # Class **Phalcon\\Assets\\Inline\\Js** -*extends* class [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +*extends* class [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) + +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) Source on GitHub @@ -10,30 +12,34 @@ Represents an inline Javascript public **__construct** (*string* $content, [*boolean* $filter], [*array* $attributes]) -public **getType** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getType** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getContent** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getContent** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getFilter** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getFilter** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getAttributes** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getAttributes** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) Sets the inline's type -public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) Sets if the resource must be filtered or not -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) + +Sets extra HTML attributes + +public **getResourceKey** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) -Sets extra HTML attributes \ No newline at end of file +Gets the resource's key. \ No newline at end of file diff --git a/hr/api/Phalcon_Assets_Manager.md b/hr/api/Phalcon_Assets_Manager.md index 55ab07f19201..13ecabf4ff9c 100644 --- a/hr/api/Phalcon_Assets_Manager.md +++ b/hr/api/Phalcon_Assets_Manager.md @@ -52,7 +52,7 @@ public **addInlineJs** (*mixed* $content, [*mixed* $filter], [*mixed* $attribute Adds an inline javascript to the 'js' collection -public **addResourceByType** (*mixed* $type, [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) $resource) +public **addResourceByType** (*mixed* $type, [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) $resource) Adds a resource by its type @@ -65,11 +65,11 @@ $assets->addResourceByType("css", ``` -public **addInlineCodeByType** (*mixed* $type, [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) $code) +public **addInlineCodeByType** (*mixed* $type, [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) $code) Adds an inline code by its type -public **addResource** ([Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) $resource) +public **addResource** ([Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) $resource) Adds a raw resource to the manager @@ -82,11 +82,11 @@ $assets->addResource( ``` -public **addInlineCode** ([Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) $code) +public **addInlineCode** ([Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) $code) Adds a raw inline code to the manager -public **set** (*mixed* $id, [Phalcon\Assets\Collection](/en/3.1.2/api/Phalcon_Assets_Collection) $collection) +public **set** (*mixed* $id, [Phalcon\Assets\Collection](/en/3.2/api/Phalcon_Assets_Collection) $collection) Sets a collection in the Assets Manager @@ -99,7 +99,7 @@ $assets->set("js", $collection); public **get** (*mixed* $id) -Returns a collection by its id +Returns a collection by its id. ```php exists("jsHeader")) { + // \Phalcon\Assets\Collection + $collection = $assets->get("jsHeader"); +} + +``` \ No newline at end of file diff --git a/hr/api/Phalcon_Assets_Resource.md b/hr/api/Phalcon_Assets_Resource.md index 9718061c348e..d67dc71b7929 100644 --- a/hr/api/Phalcon_Assets_Resource.md +++ b/hr/api/Phalcon_Assets_Resource.md @@ -1,5 +1,7 @@ # Class **Phalcon\\Assets\\Resource** +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) + Source on GitHub Represents an asset resource @@ -85,4 +87,8 @@ Returns the complete location where the resource is located public **getRealTargetPath** ([*mixed* $basePath]) -Returns the complete location where the resource must be written \ No newline at end of file +Returns the complete location where the resource must be written + +public **getResourceKey** () + +Gets the resource's key. \ No newline at end of file diff --git a/hr/api/Phalcon_Assets_Resource_Css.md b/hr/api/Phalcon_Assets_Resource_Css.md index 9376a4de5f6d..11c938e391ca 100644 --- a/hr/api/Phalcon_Assets_Resource_Css.md +++ b/hr/api/Phalcon_Assets_Resource_Css.md @@ -1,6 +1,8 @@ # Class **Phalcon\\Assets\\Resource\\Css** -*extends* class [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +*extends* class [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) + +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) Source on GitHub @@ -10,72 +12,76 @@ Represents CSS resources public **__construct** (*string* $path, [*boolean* $local], [*boolean* $filter], [*array* $attributes]) -public **getType** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getType** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getPath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getPath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getLocal** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getLocal** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getFilter** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getFilter** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getAttributes** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getAttributes** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getSourcePath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getSourcePath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **getTargetPath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getTargetPath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **getTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's type -public **setPath** (*mixed* $path) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setPath** (*mixed* $path) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's path -public **setLocal** (*mixed* $local) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setLocal** (*mixed* $local) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets if the resource is local or external -public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets if the resource must be filtered or not -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets extra HTML attributes -public **setTargetUri** (*mixed* $targetUri) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setTargetUri** (*mixed* $targetUri) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets a target uri for the generated HTML -public **setSourcePath** (*mixed* $sourcePath) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setSourcePath** (*mixed* $sourcePath) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's source path -public **setTargetPath** (*mixed* $targetPath) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setTargetPath** (*mixed* $targetPath) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's target path -public **getContent** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getContent** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the content of the resource as an string Optionally a base path where the resource is located can be set -public **getRealTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the real target uri for the generated HTML -public **getRealSourcePath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealSourcePath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the complete location where the resource is located -public **getRealTargetPath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealTargetPath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) + +Returns the complete location where the resource must be written + +public **getResourceKey** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -Returns the complete location where the resource must be written \ No newline at end of file +Gets the resource's key. \ No newline at end of file diff --git a/hr/api/Phalcon_Assets_Resource_Js.md b/hr/api/Phalcon_Assets_Resource_Js.md index a4c132ff1ed1..2acc4d239b9d 100644 --- a/hr/api/Phalcon_Assets_Resource_Js.md +++ b/hr/api/Phalcon_Assets_Resource_Js.md @@ -1,6 +1,8 @@ # Class **Phalcon\\Assets\\Resource\\Js** -*extends* class [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +*extends* class [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) + +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) Source on GitHub @@ -10,72 +12,76 @@ Represents Javascript resources public **__construct** (*string* $path, [*boolean* $local], [*boolean* $filter], [*array* $attributes]) -public **getType** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getType** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getPath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getPath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getLocal** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getLocal** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getFilter** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getFilter** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getAttributes** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getAttributes** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getSourcePath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getSourcePath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **getTargetPath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getTargetPath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **getTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's type -public **setPath** (*mixed* $path) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setPath** (*mixed* $path) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's path -public **setLocal** (*mixed* $local) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setLocal** (*mixed* $local) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets if the resource is local or external -public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets if the resource must be filtered or not -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets extra HTML attributes -public **setTargetUri** (*mixed* $targetUri) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setTargetUri** (*mixed* $targetUri) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets a target uri for the generated HTML -public **setSourcePath** (*mixed* $sourcePath) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setSourcePath** (*mixed* $sourcePath) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's source path -public **setTargetPath** (*mixed* $targetPath) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setTargetPath** (*mixed* $targetPath) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's target path -public **getContent** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getContent** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the content of the resource as an string Optionally a base path where the resource is located can be set -public **getRealTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the real target uri for the generated HTML -public **getRealSourcePath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealSourcePath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the complete location where the resource is located -public **getRealTargetPath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealTargetPath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) + +Returns the complete location where the resource must be written + +public **getResourceKey** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -Returns the complete location where the resource must be written \ No newline at end of file +Gets the resource's key. \ No newline at end of file diff --git a/hr/api/Phalcon_Cache_Backend.md b/hr/api/Phalcon_Cache_Backend.md index f81ba2e57820..6e8b2e14bbff 100644 --- a/hr/api/Phalcon_Cache_Backend.md +++ b/hr/api/Phalcon_Cache_Backend.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Cache\\Backend** -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -32,7 +32,7 @@ public **setLastKey** (*mixed* $lastKey) ... -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend constructor @@ -56,22 +56,22 @@ public *int* **getLifetime** () Gets the last lifetime set -abstract public **get** (*mixed* $keyName, [*mixed* $lifetime]) inherited from [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +abstract public **get** (*mixed* $keyName, [*mixed* $lifetime]) inherited from [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) ... -abstract public **save** ([*mixed* $keyName], [*mixed* $content], [*mixed* $lifetime], [*mixed* $stopBuffer]) inherited from [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +abstract public **save** ([*mixed* $keyName], [*mixed* $content], [*mixed* $lifetime], [*mixed* $stopBuffer]) inherited from [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) ... -abstract public **delete** (*mixed* $keyName) inherited from [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +abstract public **delete** (*mixed* $keyName) inherited from [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) ... -abstract public **queryKeys** ([*mixed* $prefix]) inherited from [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +abstract public **queryKeys** ([*mixed* $prefix]) inherited from [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) ... -abstract public **exists** ([*mixed* $keyName], [*mixed* $lifetime]) inherited from [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +abstract public **exists** ([*mixed* $keyName], [*mixed* $lifetime]) inherited from [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) ... \ No newline at end of file diff --git a/hr/api/Phalcon_Cache_Backend_Apc.md b/hr/api/Phalcon_Cache_Backend_Apc.md index 6f08c1fef4b7..92b01c89d25a 100644 --- a/hr/api/Phalcon_Cache_Backend_Apc.md +++ b/hr/api/Phalcon_Cache_Backend_Apc.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Apc** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -94,50 +94,50 @@ $cache->flush(); ``` -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Phalcon\\Cache\\Backend constructor -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/hr/api/Phalcon_Cache_Backend_File.md b/hr/api/Phalcon_Cache_Backend_File.md index 78c3aff0e84c..3ea73b705889 100644 --- a/hr/api/Phalcon_Cache_Backend_File.md +++ b/hr/api/Phalcon_Cache_Backend_File.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\File** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -44,7 +44,7 @@ if ($content === null) { ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, *array* $options) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, *array* $options) Phalcon\\Cache\\Backend\\File constructor @@ -98,46 +98,46 @@ public **useSafeKey** (*mixed* $useSafeKey) Set whether to use the safekey or not -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/hr/api/Phalcon_Cache_Backend_Libmemcached.md b/hr/api/Phalcon_Cache_Backend_Libmemcached.md index 88948897b300..9ec4b031d82e 100644 --- a/hr/api/Phalcon_Cache_Backend_Libmemcached.md +++ b/hr/api/Phalcon_Cache_Backend_Libmemcached.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Libmemcached** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -49,7 +49,7 @@ $data = $cache->get("my-data"); ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend\\Memcache constructor @@ -116,46 +116,46 @@ $cache->flush(); ``` -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/hr/api/Phalcon_Cache_Backend_Memcache.md b/hr/api/Phalcon_Cache_Backend_Memcache.md index 7310592149b1..6f2575ca5c8d 100644 --- a/hr/api/Phalcon_Cache_Backend_Memcache.md +++ b/hr/api/Phalcon_Cache_Backend_Memcache.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Memcache** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -43,7 +43,7 @@ $data = $cache->get("my-data"); ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend\\Memcache constructor @@ -97,46 +97,46 @@ public **flush** () Immediately invalidates all existing items. -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/hr/api/Phalcon_Cache_Backend_Memory.md b/hr/api/Phalcon_Cache_Backend_Memory.md index 06a4216cf7ac..a269432ab9f3 100644 --- a/hr/api/Phalcon_Cache_Backend_Memory.md +++ b/hr/api/Phalcon_Cache_Backend_Memory.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Memory** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface), [Serializable](http://php.net/manual/en/class.serializable.php) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface), [Serializable](http://php.net/manual/en/class.serializable.php) Source on GitHub @@ -79,50 +79,50 @@ public **unserialize** (*mixed* $data) Required for interface \\Serializable -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Phalcon\\Cache\\Backend constructor -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/hr/api/Phalcon_Cache_Backend_Mongo.md b/hr/api/Phalcon_Cache_Backend_Mongo.md index 9ad0f67b530c..6421cd0f4f29 100644 --- a/hr/api/Phalcon_Cache_Backend_Mongo.md +++ b/hr/api/Phalcon_Cache_Backend_Mongo.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Mongo** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -44,7 +44,7 @@ $data = $cache->get("my-data"); ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend\\Mongo constructor @@ -98,46 +98,46 @@ public **flush** () Immediately invalidates all existing items. -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/hr/api/Phalcon_Cache_Backend_Redis.md b/hr/api/Phalcon_Cache_Backend_Redis.md index 123bf025f2af..a3509251d509 100644 --- a/hr/api/Phalcon_Cache_Backend_Redis.md +++ b/hr/api/Phalcon_Cache_Backend_Redis.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Redis** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -45,7 +45,7 @@ $data = $cache->get("my-data"); ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend\\Redis constructor @@ -105,46 +105,46 @@ public **flush** () Immediately invalidates all existing items. -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/hr/api/Phalcon_Cache_Backend_Xcache.md b/hr/api/Phalcon_Cache_Backend_Xcache.md index b91e75b19c79..7dac8215d5f3 100644 --- a/hr/api/Phalcon_Cache_Backend_Xcache.md +++ b/hr/api/Phalcon_Cache_Backend_Xcache.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Xcache** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -38,7 +38,7 @@ $data = $cache->get("my-data"); ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend\\Xcache constructor @@ -84,46 +84,46 @@ public **flush** () Immediately invalidates all existing items. -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/hr/api/Phalcon_Cache_Exception.md b/hr/api/Phalcon_Cache_Exception.md index cbb05a3a76e4..87f2372e7864 100644 --- a/hr/api/Phalcon_Cache_Exception.md +++ b/hr/api/Phalcon_Cache_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/hr/api/Phalcon_Cache_Frontend_Base64.md b/hr/api/Phalcon_Cache_Frontend_Base64.md index 92f36996b4b7..473895a88aa8 100644 --- a/hr/api/Phalcon_Cache_Frontend_Base64.md +++ b/hr/api/Phalcon_Cache_Frontend_Base64.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Frontend\\Base64** -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/hr/api/Phalcon_Cache_Frontend_Data.md b/hr/api/Phalcon_Cache_Frontend_Data.md index f46469ab7410..1f249be7103c 100644 --- a/hr/api/Phalcon_Cache_Frontend_Data.md +++ b/hr/api/Phalcon_Cache_Frontend_Data.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Frontend\\Data** -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/hr/api/Phalcon_Cache_Frontend_Igbinary.md b/hr/api/Phalcon_Cache_Frontend_Igbinary.md index 1460a42ce867..714a96bb4de1 100644 --- a/hr/api/Phalcon_Cache_Frontend_Igbinary.md +++ b/hr/api/Phalcon_Cache_Frontend_Igbinary.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Frontend\\Igbinary** -*extends* class [Phalcon\Cache\Frontend\Data](/en/3.1.2/api/Phalcon_Cache_Frontend_Data) +*extends* class [Phalcon\Cache\Frontend\Data](/en/3.2/api/Phalcon_Cache_Frontend_Data) -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/hr/api/Phalcon_Cache_Frontend_Json.md b/hr/api/Phalcon_Cache_Frontend_Json.md index 64a296ca976f..bfe39cdc53c4 100644 --- a/hr/api/Phalcon_Cache_Frontend_Json.md +++ b/hr/api/Phalcon_Cache_Frontend_Json.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Frontend\\Json** -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/hr/api/Phalcon_Cache_Frontend_Msgpack.md b/hr/api/Phalcon_Cache_Frontend_Msgpack.md index f77a99a21168..857b40d4bbdc 100644 --- a/hr/api/Phalcon_Cache_Frontend_Msgpack.md +++ b/hr/api/Phalcon_Cache_Frontend_Msgpack.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Frontend\\Msgpack** -*extends* class [Phalcon\Cache\Frontend\Data](/en/3.1.2/api/Phalcon_Cache_Frontend_Data) +*extends* class [Phalcon\Cache\Frontend\Data](/en/3.2/api/Phalcon_Cache_Frontend_Data) -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/hr/api/Phalcon_Cache_Frontend_None.md b/hr/api/Phalcon_Cache_Frontend_None.md index 521fcd02f344..bdc0af2d4135 100644 --- a/hr/api/Phalcon_Cache_Frontend_None.md +++ b/hr/api/Phalcon_Cache_Frontend_None.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Frontend\\None** -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/hr/api/Phalcon_Cache_Frontend_Output.md b/hr/api/Phalcon_Cache_Frontend_Output.md index 8421c02f1276..c6a0543703d6 100644 --- a/hr/api/Phalcon_Cache_Frontend_Output.md +++ b/hr/api/Phalcon_Cache_Frontend_Output.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Frontend\\Output** -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/hr/api/Phalcon_Cache_Multiple.md b/hr/api/Phalcon_Cache_Multiple.md index bbfa61a13274..1d9fd1365aa9 100644 --- a/hr/api/Phalcon_Cache_Multiple.md +++ b/hr/api/Phalcon_Cache_Multiple.md @@ -65,11 +65,11 @@ $cache->save("my-key", $data); ## Methods -public **__construct** ([[Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface[]) $backends]) +public **__construct** ([[Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface[]) $backends]) Phalcon\\Cache\\Multiple constructor -public **push** ([Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) $backend) +public **push** ([Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) $backend) Adds a backend diff --git a/hr/api/Phalcon_Cli_Console.md b/hr/api/Phalcon_Cli_Console.md index c769b7ad7659..f0337bf3f1ec 100644 --- a/hr/api/Phalcon_Cli_Console.md +++ b/hr/api/Phalcon_Cli_Console.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cli\\Console** -*extends* abstract class [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +*extends* abstract class [Phalcon\Application](/en/3.2/api/Phalcon_Application) -*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -36,19 +36,19 @@ public **setArgument** ([*array* $arguments], [*mixed* $str], [*mixed* $shift]) Set an specific argument -public **__construct** ([[Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector]) inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **__construct** ([[Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector]) inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Phalcon\\Application -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Sets the events manager -public **getEventsManager** () inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **getEventsManager** () inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Returns the internal event manager -public **registerModules** (*array* $modules, [*mixed* $merge]) inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **registerModules** (*array* $modules, [*mixed* $merge]) inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Register an array of modules present in the application @@ -70,30 +70,30 @@ $this->registerModules( ``` -public **getModules** () inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **getModules** () inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Return the modules registered in the application -public **getModule** (*mixed* $name) inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **getModule** (*mixed* $name) inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Gets the module definition registered in the application via module name -public **setDefaultModule** (*mixed* $defaultModule) inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **setDefaultModule** (*mixed* $defaultModule) inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Sets the module name to be used if the router doesn't return a valid module -public **getDefaultModule** () inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **getDefaultModule** () inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Returns the default module name -public **setDI** ([Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **setDI** ([Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Sets the dependency injector -public **getDI** () inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **getDI** () inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Returns the internal dependency injector -public **__get** (*mixed* $propertyName) inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **__get** (*mixed* $propertyName) inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Magic method __get \ No newline at end of file diff --git a/hr/api/Phalcon_Cli_Console_Exception.md b/hr/api/Phalcon_Cli_Console_Exception.md index 64a6f1f9162a..e7bfea5dbde1 100644 --- a/hr/api/Phalcon_Cli_Console_Exception.md +++ b/hr/api/Phalcon_Cli_Console_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cli\\Console\\Exception** -*extends* class [Phalcon\Application\Exception](/en/3.1.2/api/Phalcon_Application_Exception) +*extends* class [Phalcon\Application\Exception](/en/3.2/api/Phalcon_Application_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/hr/api/Phalcon_Cli_Dispatcher.md b/hr/api/Phalcon_Cli_Dispatcher.md index 7b91f5c9f537..f03b7c7c61ac 100644 --- a/hr/api/Phalcon_Cli_Dispatcher.md +++ b/hr/api/Phalcon_Cli_Dispatcher.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cli\\Dispatcher** -*extends* abstract class [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +*extends* abstract class [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) -*implements* [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface), [Phalcon\Cli\DispatcherInterface](/en/3.1.2/api/Phalcon_Cli_DispatcherInterface) +*implements* [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface), [Phalcon\Cli\DispatcherInterface](/en/3.2/api/Phalcon_Cli_DispatcherInterface) Source on GitHub @@ -11,10 +11,11 @@ Dispatching is the process of taking the command-line arguments, extracting the ```php setDi($di); $dispatcher->setTaskName("posts"); @@ -81,107 +82,115 @@ public **getOptions** () Get dispatched options +public **getOption** (*mixed* $option, [*string* | *array* $filters], [*mixed* $defaultValue]) + +Gets an option by its name or numeric index + +public **hasOption** (*mixed* $option) + +Check if an option exists + public **callActionMethod** (*mixed* $handler, *mixed* $actionMethod, [*array* $params]) -... +Calls the action method. -public **setDI** ([Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setDI** ([Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the dependency injector -public **getDI** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getDI** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns the internal dependency injector -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the events manager -public **getEventsManager** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getEventsManager** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns the internal event manager -public **setActionSuffix** (*mixed* $actionSuffix) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setActionSuffix** (*mixed* $actionSuffix) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the default action suffix -public **getActionSuffix** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getActionSuffix** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets the default action suffix -public **setModuleName** (*mixed* $moduleName) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setModuleName** (*mixed* $moduleName) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the module where the controller is (only informative) -public **getModuleName** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getModuleName** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets the module where the controller class is -public **setNamespaceName** (*mixed* $namespaceName) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setNamespaceName** (*mixed* $namespaceName) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the namespace where the controller class is -public **getNamespaceName** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getNamespaceName** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets a namespace to be prepended to the current handler name -public **setDefaultNamespace** (*mixed* $namespaceName) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setDefaultNamespace** (*mixed* $namespaceName) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the default namespace -public **getDefaultNamespace** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getDefaultNamespace** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns the default namespace -public **setDefaultAction** (*mixed* $actionName) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setDefaultAction** (*mixed* $actionName) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the default action name -public **setActionName** (*mixed* $actionName) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setActionName** (*mixed* $actionName) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the action name to be dispatched -public **getActionName** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getActionName** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets the latest dispatched action name -public **setParams** (*array* $params) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setParams** (*array* $params) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets action params to be dispatched -public **getParams** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getParams** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets action params -public **setParam** (*mixed* $param, *mixed* $value) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setParam** (*mixed* $param, *mixed* $value) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Set a param by its name or numeric index -public *mixed* **getParam** (*mixed* $param, [*string* | *array* $filters], [*mixed* $defaultValue]) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public *mixed* **getParam** (*mixed* $param, [*string* | *array* $filters], [*mixed* $defaultValue]) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets a param by its name or numeric index -public *boolean* **hasParam** (*mixed* $param) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public *boolean* **hasParam** (*mixed* $param) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Check if a param exists -public **getActiveMethod** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getActiveMethod** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns the current method to be/executed in the dispatcher -public **isFinished** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **isFinished** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Checks if the dispatch loop is finished or has more pendent controllers/tasks to dispatch -public **setReturnedValue** (*mixed* $value) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setReturnedValue** (*mixed* $value) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the latest returned value by an action manually -public *mixed* **getReturnedValue** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public *mixed* **getReturnedValue** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns value returned by the latest dispatched action -public **setModelBinding** (*mixed* $value, [*mixed* $cache]) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setModelBinding** (*mixed* $value, [*mixed* $cache]) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Enable/Disable model binding during dispatch @@ -197,7 +206,7 @@ $di->set('dispatcher', function() { ``` -public **setModelBinder** ([Phalcon\Mvc\Model\BinderInterface](/en/3.1.2/api/Phalcon_Mvc_Model_BinderInterface) $modelBinder, [*mixed* $cache]) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setModelBinder** ([Phalcon\Mvc\Model\BinderInterface](/en/3.2/api/Phalcon_Mvc_Model_BinderInterface) $modelBinder, [*mixed* $cache]) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Enable model binding during dispatch @@ -213,21 +222,21 @@ $di->set('dispatcher', function() { ``` -public **getModelBinder** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getModelBinder** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets model binder -public *object* **dispatch** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public *object* **dispatch** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Dispatches a handle action taking into account the routing parameters -protected *object* **_dispatch** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +protected *object* **_dispatch** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Dispatches a handle action taking into account the routing parameters -public **forward** (*array* $forward) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **forward** (*array* $forward) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) -Forwards the execution flow to another controller/action Dispatchers are unique per module. Forwarding between modules is not allowed +Forwards the execution flow to another controller/action. ```php dispatcher->forward( ``` -public **wasForwarded** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **wasForwarded** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Check if the current executed action was forwarded by another one -public **getHandlerClass** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getHandlerClass** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Possible class name that will be located to dispatch the request -public **getBoundModels** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getBoundModels** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns bound models from binder instance @@ -266,6 +275,6 @@ class UserController extends Controller ``` -protected **_resolveEmptyProperties** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +protected **_resolveEmptyProperties** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Set empty properties to their defaults (where defaults are available) \ No newline at end of file diff --git a/hr/api/Phalcon_Cli_DispatcherInterface.md b/hr/api/Phalcon_Cli_DispatcherInterface.md index 58914bf4b682..78f4d7b40c9c 100644 --- a/hr/api/Phalcon_Cli_DispatcherInterface.md +++ b/hr/api/Phalcon_Cli_DispatcherInterface.md @@ -1,6 +1,6 @@ # Interface **Phalcon\\Cli\\DispatcherInterface** -*implements* [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +*implements* [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) Source on GitHub @@ -30,70 +30,70 @@ abstract public **getActiveTask** () ... -abstract public **setActionSuffix** (*mixed* $actionSuffix) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setActionSuffix** (*mixed* $actionSuffix) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **getActionSuffix** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **getActionSuffix** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setDefaultNamespace** (*mixed* $defaultNamespace) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setDefaultNamespace** (*mixed* $defaultNamespace) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setDefaultAction** (*mixed* $actionName) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setDefaultAction** (*mixed* $actionName) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setNamespaceName** (*mixed* $namespaceName) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setNamespaceName** (*mixed* $namespaceName) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setModuleName** (*mixed* $moduleName) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setModuleName** (*mixed* $moduleName) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setActionName** (*mixed* $actionName) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setActionName** (*mixed* $actionName) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **getActionName** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **getActionName** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setParams** (*mixed* $params) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setParams** (*mixed* $params) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **getParams** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **getParams** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setParam** (*mixed* $param, *mixed* $value) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setParam** (*mixed* $param, *mixed* $value) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **getParam** (*mixed* $param, [*mixed* $filters]) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **getParam** (*mixed* $param, [*mixed* $filters]) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **hasParam** (*mixed* $param) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **hasParam** (*mixed* $param) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **isFinished** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **isFinished** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **getReturnedValue** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **getReturnedValue** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **dispatch** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **dispatch** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **forward** (*mixed* $forward) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **forward** (*mixed* $forward) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... \ No newline at end of file diff --git a/hr/api/Phalcon_Cli_Dispatcher_Exception.md b/hr/api/Phalcon_Cli_Dispatcher_Exception.md index 0eeb05860d89..fbd0a6c4292d 100644 --- a/hr/api/Phalcon_Cli_Dispatcher_Exception.md +++ b/hr/api/Phalcon_Cli_Dispatcher_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cli\\Dispatcher\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/hr/api/Phalcon_Cli_Router.md b/hr/api/Phalcon_Cli_Router.md index d2cb10a44276..5a0943627b36 100644 --- a/hr/api/Phalcon_Cli_Router.md +++ b/hr/api/Phalcon_Cli_Router.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cli\\Router** -*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface) +*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface) Source on GitHub @@ -29,7 +29,7 @@ public **__construct** ([*mixed* $defaultRoutes]) Phalcon\\Cli\\Router constructor -public **setDI** ([Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector) +public **setDI** ([Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector) Sets the dependency injector @@ -69,7 +69,7 @@ public **handle** ([*array* $arguments]) Handles routing information received from command-line arguments -public [Phalcon\Cli\Router\Route](/en/3.1.2/api/Phalcon_Cli_Router_Route) **add** (*string* $pattern, [*string/array* $paths]) +public [Phalcon\Cli\Router\Route](/en/3.2/api/Phalcon_Cli_Router_Route) **add** (*string* $pattern, [*string/array* $paths]) Adds a route to the router @@ -112,7 +112,7 @@ public **getRoutes** () Returns all the routes defined in the router -public [Phalcon\Cli\Router\Route](/en/3.1.2/api/Phalcon_Cli_Router_Route) **getRouteById** (*int* $id) +public [Phalcon\Cli\Router\Route](/en/3.2/api/Phalcon_Cli_Router_Route) **getRouteById** (*int* $id) Returns a route object by its id diff --git a/hr/api/Phalcon_Cli_Router_Exception.md b/hr/api/Phalcon_Cli_Router_Exception.md index ebd81a411422..e063b3861132 100644 --- a/hr/api/Phalcon_Cli_Router_Exception.md +++ b/hr/api/Phalcon_Cli_Router_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cli\\Router\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/hr/api/Phalcon_Db_Adapter.md b/hr/api/Phalcon_Db_Adapter.md index c1deaded19cd..a5d397a98c83 100644 --- a/hr/api/Phalcon_Db_Adapter.md +++ b/hr/api/Phalcon_Db_Adapter.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Db\\Adapter** -*implements* [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -24,7 +24,7 @@ public **__construct** (*array* $descriptor) Phalcon\\Db\\Adapter constructor -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) Sets the event manager @@ -32,7 +32,7 @@ public **getEventsManager** () Returns the internal event manager -public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) $dialect) +public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) $dialect) Sets the dialect used to produce the SQL @@ -309,11 +309,11 @@ public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExist Drops a view -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Adds a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) Modifies a table column based on a definition @@ -321,7 +321,7 @@ public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnN Drops a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Adds an index to a table @@ -329,7 +329,7 @@ public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexNam Drop an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Adds a primary key to a table @@ -337,7 +337,7 @@ public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) Drops a table's primary key -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) Adds a foreign key to a table @@ -345,7 +345,7 @@ public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $ref Drops a foreign key from a table -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Returns the SQL column definition from a column @@ -375,7 +375,7 @@ print_r( ``` -public [Phalcon\Db\Index](/en/3.1.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) +public [Phalcon\Db\Index](/en/3.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) Lists table indexes @@ -512,54 +512,54 @@ public *array* **getSQLBindTypes** () Active SQL statement in the object -abstract public **connect** ([*array* $descriptor]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **connect** ([*array* $descriptor]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **query** (*mixed* $sqlStatement, [*mixed* $placeholders], [*mixed* $dataTypes]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **query** (*mixed* $sqlStatement, [*mixed* $placeholders], [*mixed* $dataTypes]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **execute** (*mixed* $sqlStatement, [*mixed* $placeholders], [*mixed* $dataTypes]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **execute** (*mixed* $sqlStatement, [*mixed* $placeholders], [*mixed* $dataTypes]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **affectedRows** () inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **affectedRows** () inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **close** () inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **close** () inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **lastInsertId** ([*mixed* $sequenceName]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **lastInsertId** ([*mixed* $sequenceName]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **isUnderTransaction** () inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **isUnderTransaction** () inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **getInternalHandler** () inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **getInternalHandler** () inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... \ No newline at end of file diff --git a/hr/api/Phalcon_Db_AdapterInterface.md b/hr/api/Phalcon_Db_AdapterInterface.md index 2b9bec9a2acd..4c6a8f54b3f1 100644 --- a/hr/api/Phalcon_Db_AdapterInterface.md +++ b/hr/api/Phalcon_Db_AdapterInterface.md @@ -64,11 +64,11 @@ abstract public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* ... -abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) ... -abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) ... @@ -76,7 +76,7 @@ abstract public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* ... -abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) ... @@ -84,7 +84,7 @@ abstract public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* ... -abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) ... @@ -92,7 +92,7 @@ abstract public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) ... -abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) ... @@ -100,7 +100,7 @@ abstract public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mi ... -abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) ... diff --git a/hr/api/Phalcon_Db_Adapter_Pdo.md b/hr/api/Phalcon_Db_Adapter_Pdo.md index 44de7d9e6e1f..c23a014e3d58 100644 --- a/hr/api/Phalcon_Db_Adapter_Pdo.md +++ b/hr/api/Phalcon_Db_Adapter_Pdo.md @@ -1,8 +1,8 @@ # Abstract class **Phalcon\\Db\\Adapter\\Pdo** -*extends* abstract class [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +*extends* abstract class [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) -*implements* [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +*implements* [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) Source on GitHub @@ -262,35 +262,35 @@ public *array* **getErrorInfo** () Return the error info, if any -public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Name of the dialect used -public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Type of database system the adapter is used for -public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL bound parameter variables -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the event manager -public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the internal event manager -public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the dialect used to produce the SQL -public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns internal dialect instance -public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the first row in a SQL query result @@ -307,7 +307,7 @@ print_r($robot); ``` -public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Dumps the complete result of a query into an array @@ -338,7 +338,7 @@ foreach($robots as $robot) { ``` -public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the n'th field of first row in a SQL query result @@ -358,7 +358,7 @@ print_r($robot); ``` -public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RDBMS SQL syntax @@ -377,7 +377,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RBDM SQL syntax @@ -398,7 +398,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax @@ -435,7 +435,7 @@ $success = $connection->update( Warning! If $whereCondition is string it not escaped. -public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax Another, more convenient syntax @@ -456,7 +456,7 @@ UPDATE `robots` SET `name` = "Astro boy" WHERE id = 101 ``` -public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Deletes data from a table using custom RBDM SQL syntax @@ -474,7 +474,7 @@ DELETE FROM `robots` WHERE `id` = 101 ``` -public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Escapes a column/table/schema name @@ -494,11 +494,11 @@ $escapedTable = $connection->escapeIdentifier( ``` -public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets a list of columns -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Appends a LIMIT clause to $sqlQuery argument @@ -509,7 +509,7 @@ echo $connection->limit("SELECT * FROM robots", 5); ``` -public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.table @@ -522,7 +522,7 @@ var_dump( ``` -public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.view @@ -535,71 +535,71 @@ var_dump( ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a FOR UPDATE clause -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a LOCK IN SHARE MODE clause -public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a table -public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table from a schema/database -public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a view -public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a view -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Modifies a table column based on a definition -public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds an index to a table -public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drop an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a primary key to a table -public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table's primary key -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a foreign key to a table -public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a foreign key from a table -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the SQL column definition from a column -public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all tables on a database @@ -612,7 +612,7 @@ print_r( ``` -public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all views on a database @@ -625,7 +625,7 @@ print_r( ``` -public [Phalcon\Db\Index](/en/3.1.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public [Phalcon\Db\Index](/en/3.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Lists table indexes @@ -638,7 +638,7 @@ print_r( ``` -public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Lists table references @@ -651,7 +651,7 @@ print_r( ``` -public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets creation options from a table @@ -664,31 +664,31 @@ print_r( ``` -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Releases given savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Rollbacks given savepoint -public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Set if nested transactions should use savepoints -public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns if nested transactions should use savepoints -public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the savepoint name to use for nested transactions -public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default identity value to be inserted in an identity column @@ -712,7 +712,7 @@ $success = $connection->insert( ``` -public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default value to make the RBDM use the default value declared in the table definition @@ -734,34 +734,34 @@ $success = $connection->insert( ``` -public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Check whether the database system requires a sequence to produce auto-numeric values -public **useExplicitIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **useExplicitIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Check whether the database system requires an explicit value for identity columns -public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Return descriptor used to connect to the active database -public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets the active connection unique identifier -public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object -public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object without replace bound parameters -public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object -abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... \ No newline at end of file diff --git a/hr/api/Phalcon_Db_Adapter_Pdo_Mysql.md b/hr/api/Phalcon_Db_Adapter_Pdo_Mysql.md index fe17030fddcf..5013bf0def80 100644 --- a/hr/api/Phalcon_Db_Adapter_Pdo_Mysql.md +++ b/hr/api/Phalcon_Db_Adapter_Pdo_Mysql.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Adapter\\Pdo\\Mysql** -*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) -*implements* [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -40,7 +40,7 @@ print_r( ``` -public [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface[]) **describeIndexes** (*string* $table, [*string* $schema]) +public [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface[]) **describeIndexes** (*string* $table, [*string* $schema]) Lists table indexes @@ -66,11 +66,11 @@ print_r( ``` -public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Constructor for Phalcon\\Db\\Adapter\\Pdo -public **connect** ([*array* $descriptor]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **connect** ([*array* $descriptor]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) This method is automatically called in \\Phalcon\\Db\\Adapter\\Pdo constructor. Call it when you need to restore a database connection. @@ -95,7 +95,7 @@ $connection->connect(); ``` -public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns a PDO prepared statement to be executed with 'executePrepared' @@ -120,7 +120,7 @@ $result = $connection->executePrepared( ``` -public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Executes a prepared statement binding. This function uses integer indexes starting from zero @@ -145,7 +145,7 @@ $result = $connection->executePrepared( ``` -public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server is returning rows @@ -166,7 +166,7 @@ $resultset = $connection->query( ``` -public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server doesn't return any rows @@ -188,7 +188,7 @@ $success = $connection->execute( ``` -public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the number of affected rows by the latest INSERT/UPDATE/DELETE executed in the database system @@ -203,11 +203,11 @@ echo $connection->affectedRows(), " were deleted"; ``` -public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Closes the active connection returning success. Phalcon automatically closes and destroys active connections when the request ends -public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Escapes a value to avoid SQL injections according to the active charset in the connection @@ -218,7 +218,7 @@ $escapedStr = $connection->escapeString("some dangerous value"); ``` -public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Converts bound parameters such as :name: or ?1 into PDO bind params ? @@ -236,7 +236,7 @@ print_r( ``` -public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the insert id for the auto_increment/serial column inserted in the latest executed SQL statement @@ -261,23 +261,23 @@ $id = $connection->lastInsertId(); ``` -public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Starts a transaction in the connection -public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Rollbacks the active transaction in the connection -public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Commits the active transaction in the connection -public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the current transaction nesting level -public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Checks whether the connection is under a transaction @@ -293,43 +293,43 @@ var_dump( ``` -public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return internal PDO handler -public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return the error info, if any -public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Name of the dialect used -public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Type of database system the adapter is used for -public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL bound parameter variables -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the event manager -public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the internal event manager -public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the dialect used to produce the SQL -public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns internal dialect instance -public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the first row in a SQL query result @@ -346,7 +346,7 @@ print_r($robot); ``` -public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Dumps the complete result of a query into an array @@ -377,7 +377,7 @@ foreach($robots as $robot) { ``` -public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the n'th field of first row in a SQL query result @@ -397,7 +397,7 @@ print_r($robot); ``` -public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RDBMS SQL syntax @@ -416,7 +416,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RBDM SQL syntax @@ -437,7 +437,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax @@ -474,7 +474,7 @@ $success = $connection->update( Warning! If $whereCondition is string it not escaped. -public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax Another, more convenient syntax @@ -495,7 +495,7 @@ UPDATE `robots` SET `name` = "Astro boy" WHERE id = 101 ``` -public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Deletes data from a table using custom RBDM SQL syntax @@ -513,7 +513,7 @@ DELETE FROM `robots` WHERE `id` = 101 ``` -public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Escapes a column/table/schema name @@ -533,11 +533,11 @@ $escapedTable = $connection->escapeIdentifier( ``` -public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets a list of columns -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Appends a LIMIT clause to $sqlQuery argument @@ -548,7 +548,7 @@ echo $connection->limit("SELECT * FROM robots", 5); ``` -public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.table @@ -561,7 +561,7 @@ var_dump( ``` -public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.view @@ -574,71 +574,71 @@ var_dump( ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a FOR UPDATE clause -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a LOCK IN SHARE MODE clause -public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a table -public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table from a schema/database -public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a view -public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a view -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Modifies a table column based on a definition -public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds an index to a table -public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drop an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a primary key to a table -public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table's primary key -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a foreign key to a table -public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a foreign key from a table -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the SQL column definition from a column -public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all tables on a database @@ -651,7 +651,7 @@ print_r( ``` -public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all views on a database @@ -664,7 +664,7 @@ print_r( ``` -public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets creation options from a table @@ -677,31 +677,31 @@ print_r( ``` -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Releases given savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Rollbacks given savepoint -public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Set if nested transactions should use savepoints -public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns if nested transactions should use savepoints -public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the savepoint name to use for nested transactions -public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default identity value to be inserted in an identity column @@ -725,7 +725,7 @@ $success = $connection->insert( ``` -public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default value to make the RBDM use the default value declared in the table definition @@ -747,30 +747,30 @@ $success = $connection->insert( ``` -public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Check whether the database system requires a sequence to produce auto-numeric values -public **useExplicitIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **useExplicitIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Check whether the database system requires an explicit value for identity columns -public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Return descriptor used to connect to the active database -public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets the active connection unique identifier -public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object -public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object without replace bound parameters -public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object \ No newline at end of file diff --git a/hr/api/Phalcon_Db_Adapter_Pdo_Postgresql.md b/hr/api/Phalcon_Db_Adapter_Pdo_Postgresql.md index c7f35273d52a..9a66f69a4ec1 100644 --- a/hr/api/Phalcon_Db_Adapter_Pdo_Postgresql.md +++ b/hr/api/Phalcon_Db_Adapter_Pdo_Postgresql.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Adapter\\Pdo\\Postgresql** -*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) -*implements* [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -48,7 +48,7 @@ public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $defini Creates a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) Modifies a table column based on a definition @@ -84,11 +84,11 @@ public **supportSequences** () Check whether the database system requires a sequence to produce auto-numeric values -public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Constructor for Phalcon\\Db\\Adapter\\Pdo -public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns a PDO prepared statement to be executed with 'executePrepared' @@ -113,7 +113,7 @@ $result = $connection->executePrepared( ``` -public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Executes a prepared statement binding. This function uses integer indexes starting from zero @@ -138,7 +138,7 @@ $result = $connection->executePrepared( ``` -public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server is returning rows @@ -159,7 +159,7 @@ $resultset = $connection->query( ``` -public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server doesn't return any rows @@ -181,7 +181,7 @@ $success = $connection->execute( ``` -public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the number of affected rows by the latest INSERT/UPDATE/DELETE executed in the database system @@ -196,11 +196,11 @@ echo $connection->affectedRows(), " were deleted"; ``` -public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Closes the active connection returning success. Phalcon automatically closes and destroys active connections when the request ends -public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Escapes a value to avoid SQL injections according to the active charset in the connection @@ -211,7 +211,7 @@ $escapedStr = $connection->escapeString("some dangerous value"); ``` -public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Converts bound parameters such as :name: or ?1 into PDO bind params ? @@ -229,7 +229,7 @@ print_r( ``` -public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the insert id for the auto_increment/serial column inserted in the latest executed SQL statement @@ -254,23 +254,23 @@ $id = $connection->lastInsertId(); ``` -public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Starts a transaction in the connection -public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Rollbacks the active transaction in the connection -public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Commits the active transaction in the connection -public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the current transaction nesting level -public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Checks whether the connection is under a transaction @@ -286,43 +286,43 @@ var_dump( ``` -public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return internal PDO handler -public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return the error info, if any -public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Name of the dialect used -public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Type of database system the adapter is used for -public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL bound parameter variables -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the event manager -public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the internal event manager -public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the dialect used to produce the SQL -public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns internal dialect instance -public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the first row in a SQL query result @@ -339,7 +339,7 @@ print_r($robot); ``` -public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Dumps the complete result of a query into an array @@ -370,7 +370,7 @@ foreach($robots as $robot) { ``` -public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the n'th field of first row in a SQL query result @@ -390,7 +390,7 @@ print_r($robot); ``` -public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RDBMS SQL syntax @@ -409,7 +409,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RBDM SQL syntax @@ -430,7 +430,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax @@ -467,7 +467,7 @@ $success = $connection->update( Warning! If $whereCondition is string it not escaped. -public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax Another, more convenient syntax @@ -488,7 +488,7 @@ UPDATE `robots` SET `name` = "Astro boy" WHERE id = 101 ``` -public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Deletes data from a table using custom RBDM SQL syntax @@ -506,7 +506,7 @@ DELETE FROM `robots` WHERE `id` = 101 ``` -public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Escapes a column/table/schema name @@ -526,11 +526,11 @@ $escapedTable = $connection->escapeIdentifier( ``` -public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets a list of columns -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Appends a LIMIT clause to $sqlQuery argument @@ -541,7 +541,7 @@ echo $connection->limit("SELECT * FROM robots", 5); ``` -public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.table @@ -554,7 +554,7 @@ var_dump( ``` -public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.view @@ -567,63 +567,63 @@ var_dump( ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a FOR UPDATE clause -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a LOCK IN SHARE MODE clause -public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table from a schema/database -public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a view -public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a view -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a column to a table -public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds an index to a table -public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drop an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a primary key to a table -public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table's primary key -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a foreign key to a table -public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a foreign key from a table -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the SQL column definition from a column -public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all tables on a database @@ -636,7 +636,7 @@ print_r( ``` -public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all views on a database @@ -649,7 +649,7 @@ print_r( ``` -public [Phalcon\Db\Index](/en/3.1.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public [Phalcon\Db\Index](/en/3.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Lists table indexes @@ -662,7 +662,7 @@ print_r( ``` -public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Lists table references @@ -675,7 +675,7 @@ print_r( ``` -public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets creation options from a table @@ -688,31 +688,31 @@ print_r( ``` -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Releases given savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Rollbacks given savepoint -public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Set if nested transactions should use savepoints -public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns if nested transactions should use savepoints -public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the savepoint name to use for nested transactions -public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default value to make the RBDM use the default value declared in the table definition @@ -734,22 +734,22 @@ $success = $connection->insert( ``` -public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Return descriptor used to connect to the active database -public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets the active connection unique identifier -public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object -public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object without replace bound parameters -public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object \ No newline at end of file diff --git a/hr/api/Phalcon_Db_Adapter_Pdo_Sqlite.md b/hr/api/Phalcon_Db_Adapter_Pdo_Sqlite.md index 1f92cfbfc6bd..a568c933ce4a 100644 --- a/hr/api/Phalcon_Db_Adapter_Pdo_Sqlite.md +++ b/hr/api/Phalcon_Db_Adapter_Pdo_Sqlite.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Adapter\\Pdo\\Sqlite** -*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) -*implements* [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -40,7 +40,7 @@ print_r( ``` -public [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface[]) **describeIndexes** (*string* $table, [*string* $schema]) +public [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface[]) **describeIndexes** (*string* $table, [*string* $schema]) Lists table indexes @@ -53,7 +53,7 @@ print_r( ``` -public [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface[]) **describeReferences** (*string* $table, [*string* $schema]) +public [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface[]) **describeReferences** (*string* $table, [*string* $schema]) Lists table references @@ -83,11 +83,11 @@ $success = $connection->insert( ``` -public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Constructor for Phalcon\\Db\\Adapter\\Pdo -public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns a PDO prepared statement to be executed with 'executePrepared' @@ -112,7 +112,7 @@ $result = $connection->executePrepared( ``` -public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Executes a prepared statement binding. This function uses integer indexes starting from zero @@ -137,7 +137,7 @@ $result = $connection->executePrepared( ``` -public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server is returning rows @@ -158,7 +158,7 @@ $resultset = $connection->query( ``` -public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server doesn't return any rows @@ -180,7 +180,7 @@ $success = $connection->execute( ``` -public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the number of affected rows by the latest INSERT/UPDATE/DELETE executed in the database system @@ -195,11 +195,11 @@ echo $connection->affectedRows(), " were deleted"; ``` -public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Closes the active connection returning success. Phalcon automatically closes and destroys active connections when the request ends -public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Escapes a value to avoid SQL injections according to the active charset in the connection @@ -210,7 +210,7 @@ $escapedStr = $connection->escapeString("some dangerous value"); ``` -public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Converts bound parameters such as :name: or ?1 into PDO bind params ? @@ -228,7 +228,7 @@ print_r( ``` -public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the insert id for the auto_increment/serial column inserted in the latest executed SQL statement @@ -253,23 +253,23 @@ $id = $connection->lastInsertId(); ``` -public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Starts a transaction in the connection -public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Rollbacks the active transaction in the connection -public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Commits the active transaction in the connection -public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the current transaction nesting level -public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Checks whether the connection is under a transaction @@ -285,43 +285,43 @@ var_dump( ``` -public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return internal PDO handler -public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return the error info, if any -public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Name of the dialect used -public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Type of database system the adapter is used for -public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL bound parameter variables -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the event manager -public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the internal event manager -public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the dialect used to produce the SQL -public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns internal dialect instance -public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the first row in a SQL query result @@ -338,7 +338,7 @@ print_r($robot); ``` -public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Dumps the complete result of a query into an array @@ -369,7 +369,7 @@ foreach($robots as $robot) { ``` -public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the n'th field of first row in a SQL query result @@ -389,7 +389,7 @@ print_r($robot); ``` -public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RDBMS SQL syntax @@ -408,7 +408,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RBDM SQL syntax @@ -429,7 +429,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax @@ -466,7 +466,7 @@ $success = $connection->update( Warning! If $whereCondition is string it not escaped. -public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax Another, more convenient syntax @@ -487,7 +487,7 @@ UPDATE `robots` SET `name` = "Astro boy" WHERE id = 101 ``` -public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Deletes data from a table using custom RBDM SQL syntax @@ -505,7 +505,7 @@ DELETE FROM `robots` WHERE `id` = 101 ``` -public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Escapes a column/table/schema name @@ -525,11 +525,11 @@ $escapedTable = $connection->escapeIdentifier( ``` -public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets a list of columns -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Appends a LIMIT clause to $sqlQuery argument @@ -540,7 +540,7 @@ echo $connection->limit("SELECT * FROM robots", 5); ``` -public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.table @@ -553,7 +553,7 @@ var_dump( ``` -public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.view @@ -566,71 +566,71 @@ var_dump( ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a FOR UPDATE clause -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a LOCK IN SHARE MODE clause -public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a table -public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table from a schema/database -public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a view -public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a view -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Modifies a table column based on a definition -public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds an index to a table -public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drop an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a primary key to a table -public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table's primary key -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a foreign key to a table -public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a foreign key from a table -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the SQL column definition from a column -public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all tables on a database @@ -643,7 +643,7 @@ print_r( ``` -public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all views on a database @@ -656,7 +656,7 @@ print_r( ``` -public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets creation options from a table @@ -669,31 +669,31 @@ print_r( ``` -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Releases given savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Rollbacks given savepoint -public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Set if nested transactions should use savepoints -public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns if nested transactions should use savepoints -public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the savepoint name to use for nested transactions -public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default identity value to be inserted in an identity column @@ -717,26 +717,26 @@ $success = $connection->insert( ``` -public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Check whether the database system requires a sequence to produce auto-numeric values -public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Return descriptor used to connect to the active database -public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets the active connection unique identifier -public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object -public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object without replace bound parameters -public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object \ No newline at end of file diff --git a/hr/api/Phalcon_Db_Column.md b/hr/api/Phalcon_Db_Column.md index ab2fdfb7a40e..fe0210a2b411 100644 --- a/hr/api/Phalcon_Db_Column.md +++ b/hr/api/Phalcon_Db_Column.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Db\\Column** -*implements* [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) +*implements* [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) Source on GitHub diff --git a/hr/api/Phalcon_Db_Dialect.md b/hr/api/Phalcon_Db_Dialect.md index 11c52ea58df4..df25f0af03ab 100644 --- a/hr/api/Phalcon_Db_Dialect.md +++ b/hr/api/Phalcon_Db_Dialect.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Db\\Dialect** -*implements* [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +*implements* [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) Source on GitHub @@ -199,86 +199,86 @@ protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $es Prepares qualified for this RDBMS -abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropTable** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropTable** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **describeIndexes** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **describeIndexes** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **tableOptions** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **tableOptions** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... \ No newline at end of file diff --git a/hr/api/Phalcon_Db_DialectInterface.md b/hr/api/Phalcon_Db_DialectInterface.md index 0bf993854d79..90ee58afb9e1 100644 --- a/hr/api/Phalcon_Db_DialectInterface.md +++ b/hr/api/Phalcon_Db_DialectInterface.md @@ -24,15 +24,15 @@ abstract public **getColumnList** (*array* $columnList) ... -abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) ... -abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) ... -abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) ... @@ -40,7 +40,7 @@ abstract public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* ... -abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) ... @@ -48,7 +48,7 @@ abstract public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* ... -abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) ... @@ -56,7 +56,7 @@ abstract public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) ... -abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) ... diff --git a/hr/api/Phalcon_Db_Dialect_Mysql.md b/hr/api/Phalcon_Db_Dialect_Mysql.md index 6178388fc739..d1a80102e14c 100644 --- a/hr/api/Phalcon_Db_Dialect_Mysql.md +++ b/hr/api/Phalcon_Db_Dialect_Mysql.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Dialect\\Mysql** -*extends* abstract class [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +*extends* abstract class [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) -*implements* [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +*implements* [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) Source on GitHub @@ -10,15 +10,15 @@ Generates database specific SQL for the MySQL RDBMS ## Methods -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Gets the column name in MySQL -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Generates SQL to add a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) Generates SQL to modify a column in a table @@ -26,7 +26,7 @@ public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnN Generates SQL to delete a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add an index to a table @@ -34,7 +34,7 @@ public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexNam Generates SQL to delete an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add the primary key to a table @@ -42,7 +42,7 @@ public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) Generates SQL to delete primary key from a table -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) Generates SQL to add an index to a table @@ -133,23 +133,23 @@ protected **_getTableOptions** (*array* $definition) Generates SQL to add the table creation options -public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Registers custom SQL functions -public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns registered functions -final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape Schema -final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape identifiers -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generates the SQL for LIMIT clause @@ -164,7 +164,7 @@ echo $sql; // SELECT * FROM robots LIMIT 10 OFFSET 50 ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a FOR UPDATE clause @@ -176,7 +176,7 @@ echo $sql; // SELECT * FROM robots FOR UPDATE ``` -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a LOCK IN SHARE MODE clause @@ -188,7 +188,7 @@ echo $sql; // SELECT * FROM robots LOCK IN SHARE MODE ``` -final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Gets a list of columns with escaped identifiers @@ -204,122 +204,122 @@ echo $dialect->getColumnList( ``` -final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transforms an intermediate representation for an expression into a database system valid expression -final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transform an intermediate representation of a schema/table into a database system valid expression -public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Builds a SELECT statement -public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports savepoints -public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports releasing savepoints. -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to create a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to release a savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to rollback a savepoint -final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve object expressions -final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve qualified expressions -final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve binary operations expressions -final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve unary operations expressions -final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve function calls -final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Lists -final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve * -final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CAST of values -final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CONVERT of values encodings -final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CASE expressions -final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a FROM clause -final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a JOINs clause -final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a WHERE clause -final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a GROUP BY clause -final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a HAVING clause -final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve an ORDER BY clause -final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a LIMIT clause -protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares column for this RDBMS -protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares table for this RDBMS -protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares qualified for this RDBMS \ No newline at end of file diff --git a/hr/api/Phalcon_Db_Dialect_Postgresql.md b/hr/api/Phalcon_Db_Dialect_Postgresql.md index 01fe5982984c..f10d03525235 100644 --- a/hr/api/Phalcon_Db_Dialect_Postgresql.md +++ b/hr/api/Phalcon_Db_Dialect_Postgresql.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Dialect\\Postgresql** -*extends* abstract class [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +*extends* abstract class [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) -*implements* [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +*implements* [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) Source on GitHub @@ -10,15 +10,15 @@ Generates database specific SQL for the PostgreSQL RDBMS ## Methods -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Gets the column name in PostgreSQL -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Generates SQL to add a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) Generates SQL to modify a column in a table @@ -26,7 +26,7 @@ public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnN Generates SQL to delete a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add an index to a table @@ -34,7 +34,7 @@ public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexNam Generates SQL to delete an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add the primary key to a table @@ -42,7 +42,7 @@ public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) Generates SQL to delete primary key from a table -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) Generates SQL to add an index to a table @@ -129,7 +129,7 @@ public **tableOptions** (*mixed* $table, [*mixed* $schema]) Generates the SQL to describe the table creation options -protected **_castDefault** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +protected **_castDefault** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) ... @@ -137,23 +137,23 @@ protected **_getTableOptions** (*array* $definition) ... -public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Registers custom SQL functions -public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns registered functions -final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape Schema -final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape identifiers -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generates the SQL for LIMIT clause @@ -168,7 +168,7 @@ echo $sql; // SELECT * FROM robots LIMIT 10 OFFSET 50 ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a FOR UPDATE clause @@ -180,7 +180,7 @@ echo $sql; // SELECT * FROM robots FOR UPDATE ``` -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a LOCK IN SHARE MODE clause @@ -192,7 +192,7 @@ echo $sql; // SELECT * FROM robots LOCK IN SHARE MODE ``` -final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Gets a list of columns with escaped identifiers @@ -208,122 +208,122 @@ echo $dialect->getColumnList( ``` -final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transforms an intermediate representation for an expression into a database system valid expression -final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transform an intermediate representation of a schema/table into a database system valid expression -public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Builds a SELECT statement -public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports savepoints -public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports releasing savepoints. -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to create a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to release a savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to rollback a savepoint -final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve object expressions -final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve qualified expressions -final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve binary operations expressions -final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve unary operations expressions -final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve function calls -final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Lists -final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve * -final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CAST of values -final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CONVERT of values encodings -final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CASE expressions -final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a FROM clause -final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a JOINs clause -final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a WHERE clause -final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a GROUP BY clause -final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a HAVING clause -final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve an ORDER BY clause -final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a LIMIT clause -protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares column for this RDBMS -protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares table for this RDBMS -protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares qualified for this RDBMS \ No newline at end of file diff --git a/hr/api/Phalcon_Db_Dialect_Sqlite.md b/hr/api/Phalcon_Db_Dialect_Sqlite.md index 7b38162151a0..dabec6d39e49 100644 --- a/hr/api/Phalcon_Db_Dialect_Sqlite.md +++ b/hr/api/Phalcon_Db_Dialect_Sqlite.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Dialect\\Sqlite** -*extends* abstract class [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +*extends* abstract class [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) -*implements* [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +*implements* [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) Source on GitHub @@ -10,15 +10,15 @@ Generates database specific SQL for the Sqlite RDBMS ## Methods -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Gets the column name in SQLite -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Generates SQL to add a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) Generates SQL to modify a column in a table @@ -26,7 +26,7 @@ public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnN Generates SQL to delete a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add an index to a table @@ -34,7 +34,7 @@ public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexNam Generates SQL to delete an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add the primary key to a table @@ -42,7 +42,7 @@ public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) Generates SQL to delete primary key from a table -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) Generates SQL to add an index to a table @@ -146,23 +146,23 @@ public **tableOptions** (*mixed* $table, [*mixed* $schema]) Generates the SQL to describe the table creation options -public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Registers custom SQL functions -public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns registered functions -final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape Schema -final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape identifiers -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generates the SQL for LIMIT clause @@ -177,7 +177,7 @@ echo $sql; // SELECT * FROM robots LIMIT 10 OFFSET 50 ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a FOR UPDATE clause @@ -189,7 +189,7 @@ echo $sql; // SELECT * FROM robots FOR UPDATE ``` -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a LOCK IN SHARE MODE clause @@ -201,7 +201,7 @@ echo $sql; // SELECT * FROM robots LOCK IN SHARE MODE ``` -final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Gets a list of columns with escaped identifiers @@ -217,122 +217,122 @@ echo $dialect->getColumnList( ``` -final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transforms an intermediate representation for an expression into a database system valid expression -final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transform an intermediate representation of a schema/table into a database system valid expression -public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Builds a SELECT statement -public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports savepoints -public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports releasing savepoints. -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to create a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to release a savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to rollback a savepoint -final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve object expressions -final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve qualified expressions -final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve binary operations expressions -final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve unary operations expressions -final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve function calls -final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Lists -final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve * -final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CAST of values -final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CONVERT of values encodings -final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CASE expressions -final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a FROM clause -final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a JOINs clause -final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a WHERE clause -final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a GROUP BY clause -final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a HAVING clause -final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve an ORDER BY clause -final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a LIMIT clause -protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares column for this RDBMS -protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares table for this RDBMS -protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares qualified for this RDBMS \ No newline at end of file diff --git a/hr/api/Phalcon_Db_Exception.md b/hr/api/Phalcon_Db_Exception.md index 839c2d00fbf8..00160179b065 100644 --- a/hr/api/Phalcon_Db_Exception.md +++ b/hr/api/Phalcon_Db_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Db\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/hr/api/Phalcon_Db_Index.md b/hr/api/Phalcon_Db_Index.md index 60a5b41f764f..9ca94ad0e146 100644 --- a/hr/api/Phalcon_Db_Index.md +++ b/hr/api/Phalcon_Db_Index.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Db\\Index** -*implements* [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) +*implements* [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) Source on GitHub diff --git a/hr/api/Phalcon_Db_Profiler.md b/hr/api/Phalcon_Db_Profiler.md index 05a913cb9c2c..1d6dde6d6e69 100644 --- a/hr/api/Phalcon_Db_Profiler.md +++ b/hr/api/Phalcon_Db_Profiler.md @@ -31,7 +31,7 @@ echo "Total Elapsed Time: ", $profile->getTotalElapsedSeconds(), "\n"; ## Methods -public [Phalcon\Db\Profiler](/en/3.1.2/api/Phalcon_Db_Profiler) **startProfile** (*string* $sqlStatement, [*mixed* $sqlVariables], [*mixed* $sqlBindTypes]) +public [Phalcon\Db\Profiler](/en/3.2/api/Phalcon_Db_Profiler) **startProfile** (*string* $sqlStatement, [*mixed* $sqlVariables], [*mixed* $sqlBindTypes]) Starts the profile of a SQL sentence diff --git a/hr/api/Phalcon_Db_Reference.md b/hr/api/Phalcon_Db_Reference.md index 30ac1a686521..2e83e14de226 100644 --- a/hr/api/Phalcon_Db_Reference.md +++ b/hr/api/Phalcon_Db_Reference.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Db\\Reference** -*implements* [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) +*implements* [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) Source on GitHub diff --git a/hr/api/Phalcon_Db_Result_Pdo.md b/hr/api/Phalcon_Db_Result_Pdo.md index 2e053d67ae6f..91808dece71f 100644 --- a/hr/api/Phalcon_Db_Result_Pdo.md +++ b/hr/api/Phalcon_Db_Result_Pdo.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Db\\Result\\Pdo** -*implements* [Phalcon\Db\ResultInterface](/en/3.1.2/api/Phalcon_Db_ResultInterface) +*implements* [Phalcon\Db\ResultInterface](/en/3.2/api/Phalcon_Db_ResultInterface) Source on GitHub @@ -23,7 +23,7 @@ while ($robot = $result->fetchArray()) { ## Methods -public **__construct** ([Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) $connection, [PDOStatement](http://php.net/manual/en/class.pdostatement.php) $result, [*string* $sqlStatement], [*array* $bindParams], [*array* $bindTypes]) +public **__construct** ([Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) $connection, [PDOStatement](http://php.net/manual/en/class.pdostatement.php) $result, [*string* $sqlStatement], [*array* $bindParams], [*array* $bindTypes]) Phalcon\\Db\\Result\\Pdo constructor diff --git a/hr/api/Phalcon_Debug_Exception.md b/hr/api/Phalcon_Debug_Exception.md index 81c02149efc6..170f204a2e35 100644 --- a/hr/api/Phalcon_Debug_Exception.md +++ b/hr/api/Phalcon_Debug_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Debug\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/hu/api/Phalcon_Acl_Adapter.md b/hu/api/Phalcon_Acl_Adapter.md index 9f86a2a2a142..1696a50b6e15 100644 --- a/hu/api/Phalcon_Acl_Adapter.md +++ b/hu/api/Phalcon_Acl_Adapter.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Acl\\Adapter** -*implements* [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -20,7 +20,7 @@ public **getActiveAccess** () Active access which the list is checking if some role can access it -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) Sets the events manager @@ -36,58 +36,58 @@ public **getDefaultAction** () Returns the default ACL access level -abstract public **setNoArgumentsDefaultAction** (*mixed* $defaultAccess) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **setNoArgumentsDefaultAction** (*mixed* $defaultAccess) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **getNoArgumentsDefaultAction** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **getNoArgumentsDefaultAction** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **addRole** (*mixed* $role, [*mixed* $accessInherits]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **addRole** (*mixed* $role, [*mixed* $accessInherits]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **addInherit** (*mixed* $roleName, *mixed* $roleToInherit) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **addInherit** (*mixed* $roleName, *mixed* $roleToInherit) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **isRole** (*mixed* $roleName) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **isRole** (*mixed* $roleName) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **isResource** (*mixed* $resourceName) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **isResource** (*mixed* $resourceName) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **addResource** (*mixed* $resourceObject, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **addResource** (*mixed* $resourceObject, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **addResourceAccess** (*mixed* $resourceName, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **addResourceAccess** (*mixed* $resourceName, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **dropResourceAccess** (*mixed* $resourceName, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **dropResourceAccess** (*mixed* $resourceName, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **allow** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*mixed* $func]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **allow** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*mixed* $func]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **deny** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*mixed* $func]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **deny** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*mixed* $func]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **isAllowed** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*array* $parameters]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **isAllowed** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*array* $parameters]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **getRoles** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **getRoles** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **getResources** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **getResources** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... \ No newline at end of file diff --git a/hu/api/Phalcon_Acl_Adapter_Memory.md b/hu/api/Phalcon_Acl_Adapter_Memory.md index e9ea95ccda45..889751c95b98 100644 --- a/hu/api/Phalcon_Acl_Adapter_Memory.md +++ b/hu/api/Phalcon_Acl_Adapter_Memory.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Acl\\Adapter\\Memory** -*extends* abstract class [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +*extends* abstract class [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) -*implements* [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +*implements* [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) Source on GitHub @@ -105,7 +105,7 @@ public **isResource** (*mixed* $resourceName) Check whether resource exist in the resources list -public **addResource** ([Phalcon\Acl\Resource](/en/3.1.2/api/Phalcon_Acl_Resource) | *string* $resourceValue, *array* | *string* $accessList) +public **addResource** ([Phalcon\Acl\Resource](/en/3.2/api/Phalcon_Acl_Resource) | *string* $resourceValue, *array* | *string* $accessList) Adds a resource to the ACL list Access names can be a particular action, by example search, update, delete, etc or a list of them Example: @@ -224,30 +224,30 @@ public **getResources** () Return an array with every resource registered in the list -public **getActiveRole** () inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **getActiveRole** () inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Role which the list is checking if it's allowed to certain resource/access -public **getActiveResource** () inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **getActiveResource** () inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Resource which the list is checking if some role can access it -public **getActiveAccess** () inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **getActiveAccess** () inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Active access which the list is checking if some role can access it -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Sets the events manager -public **getEventsManager** () inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **getEventsManager** () inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Returns the internal event manager -public **setDefaultAction** (*mixed* $defaultAccess) inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **setDefaultAction** (*mixed* $defaultAccess) inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Sets the default access level (Phalcon\\Acl::ALLOW or Phalcon\\Acl::DENY) -public **getDefaultAction** () inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **getDefaultAction** () inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Returns the default ACL access level \ No newline at end of file diff --git a/hu/api/Phalcon_Acl_Exception.md b/hu/api/Phalcon_Acl_Exception.md index 153094579c30..9c1b44ab7b5d 100644 --- a/hu/api/Phalcon_Acl_Exception.md +++ b/hu/api/Phalcon_Acl_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Acl\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/hu/api/Phalcon_Acl_Resource.md b/hu/api/Phalcon_Acl_Resource.md index 1663e1ad2e93..25ac2d3e792b 100644 --- a/hu/api/Phalcon_Acl_Resource.md +++ b/hu/api/Phalcon_Acl_Resource.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Acl\\Resource** -*implements* [Phalcon\Acl\ResourceInterface](/en/3.1.2/api/Phalcon_Acl_ResourceInterface) +*implements* [Phalcon\Acl\ResourceInterface](/en/3.2/api/Phalcon_Acl_ResourceInterface) Source on GitHub diff --git a/hu/api/Phalcon_Acl_Role.md b/hu/api/Phalcon_Acl_Role.md index e105183dd7f4..c8252648d6c8 100644 --- a/hu/api/Phalcon_Acl_Role.md +++ b/hu/api/Phalcon_Acl_Role.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Acl\\Role** -*implements* [Phalcon\Acl\RoleInterface](/en/3.1.2/api/Phalcon_Acl_RoleInterface) +*implements* [Phalcon\Acl\RoleInterface](/en/3.2/api/Phalcon_Acl_RoleInterface) Source on GitHub diff --git a/hu/api/Phalcon_Annotations_Adapter.md b/hu/api/Phalcon_Annotations_Adapter.md index 7a2b31fc4dc1..d42ac348bbc9 100644 --- a/hu/api/Phalcon_Annotations_Adapter.md +++ b/hu/api/Phalcon_Annotations_Adapter.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Annotations\\Adapter** -*implements* [Phalcon\Annotations\AdapterInterface](/en/3.1.2/api/Phalcon_Annotations_AdapterInterface) +*implements* [Phalcon\Annotations\AdapterInterface](/en/3.2/api/Phalcon_Annotations_AdapterInterface) Source on GitHub @@ -8,7 +8,7 @@ This is the base class for Phalcon\\Annotations adapters ## Methods -public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) +public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) Sets the annotations parser diff --git a/hu/api/Phalcon_Annotations_AdapterInterface.md b/hu/api/Phalcon_Annotations_AdapterInterface.md index a4e2c689503a..a1ff65cb01a1 100644 --- a/hu/api/Phalcon_Annotations_AdapterInterface.md +++ b/hu/api/Phalcon_Annotations_AdapterInterface.md @@ -4,7 +4,7 @@ ## Methods -abstract public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) +abstract public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) ... diff --git a/hu/api/Phalcon_Annotations_Adapter_Apc.md b/hu/api/Phalcon_Annotations_Adapter_Apc.md index 1b8a1d6d0d7d..467622a88425 100644 --- a/hu/api/Phalcon_Annotations_Adapter_Apc.md +++ b/hu/api/Phalcon_Annotations_Adapter_Apc.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Annotations\\Adapter\\Apc** -*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) -*implements* [Phalcon\Annotations\AdapterInterface](/en/3.1.2/api/Phalcon_Annotations_AdapterInterface) +*implements* [Phalcon\Annotations\AdapterInterface](/en/3.2/api/Phalcon_Annotations_AdapterInterface) Source on GitHub @@ -27,34 +27,34 @@ public **read** (*mixed* $key) Reads parsed annotations from APC -public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) $data) +public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) $data) Writes parsed annotations to APC -public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Sets the annotations parser -public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotation reader -public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Parses or retrieves all the annotations found in a class -public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific method -public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific property \ No newline at end of file diff --git a/hu/api/Phalcon_Annotations_Adapter_Files.md b/hu/api/Phalcon_Annotations_Adapter_Files.md index fcb4c23e6c2e..e4c407e5954e 100644 --- a/hu/api/Phalcon_Annotations_Adapter_Files.md +++ b/hu/api/Phalcon_Annotations_Adapter_Files.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Annotations\\Adapter\\Files** -*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) -*implements* [Phalcon\Annotations\AdapterInterface](/en/3.1.2/api/Phalcon_Annotations_AdapterInterface) +*implements* [Phalcon\Annotations\AdapterInterface](/en/3.2/api/Phalcon_Annotations_AdapterInterface) Source on GitHub @@ -27,38 +27,38 @@ public **__construct** ([*array* $options]) Phalcon\\Annotations\\Adapter\\Files constructor -public [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) **read** (*string* $key) +public [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) **read** (*string* $key) Reads parsed annotations from files -public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) $data) +public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) $data) Writes parsed annotations to files -public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Sets the annotations parser -public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotation reader -public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Parses or retrieves all the annotations found in a class -public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific method -public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific property \ No newline at end of file diff --git a/hu/api/Phalcon_Annotations_Adapter_Memory.md b/hu/api/Phalcon_Annotations_Adapter_Memory.md index 53fc2e3769c7..205f20e6b1b8 100644 --- a/hu/api/Phalcon_Annotations_Adapter_Memory.md +++ b/hu/api/Phalcon_Annotations_Adapter_Memory.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Annotations\\Adapter\\Memory** -*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) -*implements* [Phalcon\Annotations\AdapterInterface](/en/3.1.2/api/Phalcon_Annotations_AdapterInterface) +*implements* [Phalcon\Annotations\AdapterInterface](/en/3.2/api/Phalcon_Annotations_AdapterInterface) Source on GitHub @@ -14,34 +14,34 @@ public **read** (*mixed* $key) Reads parsed annotations from memory -public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) $data) +public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) $data) Writes parsed annotations to memory -public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Sets the annotations parser -public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotation reader -public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Parses or retrieves all the annotations found in a class -public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific method -public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific property \ No newline at end of file diff --git a/hu/api/Phalcon_Annotations_Adapter_Xcache.md b/hu/api/Phalcon_Annotations_Adapter_Xcache.md index 79bfa9e6b4d3..37c97e7e6b8c 100644 --- a/hu/api/Phalcon_Annotations_Adapter_Xcache.md +++ b/hu/api/Phalcon_Annotations_Adapter_Xcache.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Annotations\\Adapter\\Xcache** -*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) -*implements* [Phalcon\Annotations\AdapterInterface](/en/3.1.2/api/Phalcon_Annotations_AdapterInterface) +*implements* [Phalcon\Annotations\AdapterInterface](/en/3.2/api/Phalcon_Annotations_AdapterInterface) Source on GitHub @@ -17,38 +17,38 @@ $annotations = new \Phalcon\Annotations\Adapter\Xcache(); ## Methods -public [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) **read** (*string* $key) +public [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) **read** (*string* $key) Reads parsed annotations from XCache -public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) $data) +public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) $data) Writes parsed annotations to XCache -public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Sets the annotations parser -public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotation reader -public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Parses or retrieves all the annotations found in a class -public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific method -public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific property \ No newline at end of file diff --git a/hu/api/Phalcon_Annotations_Collection.md b/hu/api/Phalcon_Annotations_Collection.md index 8176520b43ea..ba33511a50fe 100644 --- a/hu/api/Phalcon_Annotations_Collection.md +++ b/hu/api/Phalcon_Annotations_Collection.md @@ -36,7 +36,7 @@ public **rewind** () Rewinds the internal iterator -public [Phalcon\Annotations\Annotation](/en/3.1.2/api/Phalcon_Annotations_Annotation) **current** () +public [Phalcon\Annotations\Annotation](/en/3.2/api/Phalcon_Annotations_Annotation) **current** () Returns the current annotation in the iterator diff --git a/hu/api/Phalcon_Annotations_Reader.md b/hu/api/Phalcon_Annotations_Reader.md index 56ca9b058cd1..4e8e513ffea9 100644 --- a/hu/api/Phalcon_Annotations_Reader.md +++ b/hu/api/Phalcon_Annotations_Reader.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Annotations\\Reader** -*implements* [Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) +*implements* [Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) Source on GitHub diff --git a/hu/api/Phalcon_Application.md b/hu/api/Phalcon_Application.md index e7e767824af2..5ff2b07edaf4 100644 --- a/hu/api/Phalcon_Application.md +++ b/hu/api/Phalcon_Application.md @@ -1,8 +1,8 @@ # Abstract class **Phalcon\\Application** -*extends* abstract class [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +*extends* abstract class [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) -*implements* [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface) +*implements* [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface) Source on GitHub @@ -10,9 +10,9 @@ Base class for Phalcon\\Cli\\Console and Phalcon\\Mvc\\Application. ## Methods -public **__construct** ([[Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector]) +public **__construct** ([[Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector]) -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) Sets the events manager @@ -62,14 +62,14 @@ abstract public **handle** () Handles a request -public **setDI** ([Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **setDI** ([Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Sets the dependency injector -public **getDI** () inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **getDI** () inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Returns the internal dependency injector -public **__get** (*mixed* $propertyName) inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **__get** (*mixed* $propertyName) inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Magic method __get \ No newline at end of file diff --git a/hu/api/Phalcon_Application_Exception.md b/hu/api/Phalcon_Application_Exception.md index ade9f4d1b49e..49637aa88e5e 100644 --- a/hu/api/Phalcon_Application_Exception.md +++ b/hu/api/Phalcon_Application_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Application\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/hu/api/Phalcon_Assets_Collection.md b/hu/api/Phalcon_Assets_Collection.md index 9c3e06cdb077..f6f18d5a1d60 100644 --- a/hu/api/Phalcon_Assets_Collection.md +++ b/hu/api/Phalcon_Assets_Collection.md @@ -56,14 +56,35 @@ public **getSourcePath** () ... -public **add** ([Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) $resource) +public **__construct** () + +Phalcon\\Assets\\Collection constructor + +public **add** ([Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) $resource) Adds a resource to the collection -public **addInline** ([Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) $code) +public **addInline** ([Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) $code) Adds an inline code to the collection +public **has** ([Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) $resource) + +Checks this the resource is added to the collection. + +```php +has($resource); // true + +``` + public **addCss** (*mixed* $path, [*mixed* $local], [*mixed* $filter], [*mixed* $attributes]) Adds a CSS resource to the collection @@ -72,7 +93,7 @@ public **addInlineCss** (*mixed* $content, [*mixed* $filter], [*mixed* $attribut Adds an inline CSS to the collection -public [Phalcon\Assets\Collection](/en/3.1.2/api/Phalcon_Assets_Collection) **addJs** (*string* $path, [*boolean* $local], [*boolean* $filter], [*array* $attributes]) +public [Phalcon\Assets\Collection](/en/3.2/api/Phalcon_Assets_Collection) **addJs** (*string* $path, [*boolean* $local], [*boolean* $filter], [*array* $attributes]) Adds a javascript resource to the collection @@ -144,6 +165,10 @@ public **getRealTargetPath** (*mixed* $basePath) Returns the complete location where the joined/filtered collection must be written -public **addFilter** ([Phalcon\Assets\FilterInterface](/en/3.1.2/api/Phalcon_Assets_FilterInterface) $filter) +public **addFilter** ([Phalcon\Assets\FilterInterface](/en/3.2/api/Phalcon_Assets_FilterInterface) $filter) + +Adds a filter to the collection + +final protected **addResource** ([Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) $resource) -Adds a filter to the collection \ No newline at end of file +Adds a resource or inline-code to the collection \ No newline at end of file diff --git a/hu/api/Phalcon_Assets_Exception.md b/hu/api/Phalcon_Assets_Exception.md index bf3c9a57c01a..4c8c0516fd94 100644 --- a/hu/api/Phalcon_Assets_Exception.md +++ b/hu/api/Phalcon_Assets_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Assets\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/hu/api/Phalcon_Assets_Filters_Cssmin.md b/hu/api/Phalcon_Assets_Filters_Cssmin.md index 75e2781f79a0..a807a59e4880 100644 --- a/hu/api/Phalcon_Assets_Filters_Cssmin.md +++ b/hu/api/Phalcon_Assets_Filters_Cssmin.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Assets\\Filters\\Cssmin** -*implements* [Phalcon\Assets\FilterInterface](/en/3.1.2/api/Phalcon_Assets_FilterInterface) +*implements* [Phalcon\Assets\FilterInterface](/en/3.2/api/Phalcon_Assets_FilterInterface) Source on GitHub diff --git a/hu/api/Phalcon_Assets_Filters_Jsmin.md b/hu/api/Phalcon_Assets_Filters_Jsmin.md index 2ee9aa7f5390..2bfe2b4851a4 100644 --- a/hu/api/Phalcon_Assets_Filters_Jsmin.md +++ b/hu/api/Phalcon_Assets_Filters_Jsmin.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Assets\\Filters\\Jsmin** -*implements* [Phalcon\Assets\FilterInterface](/en/3.1.2/api/Phalcon_Assets_FilterInterface) +*implements* [Phalcon\Assets\FilterInterface](/en/3.2/api/Phalcon_Assets_FilterInterface) Source on GitHub diff --git a/hu/api/Phalcon_Assets_Filters_None.md b/hu/api/Phalcon_Assets_Filters_None.md index 93c79dd941f6..60e59aac09de 100644 --- a/hu/api/Phalcon_Assets_Filters_None.md +++ b/hu/api/Phalcon_Assets_Filters_None.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Assets\\Filters\\None** -*implements* [Phalcon\Assets\FilterInterface](/en/3.1.2/api/Phalcon_Assets_FilterInterface) +*implements* [Phalcon\Assets\FilterInterface](/en/3.2/api/Phalcon_Assets_FilterInterface) Source on GitHub diff --git a/hu/api/Phalcon_Assets_Inline.md b/hu/api/Phalcon_Assets_Inline.md index 05a1f622aa48..e5c3ef631536 100644 --- a/hu/api/Phalcon_Assets_Inline.md +++ b/hu/api/Phalcon_Assets_Inline.md @@ -1,5 +1,7 @@ # Class **Phalcon\\Assets\\Inline** +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) + Source on GitHub Represents an inline asset @@ -43,4 +45,8 @@ Sets if the resource must be filtered or not public **setAttributes** (*array* $attributes) -Sets extra HTML attributes \ No newline at end of file +Sets extra HTML attributes + +public **getResourceKey** () + +Gets the resource's key. \ No newline at end of file diff --git a/hu/api/Phalcon_Assets_Inline_Css.md b/hu/api/Phalcon_Assets_Inline_Css.md index c4d7a9d0e919..aad74b78beca 100644 --- a/hu/api/Phalcon_Assets_Inline_Css.md +++ b/hu/api/Phalcon_Assets_Inline_Css.md @@ -1,6 +1,8 @@ # Class **Phalcon\\Assets\\Inline\\Css** -*extends* class [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +*extends* class [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) + +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) Source on GitHub @@ -10,30 +12,34 @@ Represents an inlined CSS public **__construct** (*string* $content, [*boolean* $filter], [*array* $attributes]) -public **getType** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getType** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getContent** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getContent** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getFilter** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getFilter** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getAttributes** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getAttributes** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) Sets the inline's type -public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) Sets if the resource must be filtered or not -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) + +Sets extra HTML attributes + +public **getResourceKey** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) -Sets extra HTML attributes \ No newline at end of file +Gets the resource's key. \ No newline at end of file diff --git a/hu/api/Phalcon_Assets_Inline_Js.md b/hu/api/Phalcon_Assets_Inline_Js.md index 27d57246d817..1cce336b4116 100644 --- a/hu/api/Phalcon_Assets_Inline_Js.md +++ b/hu/api/Phalcon_Assets_Inline_Js.md @@ -1,6 +1,8 @@ # Class **Phalcon\\Assets\\Inline\\Js** -*extends* class [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +*extends* class [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) + +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) Source on GitHub @@ -10,30 +12,34 @@ Represents an inline Javascript public **__construct** (*string* $content, [*boolean* $filter], [*array* $attributes]) -public **getType** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getType** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getContent** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getContent** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getFilter** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getFilter** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getAttributes** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getAttributes** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) Sets the inline's type -public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) Sets if the resource must be filtered or not -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) + +Sets extra HTML attributes + +public **getResourceKey** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) -Sets extra HTML attributes \ No newline at end of file +Gets the resource's key. \ No newline at end of file diff --git a/hu/api/Phalcon_Assets_Manager.md b/hu/api/Phalcon_Assets_Manager.md index 55ab07f19201..13ecabf4ff9c 100644 --- a/hu/api/Phalcon_Assets_Manager.md +++ b/hu/api/Phalcon_Assets_Manager.md @@ -52,7 +52,7 @@ public **addInlineJs** (*mixed* $content, [*mixed* $filter], [*mixed* $attribute Adds an inline javascript to the 'js' collection -public **addResourceByType** (*mixed* $type, [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) $resource) +public **addResourceByType** (*mixed* $type, [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) $resource) Adds a resource by its type @@ -65,11 +65,11 @@ $assets->addResourceByType("css", ``` -public **addInlineCodeByType** (*mixed* $type, [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) $code) +public **addInlineCodeByType** (*mixed* $type, [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) $code) Adds an inline code by its type -public **addResource** ([Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) $resource) +public **addResource** ([Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) $resource) Adds a raw resource to the manager @@ -82,11 +82,11 @@ $assets->addResource( ``` -public **addInlineCode** ([Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) $code) +public **addInlineCode** ([Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) $code) Adds a raw inline code to the manager -public **set** (*mixed* $id, [Phalcon\Assets\Collection](/en/3.1.2/api/Phalcon_Assets_Collection) $collection) +public **set** (*mixed* $id, [Phalcon\Assets\Collection](/en/3.2/api/Phalcon_Assets_Collection) $collection) Sets a collection in the Assets Manager @@ -99,7 +99,7 @@ $assets->set("js", $collection); public **get** (*mixed* $id) -Returns a collection by its id +Returns a collection by its id. ```php exists("jsHeader")) { + // \Phalcon\Assets\Collection + $collection = $assets->get("jsHeader"); +} + +``` \ No newline at end of file diff --git a/hu/api/Phalcon_Assets_Resource.md b/hu/api/Phalcon_Assets_Resource.md index 9718061c348e..d67dc71b7929 100644 --- a/hu/api/Phalcon_Assets_Resource.md +++ b/hu/api/Phalcon_Assets_Resource.md @@ -1,5 +1,7 @@ # Class **Phalcon\\Assets\\Resource** +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) + Source on GitHub Represents an asset resource @@ -85,4 +87,8 @@ Returns the complete location where the resource is located public **getRealTargetPath** ([*mixed* $basePath]) -Returns the complete location where the resource must be written \ No newline at end of file +Returns the complete location where the resource must be written + +public **getResourceKey** () + +Gets the resource's key. \ No newline at end of file diff --git a/hu/api/Phalcon_Assets_Resource_Css.md b/hu/api/Phalcon_Assets_Resource_Css.md index 9376a4de5f6d..11c938e391ca 100644 --- a/hu/api/Phalcon_Assets_Resource_Css.md +++ b/hu/api/Phalcon_Assets_Resource_Css.md @@ -1,6 +1,8 @@ # Class **Phalcon\\Assets\\Resource\\Css** -*extends* class [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +*extends* class [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) + +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) Source on GitHub @@ -10,72 +12,76 @@ Represents CSS resources public **__construct** (*string* $path, [*boolean* $local], [*boolean* $filter], [*array* $attributes]) -public **getType** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getType** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getPath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getPath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getLocal** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getLocal** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getFilter** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getFilter** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getAttributes** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getAttributes** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getSourcePath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getSourcePath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **getTargetPath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getTargetPath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **getTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's type -public **setPath** (*mixed* $path) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setPath** (*mixed* $path) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's path -public **setLocal** (*mixed* $local) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setLocal** (*mixed* $local) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets if the resource is local or external -public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets if the resource must be filtered or not -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets extra HTML attributes -public **setTargetUri** (*mixed* $targetUri) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setTargetUri** (*mixed* $targetUri) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets a target uri for the generated HTML -public **setSourcePath** (*mixed* $sourcePath) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setSourcePath** (*mixed* $sourcePath) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's source path -public **setTargetPath** (*mixed* $targetPath) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setTargetPath** (*mixed* $targetPath) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's target path -public **getContent** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getContent** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the content of the resource as an string Optionally a base path where the resource is located can be set -public **getRealTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the real target uri for the generated HTML -public **getRealSourcePath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealSourcePath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the complete location where the resource is located -public **getRealTargetPath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealTargetPath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) + +Returns the complete location where the resource must be written + +public **getResourceKey** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -Returns the complete location where the resource must be written \ No newline at end of file +Gets the resource's key. \ No newline at end of file diff --git a/hu/api/Phalcon_Assets_Resource_Js.md b/hu/api/Phalcon_Assets_Resource_Js.md index a4c132ff1ed1..2acc4d239b9d 100644 --- a/hu/api/Phalcon_Assets_Resource_Js.md +++ b/hu/api/Phalcon_Assets_Resource_Js.md @@ -1,6 +1,8 @@ # Class **Phalcon\\Assets\\Resource\\Js** -*extends* class [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +*extends* class [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) + +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) Source on GitHub @@ -10,72 +12,76 @@ Represents Javascript resources public **__construct** (*string* $path, [*boolean* $local], [*boolean* $filter], [*array* $attributes]) -public **getType** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getType** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getPath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getPath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getLocal** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getLocal** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getFilter** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getFilter** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getAttributes** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getAttributes** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getSourcePath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getSourcePath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **getTargetPath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getTargetPath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **getTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's type -public **setPath** (*mixed* $path) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setPath** (*mixed* $path) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's path -public **setLocal** (*mixed* $local) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setLocal** (*mixed* $local) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets if the resource is local or external -public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets if the resource must be filtered or not -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets extra HTML attributes -public **setTargetUri** (*mixed* $targetUri) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setTargetUri** (*mixed* $targetUri) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets a target uri for the generated HTML -public **setSourcePath** (*mixed* $sourcePath) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setSourcePath** (*mixed* $sourcePath) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's source path -public **setTargetPath** (*mixed* $targetPath) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setTargetPath** (*mixed* $targetPath) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's target path -public **getContent** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getContent** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the content of the resource as an string Optionally a base path where the resource is located can be set -public **getRealTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the real target uri for the generated HTML -public **getRealSourcePath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealSourcePath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the complete location where the resource is located -public **getRealTargetPath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealTargetPath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) + +Returns the complete location where the resource must be written + +public **getResourceKey** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -Returns the complete location where the resource must be written \ No newline at end of file +Gets the resource's key. \ No newline at end of file diff --git a/hu/api/Phalcon_Cache_Backend.md b/hu/api/Phalcon_Cache_Backend.md index f81ba2e57820..6e8b2e14bbff 100644 --- a/hu/api/Phalcon_Cache_Backend.md +++ b/hu/api/Phalcon_Cache_Backend.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Cache\\Backend** -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -32,7 +32,7 @@ public **setLastKey** (*mixed* $lastKey) ... -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend constructor @@ -56,22 +56,22 @@ public *int* **getLifetime** () Gets the last lifetime set -abstract public **get** (*mixed* $keyName, [*mixed* $lifetime]) inherited from [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +abstract public **get** (*mixed* $keyName, [*mixed* $lifetime]) inherited from [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) ... -abstract public **save** ([*mixed* $keyName], [*mixed* $content], [*mixed* $lifetime], [*mixed* $stopBuffer]) inherited from [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +abstract public **save** ([*mixed* $keyName], [*mixed* $content], [*mixed* $lifetime], [*mixed* $stopBuffer]) inherited from [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) ... -abstract public **delete** (*mixed* $keyName) inherited from [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +abstract public **delete** (*mixed* $keyName) inherited from [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) ... -abstract public **queryKeys** ([*mixed* $prefix]) inherited from [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +abstract public **queryKeys** ([*mixed* $prefix]) inherited from [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) ... -abstract public **exists** ([*mixed* $keyName], [*mixed* $lifetime]) inherited from [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +abstract public **exists** ([*mixed* $keyName], [*mixed* $lifetime]) inherited from [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) ... \ No newline at end of file diff --git a/hu/api/Phalcon_Cache_Backend_Apc.md b/hu/api/Phalcon_Cache_Backend_Apc.md index 6f08c1fef4b7..92b01c89d25a 100644 --- a/hu/api/Phalcon_Cache_Backend_Apc.md +++ b/hu/api/Phalcon_Cache_Backend_Apc.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Apc** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -94,50 +94,50 @@ $cache->flush(); ``` -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Phalcon\\Cache\\Backend constructor -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/hu/api/Phalcon_Cache_Backend_File.md b/hu/api/Phalcon_Cache_Backend_File.md index 78c3aff0e84c..3ea73b705889 100644 --- a/hu/api/Phalcon_Cache_Backend_File.md +++ b/hu/api/Phalcon_Cache_Backend_File.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\File** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -44,7 +44,7 @@ if ($content === null) { ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, *array* $options) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, *array* $options) Phalcon\\Cache\\Backend\\File constructor @@ -98,46 +98,46 @@ public **useSafeKey** (*mixed* $useSafeKey) Set whether to use the safekey or not -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/hu/api/Phalcon_Cache_Backend_Libmemcached.md b/hu/api/Phalcon_Cache_Backend_Libmemcached.md index 88948897b300..9ec4b031d82e 100644 --- a/hu/api/Phalcon_Cache_Backend_Libmemcached.md +++ b/hu/api/Phalcon_Cache_Backend_Libmemcached.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Libmemcached** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -49,7 +49,7 @@ $data = $cache->get("my-data"); ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend\\Memcache constructor @@ -116,46 +116,46 @@ $cache->flush(); ``` -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/hu/api/Phalcon_Cache_Backend_Memcache.md b/hu/api/Phalcon_Cache_Backend_Memcache.md index 7310592149b1..6f2575ca5c8d 100644 --- a/hu/api/Phalcon_Cache_Backend_Memcache.md +++ b/hu/api/Phalcon_Cache_Backend_Memcache.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Memcache** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -43,7 +43,7 @@ $data = $cache->get("my-data"); ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend\\Memcache constructor @@ -97,46 +97,46 @@ public **flush** () Immediately invalidates all existing items. -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/hu/api/Phalcon_Cache_Backend_Memory.md b/hu/api/Phalcon_Cache_Backend_Memory.md index 06a4216cf7ac..a269432ab9f3 100644 --- a/hu/api/Phalcon_Cache_Backend_Memory.md +++ b/hu/api/Phalcon_Cache_Backend_Memory.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Memory** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface), [Serializable](http://php.net/manual/en/class.serializable.php) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface), [Serializable](http://php.net/manual/en/class.serializable.php) Source on GitHub @@ -79,50 +79,50 @@ public **unserialize** (*mixed* $data) Required for interface \\Serializable -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Phalcon\\Cache\\Backend constructor -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/hu/api/Phalcon_Cache_Backend_Mongo.md b/hu/api/Phalcon_Cache_Backend_Mongo.md index 9ad0f67b530c..6421cd0f4f29 100644 --- a/hu/api/Phalcon_Cache_Backend_Mongo.md +++ b/hu/api/Phalcon_Cache_Backend_Mongo.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Mongo** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -44,7 +44,7 @@ $data = $cache->get("my-data"); ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend\\Mongo constructor @@ -98,46 +98,46 @@ public **flush** () Immediately invalidates all existing items. -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/hu/api/Phalcon_Cache_Backend_Redis.md b/hu/api/Phalcon_Cache_Backend_Redis.md index 123bf025f2af..a3509251d509 100644 --- a/hu/api/Phalcon_Cache_Backend_Redis.md +++ b/hu/api/Phalcon_Cache_Backend_Redis.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Redis** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -45,7 +45,7 @@ $data = $cache->get("my-data"); ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend\\Redis constructor @@ -105,46 +105,46 @@ public **flush** () Immediately invalidates all existing items. -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/hu/api/Phalcon_Cache_Backend_Xcache.md b/hu/api/Phalcon_Cache_Backend_Xcache.md index b91e75b19c79..7dac8215d5f3 100644 --- a/hu/api/Phalcon_Cache_Backend_Xcache.md +++ b/hu/api/Phalcon_Cache_Backend_Xcache.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Xcache** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -38,7 +38,7 @@ $data = $cache->get("my-data"); ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend\\Xcache constructor @@ -84,46 +84,46 @@ public **flush** () Immediately invalidates all existing items. -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/hu/api/Phalcon_Cache_Exception.md b/hu/api/Phalcon_Cache_Exception.md index cbb05a3a76e4..87f2372e7864 100644 --- a/hu/api/Phalcon_Cache_Exception.md +++ b/hu/api/Phalcon_Cache_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/hu/api/Phalcon_Cache_Frontend_Base64.md b/hu/api/Phalcon_Cache_Frontend_Base64.md index 92f36996b4b7..473895a88aa8 100644 --- a/hu/api/Phalcon_Cache_Frontend_Base64.md +++ b/hu/api/Phalcon_Cache_Frontend_Base64.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Frontend\\Base64** -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/hu/api/Phalcon_Cache_Frontend_Data.md b/hu/api/Phalcon_Cache_Frontend_Data.md index f46469ab7410..1f249be7103c 100644 --- a/hu/api/Phalcon_Cache_Frontend_Data.md +++ b/hu/api/Phalcon_Cache_Frontend_Data.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Frontend\\Data** -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/hu/api/Phalcon_Cache_Frontend_Igbinary.md b/hu/api/Phalcon_Cache_Frontend_Igbinary.md index 1460a42ce867..714a96bb4de1 100644 --- a/hu/api/Phalcon_Cache_Frontend_Igbinary.md +++ b/hu/api/Phalcon_Cache_Frontend_Igbinary.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Frontend\\Igbinary** -*extends* class [Phalcon\Cache\Frontend\Data](/en/3.1.2/api/Phalcon_Cache_Frontend_Data) +*extends* class [Phalcon\Cache\Frontend\Data](/en/3.2/api/Phalcon_Cache_Frontend_Data) -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/hu/api/Phalcon_Cache_Frontend_Json.md b/hu/api/Phalcon_Cache_Frontend_Json.md index 64a296ca976f..bfe39cdc53c4 100644 --- a/hu/api/Phalcon_Cache_Frontend_Json.md +++ b/hu/api/Phalcon_Cache_Frontend_Json.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Frontend\\Json** -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/hu/api/Phalcon_Cache_Frontend_Msgpack.md b/hu/api/Phalcon_Cache_Frontend_Msgpack.md index f77a99a21168..857b40d4bbdc 100644 --- a/hu/api/Phalcon_Cache_Frontend_Msgpack.md +++ b/hu/api/Phalcon_Cache_Frontend_Msgpack.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Frontend\\Msgpack** -*extends* class [Phalcon\Cache\Frontend\Data](/en/3.1.2/api/Phalcon_Cache_Frontend_Data) +*extends* class [Phalcon\Cache\Frontend\Data](/en/3.2/api/Phalcon_Cache_Frontend_Data) -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/hu/api/Phalcon_Cache_Frontend_None.md b/hu/api/Phalcon_Cache_Frontend_None.md index 521fcd02f344..bdc0af2d4135 100644 --- a/hu/api/Phalcon_Cache_Frontend_None.md +++ b/hu/api/Phalcon_Cache_Frontend_None.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Frontend\\None** -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/hu/api/Phalcon_Cache_Frontend_Output.md b/hu/api/Phalcon_Cache_Frontend_Output.md index 8421c02f1276..c6a0543703d6 100644 --- a/hu/api/Phalcon_Cache_Frontend_Output.md +++ b/hu/api/Phalcon_Cache_Frontend_Output.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Frontend\\Output** -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/hu/api/Phalcon_Cache_Multiple.md b/hu/api/Phalcon_Cache_Multiple.md index bbfa61a13274..1d9fd1365aa9 100644 --- a/hu/api/Phalcon_Cache_Multiple.md +++ b/hu/api/Phalcon_Cache_Multiple.md @@ -65,11 +65,11 @@ $cache->save("my-key", $data); ## Methods -public **__construct** ([[Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface[]) $backends]) +public **__construct** ([[Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface[]) $backends]) Phalcon\\Cache\\Multiple constructor -public **push** ([Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) $backend) +public **push** ([Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) $backend) Adds a backend diff --git a/hu/api/Phalcon_Cli_Console.md b/hu/api/Phalcon_Cli_Console.md index c769b7ad7659..f0337bf3f1ec 100644 --- a/hu/api/Phalcon_Cli_Console.md +++ b/hu/api/Phalcon_Cli_Console.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cli\\Console** -*extends* abstract class [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +*extends* abstract class [Phalcon\Application](/en/3.2/api/Phalcon_Application) -*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -36,19 +36,19 @@ public **setArgument** ([*array* $arguments], [*mixed* $str], [*mixed* $shift]) Set an specific argument -public **__construct** ([[Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector]) inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **__construct** ([[Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector]) inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Phalcon\\Application -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Sets the events manager -public **getEventsManager** () inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **getEventsManager** () inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Returns the internal event manager -public **registerModules** (*array* $modules, [*mixed* $merge]) inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **registerModules** (*array* $modules, [*mixed* $merge]) inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Register an array of modules present in the application @@ -70,30 +70,30 @@ $this->registerModules( ``` -public **getModules** () inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **getModules** () inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Return the modules registered in the application -public **getModule** (*mixed* $name) inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **getModule** (*mixed* $name) inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Gets the module definition registered in the application via module name -public **setDefaultModule** (*mixed* $defaultModule) inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **setDefaultModule** (*mixed* $defaultModule) inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Sets the module name to be used if the router doesn't return a valid module -public **getDefaultModule** () inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **getDefaultModule** () inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Returns the default module name -public **setDI** ([Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **setDI** ([Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Sets the dependency injector -public **getDI** () inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **getDI** () inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Returns the internal dependency injector -public **__get** (*mixed* $propertyName) inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **__get** (*mixed* $propertyName) inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Magic method __get \ No newline at end of file diff --git a/hu/api/Phalcon_Cli_Console_Exception.md b/hu/api/Phalcon_Cli_Console_Exception.md index 64a6f1f9162a..e7bfea5dbde1 100644 --- a/hu/api/Phalcon_Cli_Console_Exception.md +++ b/hu/api/Phalcon_Cli_Console_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cli\\Console\\Exception** -*extends* class [Phalcon\Application\Exception](/en/3.1.2/api/Phalcon_Application_Exception) +*extends* class [Phalcon\Application\Exception](/en/3.2/api/Phalcon_Application_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/hu/api/Phalcon_Cli_Dispatcher.md b/hu/api/Phalcon_Cli_Dispatcher.md index 7b91f5c9f537..f03b7c7c61ac 100644 --- a/hu/api/Phalcon_Cli_Dispatcher.md +++ b/hu/api/Phalcon_Cli_Dispatcher.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cli\\Dispatcher** -*extends* abstract class [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +*extends* abstract class [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) -*implements* [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface), [Phalcon\Cli\DispatcherInterface](/en/3.1.2/api/Phalcon_Cli_DispatcherInterface) +*implements* [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface), [Phalcon\Cli\DispatcherInterface](/en/3.2/api/Phalcon_Cli_DispatcherInterface) Source on GitHub @@ -11,10 +11,11 @@ Dispatching is the process of taking the command-line arguments, extracting the ```php setDi($di); $dispatcher->setTaskName("posts"); @@ -81,107 +82,115 @@ public **getOptions** () Get dispatched options +public **getOption** (*mixed* $option, [*string* | *array* $filters], [*mixed* $defaultValue]) + +Gets an option by its name or numeric index + +public **hasOption** (*mixed* $option) + +Check if an option exists + public **callActionMethod** (*mixed* $handler, *mixed* $actionMethod, [*array* $params]) -... +Calls the action method. -public **setDI** ([Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setDI** ([Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the dependency injector -public **getDI** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getDI** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns the internal dependency injector -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the events manager -public **getEventsManager** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getEventsManager** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns the internal event manager -public **setActionSuffix** (*mixed* $actionSuffix) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setActionSuffix** (*mixed* $actionSuffix) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the default action suffix -public **getActionSuffix** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getActionSuffix** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets the default action suffix -public **setModuleName** (*mixed* $moduleName) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setModuleName** (*mixed* $moduleName) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the module where the controller is (only informative) -public **getModuleName** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getModuleName** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets the module where the controller class is -public **setNamespaceName** (*mixed* $namespaceName) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setNamespaceName** (*mixed* $namespaceName) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the namespace where the controller class is -public **getNamespaceName** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getNamespaceName** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets a namespace to be prepended to the current handler name -public **setDefaultNamespace** (*mixed* $namespaceName) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setDefaultNamespace** (*mixed* $namespaceName) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the default namespace -public **getDefaultNamespace** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getDefaultNamespace** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns the default namespace -public **setDefaultAction** (*mixed* $actionName) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setDefaultAction** (*mixed* $actionName) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the default action name -public **setActionName** (*mixed* $actionName) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setActionName** (*mixed* $actionName) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the action name to be dispatched -public **getActionName** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getActionName** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets the latest dispatched action name -public **setParams** (*array* $params) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setParams** (*array* $params) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets action params to be dispatched -public **getParams** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getParams** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets action params -public **setParam** (*mixed* $param, *mixed* $value) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setParam** (*mixed* $param, *mixed* $value) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Set a param by its name or numeric index -public *mixed* **getParam** (*mixed* $param, [*string* | *array* $filters], [*mixed* $defaultValue]) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public *mixed* **getParam** (*mixed* $param, [*string* | *array* $filters], [*mixed* $defaultValue]) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets a param by its name or numeric index -public *boolean* **hasParam** (*mixed* $param) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public *boolean* **hasParam** (*mixed* $param) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Check if a param exists -public **getActiveMethod** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getActiveMethod** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns the current method to be/executed in the dispatcher -public **isFinished** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **isFinished** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Checks if the dispatch loop is finished or has more pendent controllers/tasks to dispatch -public **setReturnedValue** (*mixed* $value) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setReturnedValue** (*mixed* $value) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the latest returned value by an action manually -public *mixed* **getReturnedValue** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public *mixed* **getReturnedValue** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns value returned by the latest dispatched action -public **setModelBinding** (*mixed* $value, [*mixed* $cache]) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setModelBinding** (*mixed* $value, [*mixed* $cache]) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Enable/Disable model binding during dispatch @@ -197,7 +206,7 @@ $di->set('dispatcher', function() { ``` -public **setModelBinder** ([Phalcon\Mvc\Model\BinderInterface](/en/3.1.2/api/Phalcon_Mvc_Model_BinderInterface) $modelBinder, [*mixed* $cache]) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setModelBinder** ([Phalcon\Mvc\Model\BinderInterface](/en/3.2/api/Phalcon_Mvc_Model_BinderInterface) $modelBinder, [*mixed* $cache]) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Enable model binding during dispatch @@ -213,21 +222,21 @@ $di->set('dispatcher', function() { ``` -public **getModelBinder** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getModelBinder** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets model binder -public *object* **dispatch** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public *object* **dispatch** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Dispatches a handle action taking into account the routing parameters -protected *object* **_dispatch** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +protected *object* **_dispatch** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Dispatches a handle action taking into account the routing parameters -public **forward** (*array* $forward) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **forward** (*array* $forward) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) -Forwards the execution flow to another controller/action Dispatchers are unique per module. Forwarding between modules is not allowed +Forwards the execution flow to another controller/action. ```php dispatcher->forward( ``` -public **wasForwarded** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **wasForwarded** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Check if the current executed action was forwarded by another one -public **getHandlerClass** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getHandlerClass** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Possible class name that will be located to dispatch the request -public **getBoundModels** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getBoundModels** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns bound models from binder instance @@ -266,6 +275,6 @@ class UserController extends Controller ``` -protected **_resolveEmptyProperties** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +protected **_resolveEmptyProperties** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Set empty properties to their defaults (where defaults are available) \ No newline at end of file diff --git a/hu/api/Phalcon_Cli_DispatcherInterface.md b/hu/api/Phalcon_Cli_DispatcherInterface.md index 58914bf4b682..78f4d7b40c9c 100644 --- a/hu/api/Phalcon_Cli_DispatcherInterface.md +++ b/hu/api/Phalcon_Cli_DispatcherInterface.md @@ -1,6 +1,6 @@ # Interface **Phalcon\\Cli\\DispatcherInterface** -*implements* [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +*implements* [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) Source on GitHub @@ -30,70 +30,70 @@ abstract public **getActiveTask** () ... -abstract public **setActionSuffix** (*mixed* $actionSuffix) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setActionSuffix** (*mixed* $actionSuffix) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **getActionSuffix** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **getActionSuffix** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setDefaultNamespace** (*mixed* $defaultNamespace) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setDefaultNamespace** (*mixed* $defaultNamespace) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setDefaultAction** (*mixed* $actionName) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setDefaultAction** (*mixed* $actionName) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setNamespaceName** (*mixed* $namespaceName) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setNamespaceName** (*mixed* $namespaceName) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setModuleName** (*mixed* $moduleName) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setModuleName** (*mixed* $moduleName) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setActionName** (*mixed* $actionName) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setActionName** (*mixed* $actionName) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **getActionName** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **getActionName** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setParams** (*mixed* $params) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setParams** (*mixed* $params) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **getParams** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **getParams** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setParam** (*mixed* $param, *mixed* $value) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setParam** (*mixed* $param, *mixed* $value) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **getParam** (*mixed* $param, [*mixed* $filters]) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **getParam** (*mixed* $param, [*mixed* $filters]) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **hasParam** (*mixed* $param) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **hasParam** (*mixed* $param) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **isFinished** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **isFinished** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **getReturnedValue** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **getReturnedValue** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **dispatch** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **dispatch** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **forward** (*mixed* $forward) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **forward** (*mixed* $forward) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... \ No newline at end of file diff --git a/hu/api/Phalcon_Cli_Dispatcher_Exception.md b/hu/api/Phalcon_Cli_Dispatcher_Exception.md index 0eeb05860d89..fbd0a6c4292d 100644 --- a/hu/api/Phalcon_Cli_Dispatcher_Exception.md +++ b/hu/api/Phalcon_Cli_Dispatcher_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cli\\Dispatcher\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/hu/api/Phalcon_Cli_Router.md b/hu/api/Phalcon_Cli_Router.md index d2cb10a44276..5a0943627b36 100644 --- a/hu/api/Phalcon_Cli_Router.md +++ b/hu/api/Phalcon_Cli_Router.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cli\\Router** -*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface) +*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface) Source on GitHub @@ -29,7 +29,7 @@ public **__construct** ([*mixed* $defaultRoutes]) Phalcon\\Cli\\Router constructor -public **setDI** ([Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector) +public **setDI** ([Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector) Sets the dependency injector @@ -69,7 +69,7 @@ public **handle** ([*array* $arguments]) Handles routing information received from command-line arguments -public [Phalcon\Cli\Router\Route](/en/3.1.2/api/Phalcon_Cli_Router_Route) **add** (*string* $pattern, [*string/array* $paths]) +public [Phalcon\Cli\Router\Route](/en/3.2/api/Phalcon_Cli_Router_Route) **add** (*string* $pattern, [*string/array* $paths]) Adds a route to the router @@ -112,7 +112,7 @@ public **getRoutes** () Returns all the routes defined in the router -public [Phalcon\Cli\Router\Route](/en/3.1.2/api/Phalcon_Cli_Router_Route) **getRouteById** (*int* $id) +public [Phalcon\Cli\Router\Route](/en/3.2/api/Phalcon_Cli_Router_Route) **getRouteById** (*int* $id) Returns a route object by its id diff --git a/hu/api/Phalcon_Cli_Router_Exception.md b/hu/api/Phalcon_Cli_Router_Exception.md index ebd81a411422..e063b3861132 100644 --- a/hu/api/Phalcon_Cli_Router_Exception.md +++ b/hu/api/Phalcon_Cli_Router_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cli\\Router\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/hu/api/Phalcon_Db_Adapter.md b/hu/api/Phalcon_Db_Adapter.md index c1deaded19cd..a5d397a98c83 100644 --- a/hu/api/Phalcon_Db_Adapter.md +++ b/hu/api/Phalcon_Db_Adapter.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Db\\Adapter** -*implements* [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -24,7 +24,7 @@ public **__construct** (*array* $descriptor) Phalcon\\Db\\Adapter constructor -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) Sets the event manager @@ -32,7 +32,7 @@ public **getEventsManager** () Returns the internal event manager -public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) $dialect) +public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) $dialect) Sets the dialect used to produce the SQL @@ -309,11 +309,11 @@ public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExist Drops a view -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Adds a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) Modifies a table column based on a definition @@ -321,7 +321,7 @@ public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnN Drops a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Adds an index to a table @@ -329,7 +329,7 @@ public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexNam Drop an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Adds a primary key to a table @@ -337,7 +337,7 @@ public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) Drops a table's primary key -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) Adds a foreign key to a table @@ -345,7 +345,7 @@ public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $ref Drops a foreign key from a table -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Returns the SQL column definition from a column @@ -375,7 +375,7 @@ print_r( ``` -public [Phalcon\Db\Index](/en/3.1.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) +public [Phalcon\Db\Index](/en/3.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) Lists table indexes @@ -512,54 +512,54 @@ public *array* **getSQLBindTypes** () Active SQL statement in the object -abstract public **connect** ([*array* $descriptor]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **connect** ([*array* $descriptor]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **query** (*mixed* $sqlStatement, [*mixed* $placeholders], [*mixed* $dataTypes]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **query** (*mixed* $sqlStatement, [*mixed* $placeholders], [*mixed* $dataTypes]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **execute** (*mixed* $sqlStatement, [*mixed* $placeholders], [*mixed* $dataTypes]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **execute** (*mixed* $sqlStatement, [*mixed* $placeholders], [*mixed* $dataTypes]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **affectedRows** () inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **affectedRows** () inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **close** () inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **close** () inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **lastInsertId** ([*mixed* $sequenceName]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **lastInsertId** ([*mixed* $sequenceName]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **isUnderTransaction** () inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **isUnderTransaction** () inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **getInternalHandler** () inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **getInternalHandler** () inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... \ No newline at end of file diff --git a/hu/api/Phalcon_Db_AdapterInterface.md b/hu/api/Phalcon_Db_AdapterInterface.md index 2b9bec9a2acd..4c6a8f54b3f1 100644 --- a/hu/api/Phalcon_Db_AdapterInterface.md +++ b/hu/api/Phalcon_Db_AdapterInterface.md @@ -64,11 +64,11 @@ abstract public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* ... -abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) ... -abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) ... @@ -76,7 +76,7 @@ abstract public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* ... -abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) ... @@ -84,7 +84,7 @@ abstract public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* ... -abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) ... @@ -92,7 +92,7 @@ abstract public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) ... -abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) ... @@ -100,7 +100,7 @@ abstract public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mi ... -abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) ... diff --git a/hu/api/Phalcon_Db_Adapter_Pdo.md b/hu/api/Phalcon_Db_Adapter_Pdo.md index 44de7d9e6e1f..c23a014e3d58 100644 --- a/hu/api/Phalcon_Db_Adapter_Pdo.md +++ b/hu/api/Phalcon_Db_Adapter_Pdo.md @@ -1,8 +1,8 @@ # Abstract class **Phalcon\\Db\\Adapter\\Pdo** -*extends* abstract class [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +*extends* abstract class [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) -*implements* [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +*implements* [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) Source on GitHub @@ -262,35 +262,35 @@ public *array* **getErrorInfo** () Return the error info, if any -public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Name of the dialect used -public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Type of database system the adapter is used for -public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL bound parameter variables -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the event manager -public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the internal event manager -public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the dialect used to produce the SQL -public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns internal dialect instance -public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the first row in a SQL query result @@ -307,7 +307,7 @@ print_r($robot); ``` -public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Dumps the complete result of a query into an array @@ -338,7 +338,7 @@ foreach($robots as $robot) { ``` -public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the n'th field of first row in a SQL query result @@ -358,7 +358,7 @@ print_r($robot); ``` -public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RDBMS SQL syntax @@ -377,7 +377,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RBDM SQL syntax @@ -398,7 +398,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax @@ -435,7 +435,7 @@ $success = $connection->update( Warning! If $whereCondition is string it not escaped. -public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax Another, more convenient syntax @@ -456,7 +456,7 @@ UPDATE `robots` SET `name` = "Astro boy" WHERE id = 101 ``` -public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Deletes data from a table using custom RBDM SQL syntax @@ -474,7 +474,7 @@ DELETE FROM `robots` WHERE `id` = 101 ``` -public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Escapes a column/table/schema name @@ -494,11 +494,11 @@ $escapedTable = $connection->escapeIdentifier( ``` -public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets a list of columns -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Appends a LIMIT clause to $sqlQuery argument @@ -509,7 +509,7 @@ echo $connection->limit("SELECT * FROM robots", 5); ``` -public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.table @@ -522,7 +522,7 @@ var_dump( ``` -public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.view @@ -535,71 +535,71 @@ var_dump( ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a FOR UPDATE clause -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a LOCK IN SHARE MODE clause -public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a table -public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table from a schema/database -public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a view -public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a view -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Modifies a table column based on a definition -public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds an index to a table -public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drop an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a primary key to a table -public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table's primary key -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a foreign key to a table -public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a foreign key from a table -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the SQL column definition from a column -public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all tables on a database @@ -612,7 +612,7 @@ print_r( ``` -public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all views on a database @@ -625,7 +625,7 @@ print_r( ``` -public [Phalcon\Db\Index](/en/3.1.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public [Phalcon\Db\Index](/en/3.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Lists table indexes @@ -638,7 +638,7 @@ print_r( ``` -public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Lists table references @@ -651,7 +651,7 @@ print_r( ``` -public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets creation options from a table @@ -664,31 +664,31 @@ print_r( ``` -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Releases given savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Rollbacks given savepoint -public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Set if nested transactions should use savepoints -public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns if nested transactions should use savepoints -public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the savepoint name to use for nested transactions -public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default identity value to be inserted in an identity column @@ -712,7 +712,7 @@ $success = $connection->insert( ``` -public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default value to make the RBDM use the default value declared in the table definition @@ -734,34 +734,34 @@ $success = $connection->insert( ``` -public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Check whether the database system requires a sequence to produce auto-numeric values -public **useExplicitIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **useExplicitIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Check whether the database system requires an explicit value for identity columns -public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Return descriptor used to connect to the active database -public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets the active connection unique identifier -public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object -public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object without replace bound parameters -public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object -abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... \ No newline at end of file diff --git a/hu/api/Phalcon_Db_Adapter_Pdo_Mysql.md b/hu/api/Phalcon_Db_Adapter_Pdo_Mysql.md index fe17030fddcf..5013bf0def80 100644 --- a/hu/api/Phalcon_Db_Adapter_Pdo_Mysql.md +++ b/hu/api/Phalcon_Db_Adapter_Pdo_Mysql.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Adapter\\Pdo\\Mysql** -*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) -*implements* [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -40,7 +40,7 @@ print_r( ``` -public [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface[]) **describeIndexes** (*string* $table, [*string* $schema]) +public [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface[]) **describeIndexes** (*string* $table, [*string* $schema]) Lists table indexes @@ -66,11 +66,11 @@ print_r( ``` -public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Constructor for Phalcon\\Db\\Adapter\\Pdo -public **connect** ([*array* $descriptor]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **connect** ([*array* $descriptor]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) This method is automatically called in \\Phalcon\\Db\\Adapter\\Pdo constructor. Call it when you need to restore a database connection. @@ -95,7 +95,7 @@ $connection->connect(); ``` -public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns a PDO prepared statement to be executed with 'executePrepared' @@ -120,7 +120,7 @@ $result = $connection->executePrepared( ``` -public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Executes a prepared statement binding. This function uses integer indexes starting from zero @@ -145,7 +145,7 @@ $result = $connection->executePrepared( ``` -public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server is returning rows @@ -166,7 +166,7 @@ $resultset = $connection->query( ``` -public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server doesn't return any rows @@ -188,7 +188,7 @@ $success = $connection->execute( ``` -public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the number of affected rows by the latest INSERT/UPDATE/DELETE executed in the database system @@ -203,11 +203,11 @@ echo $connection->affectedRows(), " were deleted"; ``` -public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Closes the active connection returning success. Phalcon automatically closes and destroys active connections when the request ends -public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Escapes a value to avoid SQL injections according to the active charset in the connection @@ -218,7 +218,7 @@ $escapedStr = $connection->escapeString("some dangerous value"); ``` -public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Converts bound parameters such as :name: or ?1 into PDO bind params ? @@ -236,7 +236,7 @@ print_r( ``` -public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the insert id for the auto_increment/serial column inserted in the latest executed SQL statement @@ -261,23 +261,23 @@ $id = $connection->lastInsertId(); ``` -public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Starts a transaction in the connection -public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Rollbacks the active transaction in the connection -public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Commits the active transaction in the connection -public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the current transaction nesting level -public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Checks whether the connection is under a transaction @@ -293,43 +293,43 @@ var_dump( ``` -public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return internal PDO handler -public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return the error info, if any -public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Name of the dialect used -public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Type of database system the adapter is used for -public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL bound parameter variables -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the event manager -public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the internal event manager -public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the dialect used to produce the SQL -public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns internal dialect instance -public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the first row in a SQL query result @@ -346,7 +346,7 @@ print_r($robot); ``` -public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Dumps the complete result of a query into an array @@ -377,7 +377,7 @@ foreach($robots as $robot) { ``` -public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the n'th field of first row in a SQL query result @@ -397,7 +397,7 @@ print_r($robot); ``` -public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RDBMS SQL syntax @@ -416,7 +416,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RBDM SQL syntax @@ -437,7 +437,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax @@ -474,7 +474,7 @@ $success = $connection->update( Warning! If $whereCondition is string it not escaped. -public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax Another, more convenient syntax @@ -495,7 +495,7 @@ UPDATE `robots` SET `name` = "Astro boy" WHERE id = 101 ``` -public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Deletes data from a table using custom RBDM SQL syntax @@ -513,7 +513,7 @@ DELETE FROM `robots` WHERE `id` = 101 ``` -public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Escapes a column/table/schema name @@ -533,11 +533,11 @@ $escapedTable = $connection->escapeIdentifier( ``` -public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets a list of columns -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Appends a LIMIT clause to $sqlQuery argument @@ -548,7 +548,7 @@ echo $connection->limit("SELECT * FROM robots", 5); ``` -public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.table @@ -561,7 +561,7 @@ var_dump( ``` -public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.view @@ -574,71 +574,71 @@ var_dump( ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a FOR UPDATE clause -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a LOCK IN SHARE MODE clause -public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a table -public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table from a schema/database -public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a view -public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a view -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Modifies a table column based on a definition -public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds an index to a table -public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drop an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a primary key to a table -public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table's primary key -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a foreign key to a table -public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a foreign key from a table -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the SQL column definition from a column -public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all tables on a database @@ -651,7 +651,7 @@ print_r( ``` -public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all views on a database @@ -664,7 +664,7 @@ print_r( ``` -public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets creation options from a table @@ -677,31 +677,31 @@ print_r( ``` -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Releases given savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Rollbacks given savepoint -public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Set if nested transactions should use savepoints -public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns if nested transactions should use savepoints -public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the savepoint name to use for nested transactions -public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default identity value to be inserted in an identity column @@ -725,7 +725,7 @@ $success = $connection->insert( ``` -public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default value to make the RBDM use the default value declared in the table definition @@ -747,30 +747,30 @@ $success = $connection->insert( ``` -public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Check whether the database system requires a sequence to produce auto-numeric values -public **useExplicitIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **useExplicitIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Check whether the database system requires an explicit value for identity columns -public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Return descriptor used to connect to the active database -public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets the active connection unique identifier -public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object -public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object without replace bound parameters -public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object \ No newline at end of file diff --git a/hu/api/Phalcon_Db_Adapter_Pdo_Postgresql.md b/hu/api/Phalcon_Db_Adapter_Pdo_Postgresql.md index c7f35273d52a..9a66f69a4ec1 100644 --- a/hu/api/Phalcon_Db_Adapter_Pdo_Postgresql.md +++ b/hu/api/Phalcon_Db_Adapter_Pdo_Postgresql.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Adapter\\Pdo\\Postgresql** -*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) -*implements* [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -48,7 +48,7 @@ public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $defini Creates a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) Modifies a table column based on a definition @@ -84,11 +84,11 @@ public **supportSequences** () Check whether the database system requires a sequence to produce auto-numeric values -public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Constructor for Phalcon\\Db\\Adapter\\Pdo -public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns a PDO prepared statement to be executed with 'executePrepared' @@ -113,7 +113,7 @@ $result = $connection->executePrepared( ``` -public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Executes a prepared statement binding. This function uses integer indexes starting from zero @@ -138,7 +138,7 @@ $result = $connection->executePrepared( ``` -public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server is returning rows @@ -159,7 +159,7 @@ $resultset = $connection->query( ``` -public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server doesn't return any rows @@ -181,7 +181,7 @@ $success = $connection->execute( ``` -public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the number of affected rows by the latest INSERT/UPDATE/DELETE executed in the database system @@ -196,11 +196,11 @@ echo $connection->affectedRows(), " were deleted"; ``` -public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Closes the active connection returning success. Phalcon automatically closes and destroys active connections when the request ends -public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Escapes a value to avoid SQL injections according to the active charset in the connection @@ -211,7 +211,7 @@ $escapedStr = $connection->escapeString("some dangerous value"); ``` -public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Converts bound parameters such as :name: or ?1 into PDO bind params ? @@ -229,7 +229,7 @@ print_r( ``` -public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the insert id for the auto_increment/serial column inserted in the latest executed SQL statement @@ -254,23 +254,23 @@ $id = $connection->lastInsertId(); ``` -public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Starts a transaction in the connection -public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Rollbacks the active transaction in the connection -public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Commits the active transaction in the connection -public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the current transaction nesting level -public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Checks whether the connection is under a transaction @@ -286,43 +286,43 @@ var_dump( ``` -public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return internal PDO handler -public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return the error info, if any -public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Name of the dialect used -public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Type of database system the adapter is used for -public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL bound parameter variables -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the event manager -public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the internal event manager -public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the dialect used to produce the SQL -public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns internal dialect instance -public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the first row in a SQL query result @@ -339,7 +339,7 @@ print_r($robot); ``` -public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Dumps the complete result of a query into an array @@ -370,7 +370,7 @@ foreach($robots as $robot) { ``` -public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the n'th field of first row in a SQL query result @@ -390,7 +390,7 @@ print_r($robot); ``` -public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RDBMS SQL syntax @@ -409,7 +409,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RBDM SQL syntax @@ -430,7 +430,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax @@ -467,7 +467,7 @@ $success = $connection->update( Warning! If $whereCondition is string it not escaped. -public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax Another, more convenient syntax @@ -488,7 +488,7 @@ UPDATE `robots` SET `name` = "Astro boy" WHERE id = 101 ``` -public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Deletes data from a table using custom RBDM SQL syntax @@ -506,7 +506,7 @@ DELETE FROM `robots` WHERE `id` = 101 ``` -public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Escapes a column/table/schema name @@ -526,11 +526,11 @@ $escapedTable = $connection->escapeIdentifier( ``` -public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets a list of columns -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Appends a LIMIT clause to $sqlQuery argument @@ -541,7 +541,7 @@ echo $connection->limit("SELECT * FROM robots", 5); ``` -public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.table @@ -554,7 +554,7 @@ var_dump( ``` -public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.view @@ -567,63 +567,63 @@ var_dump( ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a FOR UPDATE clause -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a LOCK IN SHARE MODE clause -public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table from a schema/database -public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a view -public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a view -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a column to a table -public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds an index to a table -public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drop an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a primary key to a table -public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table's primary key -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a foreign key to a table -public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a foreign key from a table -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the SQL column definition from a column -public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all tables on a database @@ -636,7 +636,7 @@ print_r( ``` -public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all views on a database @@ -649,7 +649,7 @@ print_r( ``` -public [Phalcon\Db\Index](/en/3.1.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public [Phalcon\Db\Index](/en/3.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Lists table indexes @@ -662,7 +662,7 @@ print_r( ``` -public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Lists table references @@ -675,7 +675,7 @@ print_r( ``` -public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets creation options from a table @@ -688,31 +688,31 @@ print_r( ``` -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Releases given savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Rollbacks given savepoint -public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Set if nested transactions should use savepoints -public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns if nested transactions should use savepoints -public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the savepoint name to use for nested transactions -public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default value to make the RBDM use the default value declared in the table definition @@ -734,22 +734,22 @@ $success = $connection->insert( ``` -public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Return descriptor used to connect to the active database -public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets the active connection unique identifier -public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object -public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object without replace bound parameters -public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object \ No newline at end of file diff --git a/hu/api/Phalcon_Db_Adapter_Pdo_Sqlite.md b/hu/api/Phalcon_Db_Adapter_Pdo_Sqlite.md index 1f92cfbfc6bd..a568c933ce4a 100644 --- a/hu/api/Phalcon_Db_Adapter_Pdo_Sqlite.md +++ b/hu/api/Phalcon_Db_Adapter_Pdo_Sqlite.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Adapter\\Pdo\\Sqlite** -*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) -*implements* [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -40,7 +40,7 @@ print_r( ``` -public [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface[]) **describeIndexes** (*string* $table, [*string* $schema]) +public [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface[]) **describeIndexes** (*string* $table, [*string* $schema]) Lists table indexes @@ -53,7 +53,7 @@ print_r( ``` -public [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface[]) **describeReferences** (*string* $table, [*string* $schema]) +public [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface[]) **describeReferences** (*string* $table, [*string* $schema]) Lists table references @@ -83,11 +83,11 @@ $success = $connection->insert( ``` -public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Constructor for Phalcon\\Db\\Adapter\\Pdo -public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns a PDO prepared statement to be executed with 'executePrepared' @@ -112,7 +112,7 @@ $result = $connection->executePrepared( ``` -public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Executes a prepared statement binding. This function uses integer indexes starting from zero @@ -137,7 +137,7 @@ $result = $connection->executePrepared( ``` -public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server is returning rows @@ -158,7 +158,7 @@ $resultset = $connection->query( ``` -public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server doesn't return any rows @@ -180,7 +180,7 @@ $success = $connection->execute( ``` -public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the number of affected rows by the latest INSERT/UPDATE/DELETE executed in the database system @@ -195,11 +195,11 @@ echo $connection->affectedRows(), " were deleted"; ``` -public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Closes the active connection returning success. Phalcon automatically closes and destroys active connections when the request ends -public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Escapes a value to avoid SQL injections according to the active charset in the connection @@ -210,7 +210,7 @@ $escapedStr = $connection->escapeString("some dangerous value"); ``` -public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Converts bound parameters such as :name: or ?1 into PDO bind params ? @@ -228,7 +228,7 @@ print_r( ``` -public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the insert id for the auto_increment/serial column inserted in the latest executed SQL statement @@ -253,23 +253,23 @@ $id = $connection->lastInsertId(); ``` -public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Starts a transaction in the connection -public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Rollbacks the active transaction in the connection -public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Commits the active transaction in the connection -public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the current transaction nesting level -public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Checks whether the connection is under a transaction @@ -285,43 +285,43 @@ var_dump( ``` -public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return internal PDO handler -public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return the error info, if any -public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Name of the dialect used -public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Type of database system the adapter is used for -public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL bound parameter variables -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the event manager -public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the internal event manager -public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the dialect used to produce the SQL -public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns internal dialect instance -public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the first row in a SQL query result @@ -338,7 +338,7 @@ print_r($robot); ``` -public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Dumps the complete result of a query into an array @@ -369,7 +369,7 @@ foreach($robots as $robot) { ``` -public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the n'th field of first row in a SQL query result @@ -389,7 +389,7 @@ print_r($robot); ``` -public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RDBMS SQL syntax @@ -408,7 +408,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RBDM SQL syntax @@ -429,7 +429,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax @@ -466,7 +466,7 @@ $success = $connection->update( Warning! If $whereCondition is string it not escaped. -public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax Another, more convenient syntax @@ -487,7 +487,7 @@ UPDATE `robots` SET `name` = "Astro boy" WHERE id = 101 ``` -public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Deletes data from a table using custom RBDM SQL syntax @@ -505,7 +505,7 @@ DELETE FROM `robots` WHERE `id` = 101 ``` -public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Escapes a column/table/schema name @@ -525,11 +525,11 @@ $escapedTable = $connection->escapeIdentifier( ``` -public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets a list of columns -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Appends a LIMIT clause to $sqlQuery argument @@ -540,7 +540,7 @@ echo $connection->limit("SELECT * FROM robots", 5); ``` -public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.table @@ -553,7 +553,7 @@ var_dump( ``` -public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.view @@ -566,71 +566,71 @@ var_dump( ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a FOR UPDATE clause -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a LOCK IN SHARE MODE clause -public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a table -public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table from a schema/database -public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a view -public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a view -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Modifies a table column based on a definition -public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds an index to a table -public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drop an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a primary key to a table -public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table's primary key -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a foreign key to a table -public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a foreign key from a table -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the SQL column definition from a column -public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all tables on a database @@ -643,7 +643,7 @@ print_r( ``` -public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all views on a database @@ -656,7 +656,7 @@ print_r( ``` -public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets creation options from a table @@ -669,31 +669,31 @@ print_r( ``` -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Releases given savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Rollbacks given savepoint -public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Set if nested transactions should use savepoints -public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns if nested transactions should use savepoints -public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the savepoint name to use for nested transactions -public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default identity value to be inserted in an identity column @@ -717,26 +717,26 @@ $success = $connection->insert( ``` -public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Check whether the database system requires a sequence to produce auto-numeric values -public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Return descriptor used to connect to the active database -public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets the active connection unique identifier -public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object -public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object without replace bound parameters -public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object \ No newline at end of file diff --git a/hu/api/Phalcon_Db_Column.md b/hu/api/Phalcon_Db_Column.md index ab2fdfb7a40e..fe0210a2b411 100644 --- a/hu/api/Phalcon_Db_Column.md +++ b/hu/api/Phalcon_Db_Column.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Db\\Column** -*implements* [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) +*implements* [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) Source on GitHub diff --git a/hu/api/Phalcon_Db_Dialect.md b/hu/api/Phalcon_Db_Dialect.md index 11c52ea58df4..df25f0af03ab 100644 --- a/hu/api/Phalcon_Db_Dialect.md +++ b/hu/api/Phalcon_Db_Dialect.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Db\\Dialect** -*implements* [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +*implements* [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) Source on GitHub @@ -199,86 +199,86 @@ protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $es Prepares qualified for this RDBMS -abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropTable** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropTable** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **describeIndexes** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **describeIndexes** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **tableOptions** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **tableOptions** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... \ No newline at end of file diff --git a/hu/api/Phalcon_Db_DialectInterface.md b/hu/api/Phalcon_Db_DialectInterface.md index 0bf993854d79..90ee58afb9e1 100644 --- a/hu/api/Phalcon_Db_DialectInterface.md +++ b/hu/api/Phalcon_Db_DialectInterface.md @@ -24,15 +24,15 @@ abstract public **getColumnList** (*array* $columnList) ... -abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) ... -abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) ... -abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) ... @@ -40,7 +40,7 @@ abstract public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* ... -abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) ... @@ -48,7 +48,7 @@ abstract public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* ... -abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) ... @@ -56,7 +56,7 @@ abstract public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) ... -abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) ... diff --git a/hu/api/Phalcon_Db_Dialect_Mysql.md b/hu/api/Phalcon_Db_Dialect_Mysql.md index 6178388fc739..d1a80102e14c 100644 --- a/hu/api/Phalcon_Db_Dialect_Mysql.md +++ b/hu/api/Phalcon_Db_Dialect_Mysql.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Dialect\\Mysql** -*extends* abstract class [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +*extends* abstract class [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) -*implements* [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +*implements* [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) Source on GitHub @@ -10,15 +10,15 @@ Generates database specific SQL for the MySQL RDBMS ## Methods -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Gets the column name in MySQL -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Generates SQL to add a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) Generates SQL to modify a column in a table @@ -26,7 +26,7 @@ public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnN Generates SQL to delete a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add an index to a table @@ -34,7 +34,7 @@ public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexNam Generates SQL to delete an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add the primary key to a table @@ -42,7 +42,7 @@ public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) Generates SQL to delete primary key from a table -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) Generates SQL to add an index to a table @@ -133,23 +133,23 @@ protected **_getTableOptions** (*array* $definition) Generates SQL to add the table creation options -public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Registers custom SQL functions -public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns registered functions -final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape Schema -final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape identifiers -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generates the SQL for LIMIT clause @@ -164,7 +164,7 @@ echo $sql; // SELECT * FROM robots LIMIT 10 OFFSET 50 ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a FOR UPDATE clause @@ -176,7 +176,7 @@ echo $sql; // SELECT * FROM robots FOR UPDATE ``` -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a LOCK IN SHARE MODE clause @@ -188,7 +188,7 @@ echo $sql; // SELECT * FROM robots LOCK IN SHARE MODE ``` -final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Gets a list of columns with escaped identifiers @@ -204,122 +204,122 @@ echo $dialect->getColumnList( ``` -final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transforms an intermediate representation for an expression into a database system valid expression -final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transform an intermediate representation of a schema/table into a database system valid expression -public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Builds a SELECT statement -public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports savepoints -public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports releasing savepoints. -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to create a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to release a savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to rollback a savepoint -final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve object expressions -final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve qualified expressions -final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve binary operations expressions -final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve unary operations expressions -final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve function calls -final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Lists -final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve * -final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CAST of values -final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CONVERT of values encodings -final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CASE expressions -final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a FROM clause -final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a JOINs clause -final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a WHERE clause -final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a GROUP BY clause -final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a HAVING clause -final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve an ORDER BY clause -final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a LIMIT clause -protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares column for this RDBMS -protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares table for this RDBMS -protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares qualified for this RDBMS \ No newline at end of file diff --git a/hu/api/Phalcon_Db_Dialect_Postgresql.md b/hu/api/Phalcon_Db_Dialect_Postgresql.md index 01fe5982984c..f10d03525235 100644 --- a/hu/api/Phalcon_Db_Dialect_Postgresql.md +++ b/hu/api/Phalcon_Db_Dialect_Postgresql.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Dialect\\Postgresql** -*extends* abstract class [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +*extends* abstract class [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) -*implements* [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +*implements* [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) Source on GitHub @@ -10,15 +10,15 @@ Generates database specific SQL for the PostgreSQL RDBMS ## Methods -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Gets the column name in PostgreSQL -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Generates SQL to add a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) Generates SQL to modify a column in a table @@ -26,7 +26,7 @@ public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnN Generates SQL to delete a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add an index to a table @@ -34,7 +34,7 @@ public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexNam Generates SQL to delete an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add the primary key to a table @@ -42,7 +42,7 @@ public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) Generates SQL to delete primary key from a table -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) Generates SQL to add an index to a table @@ -129,7 +129,7 @@ public **tableOptions** (*mixed* $table, [*mixed* $schema]) Generates the SQL to describe the table creation options -protected **_castDefault** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +protected **_castDefault** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) ... @@ -137,23 +137,23 @@ protected **_getTableOptions** (*array* $definition) ... -public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Registers custom SQL functions -public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns registered functions -final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape Schema -final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape identifiers -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generates the SQL for LIMIT clause @@ -168,7 +168,7 @@ echo $sql; // SELECT * FROM robots LIMIT 10 OFFSET 50 ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a FOR UPDATE clause @@ -180,7 +180,7 @@ echo $sql; // SELECT * FROM robots FOR UPDATE ``` -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a LOCK IN SHARE MODE clause @@ -192,7 +192,7 @@ echo $sql; // SELECT * FROM robots LOCK IN SHARE MODE ``` -final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Gets a list of columns with escaped identifiers @@ -208,122 +208,122 @@ echo $dialect->getColumnList( ``` -final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transforms an intermediate representation for an expression into a database system valid expression -final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transform an intermediate representation of a schema/table into a database system valid expression -public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Builds a SELECT statement -public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports savepoints -public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports releasing savepoints. -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to create a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to release a savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to rollback a savepoint -final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve object expressions -final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve qualified expressions -final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve binary operations expressions -final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve unary operations expressions -final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve function calls -final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Lists -final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve * -final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CAST of values -final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CONVERT of values encodings -final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CASE expressions -final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a FROM clause -final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a JOINs clause -final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a WHERE clause -final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a GROUP BY clause -final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a HAVING clause -final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve an ORDER BY clause -final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a LIMIT clause -protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares column for this RDBMS -protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares table for this RDBMS -protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares qualified for this RDBMS \ No newline at end of file diff --git a/hu/api/Phalcon_Db_Dialect_Sqlite.md b/hu/api/Phalcon_Db_Dialect_Sqlite.md index 7b38162151a0..dabec6d39e49 100644 --- a/hu/api/Phalcon_Db_Dialect_Sqlite.md +++ b/hu/api/Phalcon_Db_Dialect_Sqlite.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Dialect\\Sqlite** -*extends* abstract class [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +*extends* abstract class [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) -*implements* [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +*implements* [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) Source on GitHub @@ -10,15 +10,15 @@ Generates database specific SQL for the Sqlite RDBMS ## Methods -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Gets the column name in SQLite -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Generates SQL to add a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) Generates SQL to modify a column in a table @@ -26,7 +26,7 @@ public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnN Generates SQL to delete a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add an index to a table @@ -34,7 +34,7 @@ public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexNam Generates SQL to delete an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add the primary key to a table @@ -42,7 +42,7 @@ public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) Generates SQL to delete primary key from a table -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) Generates SQL to add an index to a table @@ -146,23 +146,23 @@ public **tableOptions** (*mixed* $table, [*mixed* $schema]) Generates the SQL to describe the table creation options -public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Registers custom SQL functions -public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns registered functions -final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape Schema -final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape identifiers -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generates the SQL for LIMIT clause @@ -177,7 +177,7 @@ echo $sql; // SELECT * FROM robots LIMIT 10 OFFSET 50 ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a FOR UPDATE clause @@ -189,7 +189,7 @@ echo $sql; // SELECT * FROM robots FOR UPDATE ``` -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a LOCK IN SHARE MODE clause @@ -201,7 +201,7 @@ echo $sql; // SELECT * FROM robots LOCK IN SHARE MODE ``` -final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Gets a list of columns with escaped identifiers @@ -217,122 +217,122 @@ echo $dialect->getColumnList( ``` -final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transforms an intermediate representation for an expression into a database system valid expression -final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transform an intermediate representation of a schema/table into a database system valid expression -public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Builds a SELECT statement -public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports savepoints -public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports releasing savepoints. -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to create a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to release a savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to rollback a savepoint -final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve object expressions -final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve qualified expressions -final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve binary operations expressions -final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve unary operations expressions -final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve function calls -final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Lists -final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve * -final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CAST of values -final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CONVERT of values encodings -final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CASE expressions -final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a FROM clause -final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a JOINs clause -final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a WHERE clause -final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a GROUP BY clause -final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a HAVING clause -final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve an ORDER BY clause -final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a LIMIT clause -protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares column for this RDBMS -protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares table for this RDBMS -protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares qualified for this RDBMS \ No newline at end of file diff --git a/hu/api/Phalcon_Db_Exception.md b/hu/api/Phalcon_Db_Exception.md index 839c2d00fbf8..00160179b065 100644 --- a/hu/api/Phalcon_Db_Exception.md +++ b/hu/api/Phalcon_Db_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Db\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/hu/api/Phalcon_Db_Index.md b/hu/api/Phalcon_Db_Index.md index 60a5b41f764f..9ca94ad0e146 100644 --- a/hu/api/Phalcon_Db_Index.md +++ b/hu/api/Phalcon_Db_Index.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Db\\Index** -*implements* [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) +*implements* [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) Source on GitHub diff --git a/hu/api/Phalcon_Db_Profiler.md b/hu/api/Phalcon_Db_Profiler.md index 05a913cb9c2c..1d6dde6d6e69 100644 --- a/hu/api/Phalcon_Db_Profiler.md +++ b/hu/api/Phalcon_Db_Profiler.md @@ -31,7 +31,7 @@ echo "Total Elapsed Time: ", $profile->getTotalElapsedSeconds(), "\n"; ## Methods -public [Phalcon\Db\Profiler](/en/3.1.2/api/Phalcon_Db_Profiler) **startProfile** (*string* $sqlStatement, [*mixed* $sqlVariables], [*mixed* $sqlBindTypes]) +public [Phalcon\Db\Profiler](/en/3.2/api/Phalcon_Db_Profiler) **startProfile** (*string* $sqlStatement, [*mixed* $sqlVariables], [*mixed* $sqlBindTypes]) Starts the profile of a SQL sentence diff --git a/hu/api/Phalcon_Db_Reference.md b/hu/api/Phalcon_Db_Reference.md index 30ac1a686521..2e83e14de226 100644 --- a/hu/api/Phalcon_Db_Reference.md +++ b/hu/api/Phalcon_Db_Reference.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Db\\Reference** -*implements* [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) +*implements* [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) Source on GitHub diff --git a/hu/api/Phalcon_Db_Result_Pdo.md b/hu/api/Phalcon_Db_Result_Pdo.md index 2e053d67ae6f..91808dece71f 100644 --- a/hu/api/Phalcon_Db_Result_Pdo.md +++ b/hu/api/Phalcon_Db_Result_Pdo.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Db\\Result\\Pdo** -*implements* [Phalcon\Db\ResultInterface](/en/3.1.2/api/Phalcon_Db_ResultInterface) +*implements* [Phalcon\Db\ResultInterface](/en/3.2/api/Phalcon_Db_ResultInterface) Source on GitHub @@ -23,7 +23,7 @@ while ($robot = $result->fetchArray()) { ## Methods -public **__construct** ([Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) $connection, [PDOStatement](http://php.net/manual/en/class.pdostatement.php) $result, [*string* $sqlStatement], [*array* $bindParams], [*array* $bindTypes]) +public **__construct** ([Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) $connection, [PDOStatement](http://php.net/manual/en/class.pdostatement.php) $result, [*string* $sqlStatement], [*array* $bindParams], [*array* $bindTypes]) Phalcon\\Db\\Result\\Pdo constructor diff --git a/id/api/Phalcon_Acl_Adapter.md b/id/api/Phalcon_Acl_Adapter.md index 9f86a2a2a142..1696a50b6e15 100644 --- a/id/api/Phalcon_Acl_Adapter.md +++ b/id/api/Phalcon_Acl_Adapter.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Acl\\Adapter** -*implements* [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -20,7 +20,7 @@ public **getActiveAccess** () Active access which the list is checking if some role can access it -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) Sets the events manager @@ -36,58 +36,58 @@ public **getDefaultAction** () Returns the default ACL access level -abstract public **setNoArgumentsDefaultAction** (*mixed* $defaultAccess) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **setNoArgumentsDefaultAction** (*mixed* $defaultAccess) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **getNoArgumentsDefaultAction** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **getNoArgumentsDefaultAction** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **addRole** (*mixed* $role, [*mixed* $accessInherits]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **addRole** (*mixed* $role, [*mixed* $accessInherits]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **addInherit** (*mixed* $roleName, *mixed* $roleToInherit) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **addInherit** (*mixed* $roleName, *mixed* $roleToInherit) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **isRole** (*mixed* $roleName) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **isRole** (*mixed* $roleName) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **isResource** (*mixed* $resourceName) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **isResource** (*mixed* $resourceName) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **addResource** (*mixed* $resourceObject, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **addResource** (*mixed* $resourceObject, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **addResourceAccess** (*mixed* $resourceName, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **addResourceAccess** (*mixed* $resourceName, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **dropResourceAccess** (*mixed* $resourceName, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **dropResourceAccess** (*mixed* $resourceName, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **allow** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*mixed* $func]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **allow** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*mixed* $func]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **deny** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*mixed* $func]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **deny** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*mixed* $func]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **isAllowed** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*array* $parameters]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **isAllowed** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*array* $parameters]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **getRoles** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **getRoles** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **getResources** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **getResources** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... \ No newline at end of file diff --git a/id/api/Phalcon_Acl_Adapter_Memory.md b/id/api/Phalcon_Acl_Adapter_Memory.md index e9ea95ccda45..889751c95b98 100644 --- a/id/api/Phalcon_Acl_Adapter_Memory.md +++ b/id/api/Phalcon_Acl_Adapter_Memory.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Acl\\Adapter\\Memory** -*extends* abstract class [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +*extends* abstract class [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) -*implements* [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +*implements* [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) Source on GitHub @@ -105,7 +105,7 @@ public **isResource** (*mixed* $resourceName) Check whether resource exist in the resources list -public **addResource** ([Phalcon\Acl\Resource](/en/3.1.2/api/Phalcon_Acl_Resource) | *string* $resourceValue, *array* | *string* $accessList) +public **addResource** ([Phalcon\Acl\Resource](/en/3.2/api/Phalcon_Acl_Resource) | *string* $resourceValue, *array* | *string* $accessList) Adds a resource to the ACL list Access names can be a particular action, by example search, update, delete, etc or a list of them Example: @@ -224,30 +224,30 @@ public **getResources** () Return an array with every resource registered in the list -public **getActiveRole** () inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **getActiveRole** () inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Role which the list is checking if it's allowed to certain resource/access -public **getActiveResource** () inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **getActiveResource** () inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Resource which the list is checking if some role can access it -public **getActiveAccess** () inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **getActiveAccess** () inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Active access which the list is checking if some role can access it -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Sets the events manager -public **getEventsManager** () inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **getEventsManager** () inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Returns the internal event manager -public **setDefaultAction** (*mixed* $defaultAccess) inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **setDefaultAction** (*mixed* $defaultAccess) inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Sets the default access level (Phalcon\\Acl::ALLOW or Phalcon\\Acl::DENY) -public **getDefaultAction** () inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **getDefaultAction** () inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Returns the default ACL access level \ No newline at end of file diff --git a/id/api/Phalcon_Acl_Exception.md b/id/api/Phalcon_Acl_Exception.md index 153094579c30..9c1b44ab7b5d 100644 --- a/id/api/Phalcon_Acl_Exception.md +++ b/id/api/Phalcon_Acl_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Acl\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/id/api/Phalcon_Acl_Resource.md b/id/api/Phalcon_Acl_Resource.md index 1663e1ad2e93..25ac2d3e792b 100644 --- a/id/api/Phalcon_Acl_Resource.md +++ b/id/api/Phalcon_Acl_Resource.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Acl\\Resource** -*implements* [Phalcon\Acl\ResourceInterface](/en/3.1.2/api/Phalcon_Acl_ResourceInterface) +*implements* [Phalcon\Acl\ResourceInterface](/en/3.2/api/Phalcon_Acl_ResourceInterface) Source on GitHub diff --git a/id/api/Phalcon_Acl_Role.md b/id/api/Phalcon_Acl_Role.md index e105183dd7f4..c8252648d6c8 100644 --- a/id/api/Phalcon_Acl_Role.md +++ b/id/api/Phalcon_Acl_Role.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Acl\\Role** -*implements* [Phalcon\Acl\RoleInterface](/en/3.1.2/api/Phalcon_Acl_RoleInterface) +*implements* [Phalcon\Acl\RoleInterface](/en/3.2/api/Phalcon_Acl_RoleInterface) Source on GitHub diff --git a/id/api/Phalcon_Annotations_Adapter.md b/id/api/Phalcon_Annotations_Adapter.md index 7a2b31fc4dc1..d42ac348bbc9 100644 --- a/id/api/Phalcon_Annotations_Adapter.md +++ b/id/api/Phalcon_Annotations_Adapter.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Annotations\\Adapter** -*implements* [Phalcon\Annotations\AdapterInterface](/en/3.1.2/api/Phalcon_Annotations_AdapterInterface) +*implements* [Phalcon\Annotations\AdapterInterface](/en/3.2/api/Phalcon_Annotations_AdapterInterface) Source on GitHub @@ -8,7 +8,7 @@ This is the base class for Phalcon\\Annotations adapters ## Methods -public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) +public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) Sets the annotations parser diff --git a/id/api/Phalcon_Annotations_AdapterInterface.md b/id/api/Phalcon_Annotations_AdapterInterface.md index a4e2c689503a..a1ff65cb01a1 100644 --- a/id/api/Phalcon_Annotations_AdapterInterface.md +++ b/id/api/Phalcon_Annotations_AdapterInterface.md @@ -4,7 +4,7 @@ ## Methods -abstract public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) +abstract public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) ... diff --git a/id/api/Phalcon_Annotations_Adapter_Apc.md b/id/api/Phalcon_Annotations_Adapter_Apc.md index 1b8a1d6d0d7d..467622a88425 100644 --- a/id/api/Phalcon_Annotations_Adapter_Apc.md +++ b/id/api/Phalcon_Annotations_Adapter_Apc.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Annotations\\Adapter\\Apc** -*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) -*implements* [Phalcon\Annotations\AdapterInterface](/en/3.1.2/api/Phalcon_Annotations_AdapterInterface) +*implements* [Phalcon\Annotations\AdapterInterface](/en/3.2/api/Phalcon_Annotations_AdapterInterface) Source on GitHub @@ -27,34 +27,34 @@ public **read** (*mixed* $key) Reads parsed annotations from APC -public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) $data) +public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) $data) Writes parsed annotations to APC -public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Sets the annotations parser -public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotation reader -public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Parses or retrieves all the annotations found in a class -public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific method -public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific property \ No newline at end of file diff --git a/id/api/Phalcon_Annotations_Adapter_Files.md b/id/api/Phalcon_Annotations_Adapter_Files.md index fcb4c23e6c2e..e4c407e5954e 100644 --- a/id/api/Phalcon_Annotations_Adapter_Files.md +++ b/id/api/Phalcon_Annotations_Adapter_Files.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Annotations\\Adapter\\Files** -*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) -*implements* [Phalcon\Annotations\AdapterInterface](/en/3.1.2/api/Phalcon_Annotations_AdapterInterface) +*implements* [Phalcon\Annotations\AdapterInterface](/en/3.2/api/Phalcon_Annotations_AdapterInterface) Source on GitHub @@ -27,38 +27,38 @@ public **__construct** ([*array* $options]) Phalcon\\Annotations\\Adapter\\Files constructor -public [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) **read** (*string* $key) +public [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) **read** (*string* $key) Reads parsed annotations from files -public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) $data) +public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) $data) Writes parsed annotations to files -public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Sets the annotations parser -public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotation reader -public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Parses or retrieves all the annotations found in a class -public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific method -public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific property \ No newline at end of file diff --git a/id/api/Phalcon_Annotations_Adapter_Memory.md b/id/api/Phalcon_Annotations_Adapter_Memory.md index 53fc2e3769c7..205f20e6b1b8 100644 --- a/id/api/Phalcon_Annotations_Adapter_Memory.md +++ b/id/api/Phalcon_Annotations_Adapter_Memory.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Annotations\\Adapter\\Memory** -*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) -*implements* [Phalcon\Annotations\AdapterInterface](/en/3.1.2/api/Phalcon_Annotations_AdapterInterface) +*implements* [Phalcon\Annotations\AdapterInterface](/en/3.2/api/Phalcon_Annotations_AdapterInterface) Source on GitHub @@ -14,34 +14,34 @@ public **read** (*mixed* $key) Reads parsed annotations from memory -public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) $data) +public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) $data) Writes parsed annotations to memory -public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Sets the annotations parser -public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotation reader -public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Parses or retrieves all the annotations found in a class -public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific method -public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific property \ No newline at end of file diff --git a/id/api/Phalcon_Annotations_Adapter_Xcache.md b/id/api/Phalcon_Annotations_Adapter_Xcache.md index 79bfa9e6b4d3..37c97e7e6b8c 100644 --- a/id/api/Phalcon_Annotations_Adapter_Xcache.md +++ b/id/api/Phalcon_Annotations_Adapter_Xcache.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Annotations\\Adapter\\Xcache** -*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) -*implements* [Phalcon\Annotations\AdapterInterface](/en/3.1.2/api/Phalcon_Annotations_AdapterInterface) +*implements* [Phalcon\Annotations\AdapterInterface](/en/3.2/api/Phalcon_Annotations_AdapterInterface) Source on GitHub @@ -17,38 +17,38 @@ $annotations = new \Phalcon\Annotations\Adapter\Xcache(); ## Methods -public [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) **read** (*string* $key) +public [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) **read** (*string* $key) Reads parsed annotations from XCache -public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) $data) +public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) $data) Writes parsed annotations to XCache -public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Sets the annotations parser -public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotation reader -public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Parses or retrieves all the annotations found in a class -public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific method -public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific property \ No newline at end of file diff --git a/id/api/Phalcon_Annotations_Collection.md b/id/api/Phalcon_Annotations_Collection.md index 8176520b43ea..ba33511a50fe 100644 --- a/id/api/Phalcon_Annotations_Collection.md +++ b/id/api/Phalcon_Annotations_Collection.md @@ -36,7 +36,7 @@ public **rewind** () Rewinds the internal iterator -public [Phalcon\Annotations\Annotation](/en/3.1.2/api/Phalcon_Annotations_Annotation) **current** () +public [Phalcon\Annotations\Annotation](/en/3.2/api/Phalcon_Annotations_Annotation) **current** () Returns the current annotation in the iterator diff --git a/id/api/Phalcon_Annotations_Reader.md b/id/api/Phalcon_Annotations_Reader.md index 56ca9b058cd1..4e8e513ffea9 100644 --- a/id/api/Phalcon_Annotations_Reader.md +++ b/id/api/Phalcon_Annotations_Reader.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Annotations\\Reader** -*implements* [Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) +*implements* [Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) Source on GitHub diff --git a/id/api/Phalcon_Application.md b/id/api/Phalcon_Application.md index e7e767824af2..5ff2b07edaf4 100644 --- a/id/api/Phalcon_Application.md +++ b/id/api/Phalcon_Application.md @@ -1,8 +1,8 @@ # Abstract class **Phalcon\\Application** -*extends* abstract class [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +*extends* abstract class [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) -*implements* [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface) +*implements* [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface) Source on GitHub @@ -10,9 +10,9 @@ Base class for Phalcon\\Cli\\Console and Phalcon\\Mvc\\Application. ## Methods -public **__construct** ([[Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector]) +public **__construct** ([[Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector]) -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) Sets the events manager @@ -62,14 +62,14 @@ abstract public **handle** () Handles a request -public **setDI** ([Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **setDI** ([Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Sets the dependency injector -public **getDI** () inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **getDI** () inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Returns the internal dependency injector -public **__get** (*mixed* $propertyName) inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **__get** (*mixed* $propertyName) inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Magic method __get \ No newline at end of file diff --git a/id/api/Phalcon_Application_Exception.md b/id/api/Phalcon_Application_Exception.md index ade9f4d1b49e..49637aa88e5e 100644 --- a/id/api/Phalcon_Application_Exception.md +++ b/id/api/Phalcon_Application_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Application\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/id/api/Phalcon_Assets_Collection.md b/id/api/Phalcon_Assets_Collection.md index 9c3e06cdb077..f6f18d5a1d60 100644 --- a/id/api/Phalcon_Assets_Collection.md +++ b/id/api/Phalcon_Assets_Collection.md @@ -56,14 +56,35 @@ public **getSourcePath** () ... -public **add** ([Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) $resource) +public **__construct** () + +Phalcon\\Assets\\Collection constructor + +public **add** ([Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) $resource) Adds a resource to the collection -public **addInline** ([Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) $code) +public **addInline** ([Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) $code) Adds an inline code to the collection +public **has** ([Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) $resource) + +Checks this the resource is added to the collection. + +```php +has($resource); // true + +``` + public **addCss** (*mixed* $path, [*mixed* $local], [*mixed* $filter], [*mixed* $attributes]) Adds a CSS resource to the collection @@ -72,7 +93,7 @@ public **addInlineCss** (*mixed* $content, [*mixed* $filter], [*mixed* $attribut Adds an inline CSS to the collection -public [Phalcon\Assets\Collection](/en/3.1.2/api/Phalcon_Assets_Collection) **addJs** (*string* $path, [*boolean* $local], [*boolean* $filter], [*array* $attributes]) +public [Phalcon\Assets\Collection](/en/3.2/api/Phalcon_Assets_Collection) **addJs** (*string* $path, [*boolean* $local], [*boolean* $filter], [*array* $attributes]) Adds a javascript resource to the collection @@ -144,6 +165,10 @@ public **getRealTargetPath** (*mixed* $basePath) Returns the complete location where the joined/filtered collection must be written -public **addFilter** ([Phalcon\Assets\FilterInterface](/en/3.1.2/api/Phalcon_Assets_FilterInterface) $filter) +public **addFilter** ([Phalcon\Assets\FilterInterface](/en/3.2/api/Phalcon_Assets_FilterInterface) $filter) + +Adds a filter to the collection + +final protected **addResource** ([Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) $resource) -Adds a filter to the collection \ No newline at end of file +Adds a resource or inline-code to the collection \ No newline at end of file diff --git a/id/api/Phalcon_Assets_Exception.md b/id/api/Phalcon_Assets_Exception.md index bf3c9a57c01a..4c8c0516fd94 100644 --- a/id/api/Phalcon_Assets_Exception.md +++ b/id/api/Phalcon_Assets_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Assets\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/id/api/Phalcon_Assets_Filters_Cssmin.md b/id/api/Phalcon_Assets_Filters_Cssmin.md index 75e2781f79a0..a807a59e4880 100644 --- a/id/api/Phalcon_Assets_Filters_Cssmin.md +++ b/id/api/Phalcon_Assets_Filters_Cssmin.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Assets\\Filters\\Cssmin** -*implements* [Phalcon\Assets\FilterInterface](/en/3.1.2/api/Phalcon_Assets_FilterInterface) +*implements* [Phalcon\Assets\FilterInterface](/en/3.2/api/Phalcon_Assets_FilterInterface) Source on GitHub diff --git a/id/api/Phalcon_Assets_Filters_Jsmin.md b/id/api/Phalcon_Assets_Filters_Jsmin.md index 2ee9aa7f5390..2bfe2b4851a4 100644 --- a/id/api/Phalcon_Assets_Filters_Jsmin.md +++ b/id/api/Phalcon_Assets_Filters_Jsmin.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Assets\\Filters\\Jsmin** -*implements* [Phalcon\Assets\FilterInterface](/en/3.1.2/api/Phalcon_Assets_FilterInterface) +*implements* [Phalcon\Assets\FilterInterface](/en/3.2/api/Phalcon_Assets_FilterInterface) Source on GitHub diff --git a/id/api/Phalcon_Assets_Filters_None.md b/id/api/Phalcon_Assets_Filters_None.md index 93c79dd941f6..60e59aac09de 100644 --- a/id/api/Phalcon_Assets_Filters_None.md +++ b/id/api/Phalcon_Assets_Filters_None.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Assets\\Filters\\None** -*implements* [Phalcon\Assets\FilterInterface](/en/3.1.2/api/Phalcon_Assets_FilterInterface) +*implements* [Phalcon\Assets\FilterInterface](/en/3.2/api/Phalcon_Assets_FilterInterface) Source on GitHub diff --git a/id/api/Phalcon_Assets_Inline.md b/id/api/Phalcon_Assets_Inline.md index 05a1f622aa48..e5c3ef631536 100644 --- a/id/api/Phalcon_Assets_Inline.md +++ b/id/api/Phalcon_Assets_Inline.md @@ -1,5 +1,7 @@ # Class **Phalcon\\Assets\\Inline** +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) + Source on GitHub Represents an inline asset @@ -43,4 +45,8 @@ Sets if the resource must be filtered or not public **setAttributes** (*array* $attributes) -Sets extra HTML attributes \ No newline at end of file +Sets extra HTML attributes + +public **getResourceKey** () + +Gets the resource's key. \ No newline at end of file diff --git a/id/api/Phalcon_Assets_Inline_Css.md b/id/api/Phalcon_Assets_Inline_Css.md index c4d7a9d0e919..aad74b78beca 100644 --- a/id/api/Phalcon_Assets_Inline_Css.md +++ b/id/api/Phalcon_Assets_Inline_Css.md @@ -1,6 +1,8 @@ # Class **Phalcon\\Assets\\Inline\\Css** -*extends* class [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +*extends* class [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) + +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) Source on GitHub @@ -10,30 +12,34 @@ Represents an inlined CSS public **__construct** (*string* $content, [*boolean* $filter], [*array* $attributes]) -public **getType** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getType** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getContent** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getContent** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getFilter** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getFilter** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getAttributes** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getAttributes** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) Sets the inline's type -public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) Sets if the resource must be filtered or not -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) + +Sets extra HTML attributes + +public **getResourceKey** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) -Sets extra HTML attributes \ No newline at end of file +Gets the resource's key. \ No newline at end of file diff --git a/id/api/Phalcon_Assets_Inline_Js.md b/id/api/Phalcon_Assets_Inline_Js.md index 27d57246d817..1cce336b4116 100644 --- a/id/api/Phalcon_Assets_Inline_Js.md +++ b/id/api/Phalcon_Assets_Inline_Js.md @@ -1,6 +1,8 @@ # Class **Phalcon\\Assets\\Inline\\Js** -*extends* class [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +*extends* class [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) + +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) Source on GitHub @@ -10,30 +12,34 @@ Represents an inline Javascript public **__construct** (*string* $content, [*boolean* $filter], [*array* $attributes]) -public **getType** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getType** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getContent** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getContent** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getFilter** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getFilter** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getAttributes** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getAttributes** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) Sets the inline's type -public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) Sets if the resource must be filtered or not -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) + +Sets extra HTML attributes + +public **getResourceKey** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) -Sets extra HTML attributes \ No newline at end of file +Gets the resource's key. \ No newline at end of file diff --git a/id/api/Phalcon_Assets_Manager.md b/id/api/Phalcon_Assets_Manager.md index 55ab07f19201..13ecabf4ff9c 100644 --- a/id/api/Phalcon_Assets_Manager.md +++ b/id/api/Phalcon_Assets_Manager.md @@ -52,7 +52,7 @@ public **addInlineJs** (*mixed* $content, [*mixed* $filter], [*mixed* $attribute Adds an inline javascript to the 'js' collection -public **addResourceByType** (*mixed* $type, [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) $resource) +public **addResourceByType** (*mixed* $type, [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) $resource) Adds a resource by its type @@ -65,11 +65,11 @@ $assets->addResourceByType("css", ``` -public **addInlineCodeByType** (*mixed* $type, [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) $code) +public **addInlineCodeByType** (*mixed* $type, [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) $code) Adds an inline code by its type -public **addResource** ([Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) $resource) +public **addResource** ([Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) $resource) Adds a raw resource to the manager @@ -82,11 +82,11 @@ $assets->addResource( ``` -public **addInlineCode** ([Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) $code) +public **addInlineCode** ([Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) $code) Adds a raw inline code to the manager -public **set** (*mixed* $id, [Phalcon\Assets\Collection](/en/3.1.2/api/Phalcon_Assets_Collection) $collection) +public **set** (*mixed* $id, [Phalcon\Assets\Collection](/en/3.2/api/Phalcon_Assets_Collection) $collection) Sets a collection in the Assets Manager @@ -99,7 +99,7 @@ $assets->set("js", $collection); public **get** (*mixed* $id) -Returns a collection by its id +Returns a collection by its id. ```php exists("jsHeader")) { + // \Phalcon\Assets\Collection + $collection = $assets->get("jsHeader"); +} + +``` \ No newline at end of file diff --git a/id/api/Phalcon_Assets_Resource.md b/id/api/Phalcon_Assets_Resource.md index 9718061c348e..d67dc71b7929 100644 --- a/id/api/Phalcon_Assets_Resource.md +++ b/id/api/Phalcon_Assets_Resource.md @@ -1,5 +1,7 @@ # Class **Phalcon\\Assets\\Resource** +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) + Source on GitHub Represents an asset resource @@ -85,4 +87,8 @@ Returns the complete location where the resource is located public **getRealTargetPath** ([*mixed* $basePath]) -Returns the complete location where the resource must be written \ No newline at end of file +Returns the complete location where the resource must be written + +public **getResourceKey** () + +Gets the resource's key. \ No newline at end of file diff --git a/id/api/Phalcon_Assets_Resource_Css.md b/id/api/Phalcon_Assets_Resource_Css.md index 9376a4de5f6d..11c938e391ca 100644 --- a/id/api/Phalcon_Assets_Resource_Css.md +++ b/id/api/Phalcon_Assets_Resource_Css.md @@ -1,6 +1,8 @@ # Class **Phalcon\\Assets\\Resource\\Css** -*extends* class [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +*extends* class [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) + +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) Source on GitHub @@ -10,72 +12,76 @@ Represents CSS resources public **__construct** (*string* $path, [*boolean* $local], [*boolean* $filter], [*array* $attributes]) -public **getType** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getType** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getPath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getPath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getLocal** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getLocal** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getFilter** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getFilter** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getAttributes** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getAttributes** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getSourcePath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getSourcePath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **getTargetPath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getTargetPath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **getTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's type -public **setPath** (*mixed* $path) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setPath** (*mixed* $path) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's path -public **setLocal** (*mixed* $local) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setLocal** (*mixed* $local) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets if the resource is local or external -public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets if the resource must be filtered or not -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets extra HTML attributes -public **setTargetUri** (*mixed* $targetUri) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setTargetUri** (*mixed* $targetUri) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets a target uri for the generated HTML -public **setSourcePath** (*mixed* $sourcePath) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setSourcePath** (*mixed* $sourcePath) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's source path -public **setTargetPath** (*mixed* $targetPath) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setTargetPath** (*mixed* $targetPath) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's target path -public **getContent** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getContent** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the content of the resource as an string Optionally a base path where the resource is located can be set -public **getRealTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the real target uri for the generated HTML -public **getRealSourcePath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealSourcePath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the complete location where the resource is located -public **getRealTargetPath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealTargetPath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) + +Returns the complete location where the resource must be written + +public **getResourceKey** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -Returns the complete location where the resource must be written \ No newline at end of file +Gets the resource's key. \ No newline at end of file diff --git a/id/api/Phalcon_Assets_Resource_Js.md b/id/api/Phalcon_Assets_Resource_Js.md index a4c132ff1ed1..2acc4d239b9d 100644 --- a/id/api/Phalcon_Assets_Resource_Js.md +++ b/id/api/Phalcon_Assets_Resource_Js.md @@ -1,6 +1,8 @@ # Class **Phalcon\\Assets\\Resource\\Js** -*extends* class [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +*extends* class [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) + +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) Source on GitHub @@ -10,72 +12,76 @@ Represents Javascript resources public **__construct** (*string* $path, [*boolean* $local], [*boolean* $filter], [*array* $attributes]) -public **getType** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getType** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getPath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getPath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getLocal** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getLocal** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getFilter** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getFilter** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getAttributes** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getAttributes** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getSourcePath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getSourcePath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **getTargetPath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getTargetPath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **getTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's type -public **setPath** (*mixed* $path) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setPath** (*mixed* $path) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's path -public **setLocal** (*mixed* $local) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setLocal** (*mixed* $local) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets if the resource is local or external -public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets if the resource must be filtered or not -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets extra HTML attributes -public **setTargetUri** (*mixed* $targetUri) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setTargetUri** (*mixed* $targetUri) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets a target uri for the generated HTML -public **setSourcePath** (*mixed* $sourcePath) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setSourcePath** (*mixed* $sourcePath) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's source path -public **setTargetPath** (*mixed* $targetPath) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setTargetPath** (*mixed* $targetPath) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's target path -public **getContent** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getContent** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the content of the resource as an string Optionally a base path where the resource is located can be set -public **getRealTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the real target uri for the generated HTML -public **getRealSourcePath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealSourcePath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the complete location where the resource is located -public **getRealTargetPath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealTargetPath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) + +Returns the complete location where the resource must be written + +public **getResourceKey** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -Returns the complete location where the resource must be written \ No newline at end of file +Gets the resource's key. \ No newline at end of file diff --git a/id/api/Phalcon_Cache_Backend.md b/id/api/Phalcon_Cache_Backend.md index f81ba2e57820..6e8b2e14bbff 100644 --- a/id/api/Phalcon_Cache_Backend.md +++ b/id/api/Phalcon_Cache_Backend.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Cache\\Backend** -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -32,7 +32,7 @@ public **setLastKey** (*mixed* $lastKey) ... -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend constructor @@ -56,22 +56,22 @@ public *int* **getLifetime** () Gets the last lifetime set -abstract public **get** (*mixed* $keyName, [*mixed* $lifetime]) inherited from [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +abstract public **get** (*mixed* $keyName, [*mixed* $lifetime]) inherited from [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) ... -abstract public **save** ([*mixed* $keyName], [*mixed* $content], [*mixed* $lifetime], [*mixed* $stopBuffer]) inherited from [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +abstract public **save** ([*mixed* $keyName], [*mixed* $content], [*mixed* $lifetime], [*mixed* $stopBuffer]) inherited from [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) ... -abstract public **delete** (*mixed* $keyName) inherited from [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +abstract public **delete** (*mixed* $keyName) inherited from [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) ... -abstract public **queryKeys** ([*mixed* $prefix]) inherited from [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +abstract public **queryKeys** ([*mixed* $prefix]) inherited from [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) ... -abstract public **exists** ([*mixed* $keyName], [*mixed* $lifetime]) inherited from [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +abstract public **exists** ([*mixed* $keyName], [*mixed* $lifetime]) inherited from [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) ... \ No newline at end of file diff --git a/id/api/Phalcon_Cache_Backend_Apc.md b/id/api/Phalcon_Cache_Backend_Apc.md index 6f08c1fef4b7..92b01c89d25a 100644 --- a/id/api/Phalcon_Cache_Backend_Apc.md +++ b/id/api/Phalcon_Cache_Backend_Apc.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Apc** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -94,50 +94,50 @@ $cache->flush(); ``` -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Phalcon\\Cache\\Backend constructor -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/id/api/Phalcon_Cache_Backend_File.md b/id/api/Phalcon_Cache_Backend_File.md index 78c3aff0e84c..3ea73b705889 100644 --- a/id/api/Phalcon_Cache_Backend_File.md +++ b/id/api/Phalcon_Cache_Backend_File.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\File** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -44,7 +44,7 @@ if ($content === null) { ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, *array* $options) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, *array* $options) Phalcon\\Cache\\Backend\\File constructor @@ -98,46 +98,46 @@ public **useSafeKey** (*mixed* $useSafeKey) Set whether to use the safekey or not -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/id/api/Phalcon_Cache_Backend_Libmemcached.md b/id/api/Phalcon_Cache_Backend_Libmemcached.md index 88948897b300..9ec4b031d82e 100644 --- a/id/api/Phalcon_Cache_Backend_Libmemcached.md +++ b/id/api/Phalcon_Cache_Backend_Libmemcached.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Libmemcached** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -49,7 +49,7 @@ $data = $cache->get("my-data"); ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend\\Memcache constructor @@ -116,46 +116,46 @@ $cache->flush(); ``` -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/id/api/Phalcon_Cache_Backend_Memcache.md b/id/api/Phalcon_Cache_Backend_Memcache.md index 7310592149b1..6f2575ca5c8d 100644 --- a/id/api/Phalcon_Cache_Backend_Memcache.md +++ b/id/api/Phalcon_Cache_Backend_Memcache.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Memcache** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -43,7 +43,7 @@ $data = $cache->get("my-data"); ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend\\Memcache constructor @@ -97,46 +97,46 @@ public **flush** () Immediately invalidates all existing items. -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/id/api/Phalcon_Cache_Backend_Memory.md b/id/api/Phalcon_Cache_Backend_Memory.md index 06a4216cf7ac..a269432ab9f3 100644 --- a/id/api/Phalcon_Cache_Backend_Memory.md +++ b/id/api/Phalcon_Cache_Backend_Memory.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Memory** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface), [Serializable](http://php.net/manual/en/class.serializable.php) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface), [Serializable](http://php.net/manual/en/class.serializable.php) Source on GitHub @@ -79,50 +79,50 @@ public **unserialize** (*mixed* $data) Required for interface \\Serializable -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Phalcon\\Cache\\Backend constructor -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/id/api/Phalcon_Cache_Backend_Mongo.md b/id/api/Phalcon_Cache_Backend_Mongo.md index 9ad0f67b530c..6421cd0f4f29 100644 --- a/id/api/Phalcon_Cache_Backend_Mongo.md +++ b/id/api/Phalcon_Cache_Backend_Mongo.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Mongo** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -44,7 +44,7 @@ $data = $cache->get("my-data"); ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend\\Mongo constructor @@ -98,46 +98,46 @@ public **flush** () Immediately invalidates all existing items. -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/id/api/Phalcon_Cache_Backend_Redis.md b/id/api/Phalcon_Cache_Backend_Redis.md index 123bf025f2af..a3509251d509 100644 --- a/id/api/Phalcon_Cache_Backend_Redis.md +++ b/id/api/Phalcon_Cache_Backend_Redis.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Redis** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -45,7 +45,7 @@ $data = $cache->get("my-data"); ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend\\Redis constructor @@ -105,46 +105,46 @@ public **flush** () Immediately invalidates all existing items. -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/id/api/Phalcon_Cache_Backend_Xcache.md b/id/api/Phalcon_Cache_Backend_Xcache.md index b91e75b19c79..7dac8215d5f3 100644 --- a/id/api/Phalcon_Cache_Backend_Xcache.md +++ b/id/api/Phalcon_Cache_Backend_Xcache.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Xcache** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -38,7 +38,7 @@ $data = $cache->get("my-data"); ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend\\Xcache constructor @@ -84,46 +84,46 @@ public **flush** () Immediately invalidates all existing items. -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/id/api/Phalcon_Cache_Exception.md b/id/api/Phalcon_Cache_Exception.md index cbb05a3a76e4..87f2372e7864 100644 --- a/id/api/Phalcon_Cache_Exception.md +++ b/id/api/Phalcon_Cache_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/id/api/Phalcon_Cache_Frontend_Base64.md b/id/api/Phalcon_Cache_Frontend_Base64.md index 92f36996b4b7..473895a88aa8 100644 --- a/id/api/Phalcon_Cache_Frontend_Base64.md +++ b/id/api/Phalcon_Cache_Frontend_Base64.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Frontend\\Base64** -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/id/api/Phalcon_Cache_Frontend_Data.md b/id/api/Phalcon_Cache_Frontend_Data.md index f46469ab7410..1f249be7103c 100644 --- a/id/api/Phalcon_Cache_Frontend_Data.md +++ b/id/api/Phalcon_Cache_Frontend_Data.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Frontend\\Data** -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/id/api/Phalcon_Cache_Frontend_Igbinary.md b/id/api/Phalcon_Cache_Frontend_Igbinary.md index 1460a42ce867..714a96bb4de1 100644 --- a/id/api/Phalcon_Cache_Frontend_Igbinary.md +++ b/id/api/Phalcon_Cache_Frontend_Igbinary.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Frontend\\Igbinary** -*extends* class [Phalcon\Cache\Frontend\Data](/en/3.1.2/api/Phalcon_Cache_Frontend_Data) +*extends* class [Phalcon\Cache\Frontend\Data](/en/3.2/api/Phalcon_Cache_Frontend_Data) -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/id/api/Phalcon_Cache_Frontend_Json.md b/id/api/Phalcon_Cache_Frontend_Json.md index 64a296ca976f..bfe39cdc53c4 100644 --- a/id/api/Phalcon_Cache_Frontend_Json.md +++ b/id/api/Phalcon_Cache_Frontend_Json.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Frontend\\Json** -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/id/api/Phalcon_Cache_Frontend_Msgpack.md b/id/api/Phalcon_Cache_Frontend_Msgpack.md index f77a99a21168..857b40d4bbdc 100644 --- a/id/api/Phalcon_Cache_Frontend_Msgpack.md +++ b/id/api/Phalcon_Cache_Frontend_Msgpack.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Frontend\\Msgpack** -*extends* class [Phalcon\Cache\Frontend\Data](/en/3.1.2/api/Phalcon_Cache_Frontend_Data) +*extends* class [Phalcon\Cache\Frontend\Data](/en/3.2/api/Phalcon_Cache_Frontend_Data) -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/id/api/Phalcon_Cache_Frontend_None.md b/id/api/Phalcon_Cache_Frontend_None.md index 521fcd02f344..bdc0af2d4135 100644 --- a/id/api/Phalcon_Cache_Frontend_None.md +++ b/id/api/Phalcon_Cache_Frontend_None.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Frontend\\None** -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/id/api/Phalcon_Cache_Frontend_Output.md b/id/api/Phalcon_Cache_Frontend_Output.md index 8421c02f1276..c6a0543703d6 100644 --- a/id/api/Phalcon_Cache_Frontend_Output.md +++ b/id/api/Phalcon_Cache_Frontend_Output.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Frontend\\Output** -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/id/api/Phalcon_Cache_Multiple.md b/id/api/Phalcon_Cache_Multiple.md index bbfa61a13274..1d9fd1365aa9 100644 --- a/id/api/Phalcon_Cache_Multiple.md +++ b/id/api/Phalcon_Cache_Multiple.md @@ -65,11 +65,11 @@ $cache->save("my-key", $data); ## Methods -public **__construct** ([[Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface[]) $backends]) +public **__construct** ([[Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface[]) $backends]) Phalcon\\Cache\\Multiple constructor -public **push** ([Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) $backend) +public **push** ([Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) $backend) Adds a backend diff --git a/id/api/Phalcon_Cli_Console.md b/id/api/Phalcon_Cli_Console.md index c769b7ad7659..f0337bf3f1ec 100644 --- a/id/api/Phalcon_Cli_Console.md +++ b/id/api/Phalcon_Cli_Console.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cli\\Console** -*extends* abstract class [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +*extends* abstract class [Phalcon\Application](/en/3.2/api/Phalcon_Application) -*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -36,19 +36,19 @@ public **setArgument** ([*array* $arguments], [*mixed* $str], [*mixed* $shift]) Set an specific argument -public **__construct** ([[Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector]) inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **__construct** ([[Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector]) inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Phalcon\\Application -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Sets the events manager -public **getEventsManager** () inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **getEventsManager** () inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Returns the internal event manager -public **registerModules** (*array* $modules, [*mixed* $merge]) inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **registerModules** (*array* $modules, [*mixed* $merge]) inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Register an array of modules present in the application @@ -70,30 +70,30 @@ $this->registerModules( ``` -public **getModules** () inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **getModules** () inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Return the modules registered in the application -public **getModule** (*mixed* $name) inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **getModule** (*mixed* $name) inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Gets the module definition registered in the application via module name -public **setDefaultModule** (*mixed* $defaultModule) inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **setDefaultModule** (*mixed* $defaultModule) inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Sets the module name to be used if the router doesn't return a valid module -public **getDefaultModule** () inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **getDefaultModule** () inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Returns the default module name -public **setDI** ([Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **setDI** ([Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Sets the dependency injector -public **getDI** () inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **getDI** () inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Returns the internal dependency injector -public **__get** (*mixed* $propertyName) inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **__get** (*mixed* $propertyName) inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Magic method __get \ No newline at end of file diff --git a/id/api/Phalcon_Cli_Console_Exception.md b/id/api/Phalcon_Cli_Console_Exception.md index 64a6f1f9162a..e7bfea5dbde1 100644 --- a/id/api/Phalcon_Cli_Console_Exception.md +++ b/id/api/Phalcon_Cli_Console_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cli\\Console\\Exception** -*extends* class [Phalcon\Application\Exception](/en/3.1.2/api/Phalcon_Application_Exception) +*extends* class [Phalcon\Application\Exception](/en/3.2/api/Phalcon_Application_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/id/api/Phalcon_Cli_Dispatcher.md b/id/api/Phalcon_Cli_Dispatcher.md index 7b91f5c9f537..f03b7c7c61ac 100644 --- a/id/api/Phalcon_Cli_Dispatcher.md +++ b/id/api/Phalcon_Cli_Dispatcher.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cli\\Dispatcher** -*extends* abstract class [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +*extends* abstract class [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) -*implements* [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface), [Phalcon\Cli\DispatcherInterface](/en/3.1.2/api/Phalcon_Cli_DispatcherInterface) +*implements* [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface), [Phalcon\Cli\DispatcherInterface](/en/3.2/api/Phalcon_Cli_DispatcherInterface) Source on GitHub @@ -11,10 +11,11 @@ Dispatching is the process of taking the command-line arguments, extracting the ```php setDi($di); $dispatcher->setTaskName("posts"); @@ -81,107 +82,115 @@ public **getOptions** () Get dispatched options +public **getOption** (*mixed* $option, [*string* | *array* $filters], [*mixed* $defaultValue]) + +Gets an option by its name or numeric index + +public **hasOption** (*mixed* $option) + +Check if an option exists + public **callActionMethod** (*mixed* $handler, *mixed* $actionMethod, [*array* $params]) -... +Calls the action method. -public **setDI** ([Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setDI** ([Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the dependency injector -public **getDI** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getDI** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns the internal dependency injector -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the events manager -public **getEventsManager** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getEventsManager** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns the internal event manager -public **setActionSuffix** (*mixed* $actionSuffix) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setActionSuffix** (*mixed* $actionSuffix) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the default action suffix -public **getActionSuffix** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getActionSuffix** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets the default action suffix -public **setModuleName** (*mixed* $moduleName) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setModuleName** (*mixed* $moduleName) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the module where the controller is (only informative) -public **getModuleName** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getModuleName** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets the module where the controller class is -public **setNamespaceName** (*mixed* $namespaceName) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setNamespaceName** (*mixed* $namespaceName) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the namespace where the controller class is -public **getNamespaceName** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getNamespaceName** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets a namespace to be prepended to the current handler name -public **setDefaultNamespace** (*mixed* $namespaceName) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setDefaultNamespace** (*mixed* $namespaceName) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the default namespace -public **getDefaultNamespace** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getDefaultNamespace** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns the default namespace -public **setDefaultAction** (*mixed* $actionName) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setDefaultAction** (*mixed* $actionName) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the default action name -public **setActionName** (*mixed* $actionName) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setActionName** (*mixed* $actionName) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the action name to be dispatched -public **getActionName** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getActionName** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets the latest dispatched action name -public **setParams** (*array* $params) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setParams** (*array* $params) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets action params to be dispatched -public **getParams** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getParams** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets action params -public **setParam** (*mixed* $param, *mixed* $value) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setParam** (*mixed* $param, *mixed* $value) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Set a param by its name or numeric index -public *mixed* **getParam** (*mixed* $param, [*string* | *array* $filters], [*mixed* $defaultValue]) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public *mixed* **getParam** (*mixed* $param, [*string* | *array* $filters], [*mixed* $defaultValue]) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets a param by its name or numeric index -public *boolean* **hasParam** (*mixed* $param) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public *boolean* **hasParam** (*mixed* $param) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Check if a param exists -public **getActiveMethod** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getActiveMethod** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns the current method to be/executed in the dispatcher -public **isFinished** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **isFinished** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Checks if the dispatch loop is finished or has more pendent controllers/tasks to dispatch -public **setReturnedValue** (*mixed* $value) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setReturnedValue** (*mixed* $value) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the latest returned value by an action manually -public *mixed* **getReturnedValue** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public *mixed* **getReturnedValue** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns value returned by the latest dispatched action -public **setModelBinding** (*mixed* $value, [*mixed* $cache]) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setModelBinding** (*mixed* $value, [*mixed* $cache]) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Enable/Disable model binding during dispatch @@ -197,7 +206,7 @@ $di->set('dispatcher', function() { ``` -public **setModelBinder** ([Phalcon\Mvc\Model\BinderInterface](/en/3.1.2/api/Phalcon_Mvc_Model_BinderInterface) $modelBinder, [*mixed* $cache]) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setModelBinder** ([Phalcon\Mvc\Model\BinderInterface](/en/3.2/api/Phalcon_Mvc_Model_BinderInterface) $modelBinder, [*mixed* $cache]) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Enable model binding during dispatch @@ -213,21 +222,21 @@ $di->set('dispatcher', function() { ``` -public **getModelBinder** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getModelBinder** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets model binder -public *object* **dispatch** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public *object* **dispatch** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Dispatches a handle action taking into account the routing parameters -protected *object* **_dispatch** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +protected *object* **_dispatch** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Dispatches a handle action taking into account the routing parameters -public **forward** (*array* $forward) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **forward** (*array* $forward) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) -Forwards the execution flow to another controller/action Dispatchers are unique per module. Forwarding between modules is not allowed +Forwards the execution flow to another controller/action. ```php dispatcher->forward( ``` -public **wasForwarded** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **wasForwarded** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Check if the current executed action was forwarded by another one -public **getHandlerClass** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getHandlerClass** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Possible class name that will be located to dispatch the request -public **getBoundModels** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getBoundModels** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns bound models from binder instance @@ -266,6 +275,6 @@ class UserController extends Controller ``` -protected **_resolveEmptyProperties** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +protected **_resolveEmptyProperties** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Set empty properties to their defaults (where defaults are available) \ No newline at end of file diff --git a/id/api/Phalcon_Cli_DispatcherInterface.md b/id/api/Phalcon_Cli_DispatcherInterface.md index 58914bf4b682..78f4d7b40c9c 100644 --- a/id/api/Phalcon_Cli_DispatcherInterface.md +++ b/id/api/Phalcon_Cli_DispatcherInterface.md @@ -1,6 +1,6 @@ # Interface **Phalcon\\Cli\\DispatcherInterface** -*implements* [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +*implements* [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) Source on GitHub @@ -30,70 +30,70 @@ abstract public **getActiveTask** () ... -abstract public **setActionSuffix** (*mixed* $actionSuffix) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setActionSuffix** (*mixed* $actionSuffix) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **getActionSuffix** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **getActionSuffix** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setDefaultNamespace** (*mixed* $defaultNamespace) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setDefaultNamespace** (*mixed* $defaultNamespace) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setDefaultAction** (*mixed* $actionName) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setDefaultAction** (*mixed* $actionName) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setNamespaceName** (*mixed* $namespaceName) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setNamespaceName** (*mixed* $namespaceName) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setModuleName** (*mixed* $moduleName) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setModuleName** (*mixed* $moduleName) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setActionName** (*mixed* $actionName) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setActionName** (*mixed* $actionName) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **getActionName** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **getActionName** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setParams** (*mixed* $params) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setParams** (*mixed* $params) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **getParams** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **getParams** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setParam** (*mixed* $param, *mixed* $value) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setParam** (*mixed* $param, *mixed* $value) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **getParam** (*mixed* $param, [*mixed* $filters]) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **getParam** (*mixed* $param, [*mixed* $filters]) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **hasParam** (*mixed* $param) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **hasParam** (*mixed* $param) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **isFinished** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **isFinished** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **getReturnedValue** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **getReturnedValue** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **dispatch** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **dispatch** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **forward** (*mixed* $forward) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **forward** (*mixed* $forward) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... \ No newline at end of file diff --git a/id/api/Phalcon_Cli_Dispatcher_Exception.md b/id/api/Phalcon_Cli_Dispatcher_Exception.md index 0eeb05860d89..fbd0a6c4292d 100644 --- a/id/api/Phalcon_Cli_Dispatcher_Exception.md +++ b/id/api/Phalcon_Cli_Dispatcher_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cli\\Dispatcher\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/id/api/Phalcon_Cli_Router.md b/id/api/Phalcon_Cli_Router.md index d2cb10a44276..5a0943627b36 100644 --- a/id/api/Phalcon_Cli_Router.md +++ b/id/api/Phalcon_Cli_Router.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cli\\Router** -*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface) +*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface) Source on GitHub @@ -29,7 +29,7 @@ public **__construct** ([*mixed* $defaultRoutes]) Phalcon\\Cli\\Router constructor -public **setDI** ([Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector) +public **setDI** ([Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector) Sets the dependency injector @@ -69,7 +69,7 @@ public **handle** ([*array* $arguments]) Handles routing information received from command-line arguments -public [Phalcon\Cli\Router\Route](/en/3.1.2/api/Phalcon_Cli_Router_Route) **add** (*string* $pattern, [*string/array* $paths]) +public [Phalcon\Cli\Router\Route](/en/3.2/api/Phalcon_Cli_Router_Route) **add** (*string* $pattern, [*string/array* $paths]) Adds a route to the router @@ -112,7 +112,7 @@ public **getRoutes** () Returns all the routes defined in the router -public [Phalcon\Cli\Router\Route](/en/3.1.2/api/Phalcon_Cli_Router_Route) **getRouteById** (*int* $id) +public [Phalcon\Cli\Router\Route](/en/3.2/api/Phalcon_Cli_Router_Route) **getRouteById** (*int* $id) Returns a route object by its id diff --git a/id/api/Phalcon_Cli_Router_Exception.md b/id/api/Phalcon_Cli_Router_Exception.md index ebd81a411422..e063b3861132 100644 --- a/id/api/Phalcon_Cli_Router_Exception.md +++ b/id/api/Phalcon_Cli_Router_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cli\\Router\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/id/api/Phalcon_Db_Adapter.md b/id/api/Phalcon_Db_Adapter.md index c1deaded19cd..a5d397a98c83 100644 --- a/id/api/Phalcon_Db_Adapter.md +++ b/id/api/Phalcon_Db_Adapter.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Db\\Adapter** -*implements* [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -24,7 +24,7 @@ public **__construct** (*array* $descriptor) Phalcon\\Db\\Adapter constructor -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) Sets the event manager @@ -32,7 +32,7 @@ public **getEventsManager** () Returns the internal event manager -public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) $dialect) +public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) $dialect) Sets the dialect used to produce the SQL @@ -309,11 +309,11 @@ public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExist Drops a view -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Adds a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) Modifies a table column based on a definition @@ -321,7 +321,7 @@ public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnN Drops a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Adds an index to a table @@ -329,7 +329,7 @@ public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexNam Drop an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Adds a primary key to a table @@ -337,7 +337,7 @@ public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) Drops a table's primary key -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) Adds a foreign key to a table @@ -345,7 +345,7 @@ public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $ref Drops a foreign key from a table -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Returns the SQL column definition from a column @@ -375,7 +375,7 @@ print_r( ``` -public [Phalcon\Db\Index](/en/3.1.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) +public [Phalcon\Db\Index](/en/3.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) Lists table indexes @@ -512,54 +512,54 @@ public *array* **getSQLBindTypes** () Active SQL statement in the object -abstract public **connect** ([*array* $descriptor]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **connect** ([*array* $descriptor]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **query** (*mixed* $sqlStatement, [*mixed* $placeholders], [*mixed* $dataTypes]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **query** (*mixed* $sqlStatement, [*mixed* $placeholders], [*mixed* $dataTypes]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **execute** (*mixed* $sqlStatement, [*mixed* $placeholders], [*mixed* $dataTypes]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **execute** (*mixed* $sqlStatement, [*mixed* $placeholders], [*mixed* $dataTypes]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **affectedRows** () inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **affectedRows** () inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **close** () inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **close** () inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **lastInsertId** ([*mixed* $sequenceName]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **lastInsertId** ([*mixed* $sequenceName]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **isUnderTransaction** () inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **isUnderTransaction** () inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **getInternalHandler** () inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **getInternalHandler** () inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... \ No newline at end of file diff --git a/id/api/Phalcon_Db_AdapterInterface.md b/id/api/Phalcon_Db_AdapterInterface.md index 2b9bec9a2acd..4c6a8f54b3f1 100644 --- a/id/api/Phalcon_Db_AdapterInterface.md +++ b/id/api/Phalcon_Db_AdapterInterface.md @@ -64,11 +64,11 @@ abstract public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* ... -abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) ... -abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) ... @@ -76,7 +76,7 @@ abstract public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* ... -abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) ... @@ -84,7 +84,7 @@ abstract public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* ... -abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) ... @@ -92,7 +92,7 @@ abstract public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) ... -abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) ... @@ -100,7 +100,7 @@ abstract public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mi ... -abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) ... diff --git a/id/api/Phalcon_Db_Adapter_Pdo.md b/id/api/Phalcon_Db_Adapter_Pdo.md index 44de7d9e6e1f..c23a014e3d58 100644 --- a/id/api/Phalcon_Db_Adapter_Pdo.md +++ b/id/api/Phalcon_Db_Adapter_Pdo.md @@ -1,8 +1,8 @@ # Abstract class **Phalcon\\Db\\Adapter\\Pdo** -*extends* abstract class [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +*extends* abstract class [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) -*implements* [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +*implements* [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) Source on GitHub @@ -262,35 +262,35 @@ public *array* **getErrorInfo** () Return the error info, if any -public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Name of the dialect used -public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Type of database system the adapter is used for -public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL bound parameter variables -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the event manager -public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the internal event manager -public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the dialect used to produce the SQL -public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns internal dialect instance -public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the first row in a SQL query result @@ -307,7 +307,7 @@ print_r($robot); ``` -public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Dumps the complete result of a query into an array @@ -338,7 +338,7 @@ foreach($robots as $robot) { ``` -public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the n'th field of first row in a SQL query result @@ -358,7 +358,7 @@ print_r($robot); ``` -public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RDBMS SQL syntax @@ -377,7 +377,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RBDM SQL syntax @@ -398,7 +398,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax @@ -435,7 +435,7 @@ $success = $connection->update( Warning! If $whereCondition is string it not escaped. -public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax Another, more convenient syntax @@ -456,7 +456,7 @@ UPDATE `robots` SET `name` = "Astro boy" WHERE id = 101 ``` -public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Deletes data from a table using custom RBDM SQL syntax @@ -474,7 +474,7 @@ DELETE FROM `robots` WHERE `id` = 101 ``` -public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Escapes a column/table/schema name @@ -494,11 +494,11 @@ $escapedTable = $connection->escapeIdentifier( ``` -public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets a list of columns -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Appends a LIMIT clause to $sqlQuery argument @@ -509,7 +509,7 @@ echo $connection->limit("SELECT * FROM robots", 5); ``` -public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.table @@ -522,7 +522,7 @@ var_dump( ``` -public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.view @@ -535,71 +535,71 @@ var_dump( ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a FOR UPDATE clause -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a LOCK IN SHARE MODE clause -public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a table -public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table from a schema/database -public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a view -public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a view -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Modifies a table column based on a definition -public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds an index to a table -public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drop an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a primary key to a table -public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table's primary key -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a foreign key to a table -public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a foreign key from a table -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the SQL column definition from a column -public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all tables on a database @@ -612,7 +612,7 @@ print_r( ``` -public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all views on a database @@ -625,7 +625,7 @@ print_r( ``` -public [Phalcon\Db\Index](/en/3.1.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public [Phalcon\Db\Index](/en/3.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Lists table indexes @@ -638,7 +638,7 @@ print_r( ``` -public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Lists table references @@ -651,7 +651,7 @@ print_r( ``` -public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets creation options from a table @@ -664,31 +664,31 @@ print_r( ``` -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Releases given savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Rollbacks given savepoint -public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Set if nested transactions should use savepoints -public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns if nested transactions should use savepoints -public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the savepoint name to use for nested transactions -public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default identity value to be inserted in an identity column @@ -712,7 +712,7 @@ $success = $connection->insert( ``` -public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default value to make the RBDM use the default value declared in the table definition @@ -734,34 +734,34 @@ $success = $connection->insert( ``` -public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Check whether the database system requires a sequence to produce auto-numeric values -public **useExplicitIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **useExplicitIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Check whether the database system requires an explicit value for identity columns -public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Return descriptor used to connect to the active database -public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets the active connection unique identifier -public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object -public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object without replace bound parameters -public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object -abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... \ No newline at end of file diff --git a/id/api/Phalcon_Db_Adapter_Pdo_Mysql.md b/id/api/Phalcon_Db_Adapter_Pdo_Mysql.md index fe17030fddcf..5013bf0def80 100644 --- a/id/api/Phalcon_Db_Adapter_Pdo_Mysql.md +++ b/id/api/Phalcon_Db_Adapter_Pdo_Mysql.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Adapter\\Pdo\\Mysql** -*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) -*implements* [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -40,7 +40,7 @@ print_r( ``` -public [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface[]) **describeIndexes** (*string* $table, [*string* $schema]) +public [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface[]) **describeIndexes** (*string* $table, [*string* $schema]) Lists table indexes @@ -66,11 +66,11 @@ print_r( ``` -public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Constructor for Phalcon\\Db\\Adapter\\Pdo -public **connect** ([*array* $descriptor]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **connect** ([*array* $descriptor]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) This method is automatically called in \\Phalcon\\Db\\Adapter\\Pdo constructor. Call it when you need to restore a database connection. @@ -95,7 +95,7 @@ $connection->connect(); ``` -public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns a PDO prepared statement to be executed with 'executePrepared' @@ -120,7 +120,7 @@ $result = $connection->executePrepared( ``` -public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Executes a prepared statement binding. This function uses integer indexes starting from zero @@ -145,7 +145,7 @@ $result = $connection->executePrepared( ``` -public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server is returning rows @@ -166,7 +166,7 @@ $resultset = $connection->query( ``` -public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server doesn't return any rows @@ -188,7 +188,7 @@ $success = $connection->execute( ``` -public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the number of affected rows by the latest INSERT/UPDATE/DELETE executed in the database system @@ -203,11 +203,11 @@ echo $connection->affectedRows(), " were deleted"; ``` -public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Closes the active connection returning success. Phalcon automatically closes and destroys active connections when the request ends -public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Escapes a value to avoid SQL injections according to the active charset in the connection @@ -218,7 +218,7 @@ $escapedStr = $connection->escapeString("some dangerous value"); ``` -public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Converts bound parameters such as :name: or ?1 into PDO bind params ? @@ -236,7 +236,7 @@ print_r( ``` -public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the insert id for the auto_increment/serial column inserted in the latest executed SQL statement @@ -261,23 +261,23 @@ $id = $connection->lastInsertId(); ``` -public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Starts a transaction in the connection -public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Rollbacks the active transaction in the connection -public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Commits the active transaction in the connection -public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the current transaction nesting level -public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Checks whether the connection is under a transaction @@ -293,43 +293,43 @@ var_dump( ``` -public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return internal PDO handler -public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return the error info, if any -public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Name of the dialect used -public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Type of database system the adapter is used for -public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL bound parameter variables -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the event manager -public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the internal event manager -public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the dialect used to produce the SQL -public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns internal dialect instance -public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the first row in a SQL query result @@ -346,7 +346,7 @@ print_r($robot); ``` -public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Dumps the complete result of a query into an array @@ -377,7 +377,7 @@ foreach($robots as $robot) { ``` -public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the n'th field of first row in a SQL query result @@ -397,7 +397,7 @@ print_r($robot); ``` -public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RDBMS SQL syntax @@ -416,7 +416,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RBDM SQL syntax @@ -437,7 +437,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax @@ -474,7 +474,7 @@ $success = $connection->update( Warning! If $whereCondition is string it not escaped. -public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax Another, more convenient syntax @@ -495,7 +495,7 @@ UPDATE `robots` SET `name` = "Astro boy" WHERE id = 101 ``` -public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Deletes data from a table using custom RBDM SQL syntax @@ -513,7 +513,7 @@ DELETE FROM `robots` WHERE `id` = 101 ``` -public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Escapes a column/table/schema name @@ -533,11 +533,11 @@ $escapedTable = $connection->escapeIdentifier( ``` -public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets a list of columns -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Appends a LIMIT clause to $sqlQuery argument @@ -548,7 +548,7 @@ echo $connection->limit("SELECT * FROM robots", 5); ``` -public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.table @@ -561,7 +561,7 @@ var_dump( ``` -public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.view @@ -574,71 +574,71 @@ var_dump( ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a FOR UPDATE clause -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a LOCK IN SHARE MODE clause -public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a table -public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table from a schema/database -public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a view -public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a view -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Modifies a table column based on a definition -public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds an index to a table -public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drop an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a primary key to a table -public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table's primary key -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a foreign key to a table -public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a foreign key from a table -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the SQL column definition from a column -public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all tables on a database @@ -651,7 +651,7 @@ print_r( ``` -public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all views on a database @@ -664,7 +664,7 @@ print_r( ``` -public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets creation options from a table @@ -677,31 +677,31 @@ print_r( ``` -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Releases given savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Rollbacks given savepoint -public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Set if nested transactions should use savepoints -public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns if nested transactions should use savepoints -public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the savepoint name to use for nested transactions -public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default identity value to be inserted in an identity column @@ -725,7 +725,7 @@ $success = $connection->insert( ``` -public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default value to make the RBDM use the default value declared in the table definition @@ -747,30 +747,30 @@ $success = $connection->insert( ``` -public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Check whether the database system requires a sequence to produce auto-numeric values -public **useExplicitIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **useExplicitIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Check whether the database system requires an explicit value for identity columns -public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Return descriptor used to connect to the active database -public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets the active connection unique identifier -public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object -public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object without replace bound parameters -public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object \ No newline at end of file diff --git a/id/api/Phalcon_Db_Adapter_Pdo_Postgresql.md b/id/api/Phalcon_Db_Adapter_Pdo_Postgresql.md index c7f35273d52a..9a66f69a4ec1 100644 --- a/id/api/Phalcon_Db_Adapter_Pdo_Postgresql.md +++ b/id/api/Phalcon_Db_Adapter_Pdo_Postgresql.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Adapter\\Pdo\\Postgresql** -*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) -*implements* [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -48,7 +48,7 @@ public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $defini Creates a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) Modifies a table column based on a definition @@ -84,11 +84,11 @@ public **supportSequences** () Check whether the database system requires a sequence to produce auto-numeric values -public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Constructor for Phalcon\\Db\\Adapter\\Pdo -public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns a PDO prepared statement to be executed with 'executePrepared' @@ -113,7 +113,7 @@ $result = $connection->executePrepared( ``` -public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Executes a prepared statement binding. This function uses integer indexes starting from zero @@ -138,7 +138,7 @@ $result = $connection->executePrepared( ``` -public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server is returning rows @@ -159,7 +159,7 @@ $resultset = $connection->query( ``` -public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server doesn't return any rows @@ -181,7 +181,7 @@ $success = $connection->execute( ``` -public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the number of affected rows by the latest INSERT/UPDATE/DELETE executed in the database system @@ -196,11 +196,11 @@ echo $connection->affectedRows(), " were deleted"; ``` -public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Closes the active connection returning success. Phalcon automatically closes and destroys active connections when the request ends -public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Escapes a value to avoid SQL injections according to the active charset in the connection @@ -211,7 +211,7 @@ $escapedStr = $connection->escapeString("some dangerous value"); ``` -public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Converts bound parameters such as :name: or ?1 into PDO bind params ? @@ -229,7 +229,7 @@ print_r( ``` -public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the insert id for the auto_increment/serial column inserted in the latest executed SQL statement @@ -254,23 +254,23 @@ $id = $connection->lastInsertId(); ``` -public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Starts a transaction in the connection -public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Rollbacks the active transaction in the connection -public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Commits the active transaction in the connection -public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the current transaction nesting level -public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Checks whether the connection is under a transaction @@ -286,43 +286,43 @@ var_dump( ``` -public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return internal PDO handler -public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return the error info, if any -public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Name of the dialect used -public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Type of database system the adapter is used for -public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL bound parameter variables -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the event manager -public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the internal event manager -public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the dialect used to produce the SQL -public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns internal dialect instance -public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the first row in a SQL query result @@ -339,7 +339,7 @@ print_r($robot); ``` -public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Dumps the complete result of a query into an array @@ -370,7 +370,7 @@ foreach($robots as $robot) { ``` -public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the n'th field of first row in a SQL query result @@ -390,7 +390,7 @@ print_r($robot); ``` -public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RDBMS SQL syntax @@ -409,7 +409,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RBDM SQL syntax @@ -430,7 +430,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax @@ -467,7 +467,7 @@ $success = $connection->update( Warning! If $whereCondition is string it not escaped. -public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax Another, more convenient syntax @@ -488,7 +488,7 @@ UPDATE `robots` SET `name` = "Astro boy" WHERE id = 101 ``` -public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Deletes data from a table using custom RBDM SQL syntax @@ -506,7 +506,7 @@ DELETE FROM `robots` WHERE `id` = 101 ``` -public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Escapes a column/table/schema name @@ -526,11 +526,11 @@ $escapedTable = $connection->escapeIdentifier( ``` -public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets a list of columns -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Appends a LIMIT clause to $sqlQuery argument @@ -541,7 +541,7 @@ echo $connection->limit("SELECT * FROM robots", 5); ``` -public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.table @@ -554,7 +554,7 @@ var_dump( ``` -public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.view @@ -567,63 +567,63 @@ var_dump( ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a FOR UPDATE clause -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a LOCK IN SHARE MODE clause -public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table from a schema/database -public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a view -public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a view -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a column to a table -public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds an index to a table -public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drop an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a primary key to a table -public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table's primary key -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a foreign key to a table -public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a foreign key from a table -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the SQL column definition from a column -public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all tables on a database @@ -636,7 +636,7 @@ print_r( ``` -public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all views on a database @@ -649,7 +649,7 @@ print_r( ``` -public [Phalcon\Db\Index](/en/3.1.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public [Phalcon\Db\Index](/en/3.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Lists table indexes @@ -662,7 +662,7 @@ print_r( ``` -public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Lists table references @@ -675,7 +675,7 @@ print_r( ``` -public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets creation options from a table @@ -688,31 +688,31 @@ print_r( ``` -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Releases given savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Rollbacks given savepoint -public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Set if nested transactions should use savepoints -public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns if nested transactions should use savepoints -public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the savepoint name to use for nested transactions -public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default value to make the RBDM use the default value declared in the table definition @@ -734,22 +734,22 @@ $success = $connection->insert( ``` -public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Return descriptor used to connect to the active database -public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets the active connection unique identifier -public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object -public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object without replace bound parameters -public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object \ No newline at end of file diff --git a/id/api/Phalcon_Db_Adapter_Pdo_Sqlite.md b/id/api/Phalcon_Db_Adapter_Pdo_Sqlite.md index 1f92cfbfc6bd..a568c933ce4a 100644 --- a/id/api/Phalcon_Db_Adapter_Pdo_Sqlite.md +++ b/id/api/Phalcon_Db_Adapter_Pdo_Sqlite.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Adapter\\Pdo\\Sqlite** -*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) -*implements* [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -40,7 +40,7 @@ print_r( ``` -public [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface[]) **describeIndexes** (*string* $table, [*string* $schema]) +public [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface[]) **describeIndexes** (*string* $table, [*string* $schema]) Lists table indexes @@ -53,7 +53,7 @@ print_r( ``` -public [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface[]) **describeReferences** (*string* $table, [*string* $schema]) +public [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface[]) **describeReferences** (*string* $table, [*string* $schema]) Lists table references @@ -83,11 +83,11 @@ $success = $connection->insert( ``` -public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Constructor for Phalcon\\Db\\Adapter\\Pdo -public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns a PDO prepared statement to be executed with 'executePrepared' @@ -112,7 +112,7 @@ $result = $connection->executePrepared( ``` -public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Executes a prepared statement binding. This function uses integer indexes starting from zero @@ -137,7 +137,7 @@ $result = $connection->executePrepared( ``` -public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server is returning rows @@ -158,7 +158,7 @@ $resultset = $connection->query( ``` -public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server doesn't return any rows @@ -180,7 +180,7 @@ $success = $connection->execute( ``` -public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the number of affected rows by the latest INSERT/UPDATE/DELETE executed in the database system @@ -195,11 +195,11 @@ echo $connection->affectedRows(), " were deleted"; ``` -public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Closes the active connection returning success. Phalcon automatically closes and destroys active connections when the request ends -public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Escapes a value to avoid SQL injections according to the active charset in the connection @@ -210,7 +210,7 @@ $escapedStr = $connection->escapeString("some dangerous value"); ``` -public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Converts bound parameters such as :name: or ?1 into PDO bind params ? @@ -228,7 +228,7 @@ print_r( ``` -public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the insert id for the auto_increment/serial column inserted in the latest executed SQL statement @@ -253,23 +253,23 @@ $id = $connection->lastInsertId(); ``` -public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Starts a transaction in the connection -public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Rollbacks the active transaction in the connection -public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Commits the active transaction in the connection -public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the current transaction nesting level -public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Checks whether the connection is under a transaction @@ -285,43 +285,43 @@ var_dump( ``` -public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return internal PDO handler -public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return the error info, if any -public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Name of the dialect used -public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Type of database system the adapter is used for -public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL bound parameter variables -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the event manager -public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the internal event manager -public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the dialect used to produce the SQL -public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns internal dialect instance -public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the first row in a SQL query result @@ -338,7 +338,7 @@ print_r($robot); ``` -public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Dumps the complete result of a query into an array @@ -369,7 +369,7 @@ foreach($robots as $robot) { ``` -public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the n'th field of first row in a SQL query result @@ -389,7 +389,7 @@ print_r($robot); ``` -public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RDBMS SQL syntax @@ -408,7 +408,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RBDM SQL syntax @@ -429,7 +429,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax @@ -466,7 +466,7 @@ $success = $connection->update( Warning! If $whereCondition is string it not escaped. -public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax Another, more convenient syntax @@ -487,7 +487,7 @@ UPDATE `robots` SET `name` = "Astro boy" WHERE id = 101 ``` -public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Deletes data from a table using custom RBDM SQL syntax @@ -505,7 +505,7 @@ DELETE FROM `robots` WHERE `id` = 101 ``` -public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Escapes a column/table/schema name @@ -525,11 +525,11 @@ $escapedTable = $connection->escapeIdentifier( ``` -public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets a list of columns -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Appends a LIMIT clause to $sqlQuery argument @@ -540,7 +540,7 @@ echo $connection->limit("SELECT * FROM robots", 5); ``` -public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.table @@ -553,7 +553,7 @@ var_dump( ``` -public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.view @@ -566,71 +566,71 @@ var_dump( ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a FOR UPDATE clause -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a LOCK IN SHARE MODE clause -public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a table -public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table from a schema/database -public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a view -public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a view -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Modifies a table column based on a definition -public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds an index to a table -public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drop an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a primary key to a table -public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table's primary key -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a foreign key to a table -public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a foreign key from a table -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the SQL column definition from a column -public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all tables on a database @@ -643,7 +643,7 @@ print_r( ``` -public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all views on a database @@ -656,7 +656,7 @@ print_r( ``` -public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets creation options from a table @@ -669,31 +669,31 @@ print_r( ``` -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Releases given savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Rollbacks given savepoint -public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Set if nested transactions should use savepoints -public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns if nested transactions should use savepoints -public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the savepoint name to use for nested transactions -public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default identity value to be inserted in an identity column @@ -717,26 +717,26 @@ $success = $connection->insert( ``` -public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Check whether the database system requires a sequence to produce auto-numeric values -public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Return descriptor used to connect to the active database -public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets the active connection unique identifier -public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object -public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object without replace bound parameters -public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object \ No newline at end of file diff --git a/id/api/Phalcon_Db_Column.md b/id/api/Phalcon_Db_Column.md index ab2fdfb7a40e..fe0210a2b411 100644 --- a/id/api/Phalcon_Db_Column.md +++ b/id/api/Phalcon_Db_Column.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Db\\Column** -*implements* [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) +*implements* [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) Source on GitHub diff --git a/id/api/Phalcon_Db_Dialect.md b/id/api/Phalcon_Db_Dialect.md index 11c52ea58df4..df25f0af03ab 100644 --- a/id/api/Phalcon_Db_Dialect.md +++ b/id/api/Phalcon_Db_Dialect.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Db\\Dialect** -*implements* [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +*implements* [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) Source on GitHub @@ -199,86 +199,86 @@ protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $es Prepares qualified for this RDBMS -abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropTable** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropTable** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **describeIndexes** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **describeIndexes** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **tableOptions** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **tableOptions** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... \ No newline at end of file diff --git a/id/api/Phalcon_Db_DialectInterface.md b/id/api/Phalcon_Db_DialectInterface.md index 0bf993854d79..90ee58afb9e1 100644 --- a/id/api/Phalcon_Db_DialectInterface.md +++ b/id/api/Phalcon_Db_DialectInterface.md @@ -24,15 +24,15 @@ abstract public **getColumnList** (*array* $columnList) ... -abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) ... -abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) ... -abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) ... @@ -40,7 +40,7 @@ abstract public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* ... -abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) ... @@ -48,7 +48,7 @@ abstract public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* ... -abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) ... @@ -56,7 +56,7 @@ abstract public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) ... -abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) ... diff --git a/id/api/Phalcon_Db_Dialect_Mysql.md b/id/api/Phalcon_Db_Dialect_Mysql.md index 6178388fc739..d1a80102e14c 100644 --- a/id/api/Phalcon_Db_Dialect_Mysql.md +++ b/id/api/Phalcon_Db_Dialect_Mysql.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Dialect\\Mysql** -*extends* abstract class [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +*extends* abstract class [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) -*implements* [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +*implements* [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) Source on GitHub @@ -10,15 +10,15 @@ Generates database specific SQL for the MySQL RDBMS ## Methods -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Gets the column name in MySQL -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Generates SQL to add a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) Generates SQL to modify a column in a table @@ -26,7 +26,7 @@ public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnN Generates SQL to delete a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add an index to a table @@ -34,7 +34,7 @@ public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexNam Generates SQL to delete an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add the primary key to a table @@ -42,7 +42,7 @@ public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) Generates SQL to delete primary key from a table -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) Generates SQL to add an index to a table @@ -133,23 +133,23 @@ protected **_getTableOptions** (*array* $definition) Generates SQL to add the table creation options -public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Registers custom SQL functions -public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns registered functions -final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape Schema -final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape identifiers -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generates the SQL for LIMIT clause @@ -164,7 +164,7 @@ echo $sql; // SELECT * FROM robots LIMIT 10 OFFSET 50 ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a FOR UPDATE clause @@ -176,7 +176,7 @@ echo $sql; // SELECT * FROM robots FOR UPDATE ``` -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a LOCK IN SHARE MODE clause @@ -188,7 +188,7 @@ echo $sql; // SELECT * FROM robots LOCK IN SHARE MODE ``` -final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Gets a list of columns with escaped identifiers @@ -204,122 +204,122 @@ echo $dialect->getColumnList( ``` -final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transforms an intermediate representation for an expression into a database system valid expression -final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transform an intermediate representation of a schema/table into a database system valid expression -public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Builds a SELECT statement -public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports savepoints -public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports releasing savepoints. -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to create a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to release a savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to rollback a savepoint -final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve object expressions -final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve qualified expressions -final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve binary operations expressions -final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve unary operations expressions -final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve function calls -final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Lists -final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve * -final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CAST of values -final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CONVERT of values encodings -final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CASE expressions -final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a FROM clause -final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a JOINs clause -final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a WHERE clause -final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a GROUP BY clause -final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a HAVING clause -final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve an ORDER BY clause -final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a LIMIT clause -protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares column for this RDBMS -protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares table for this RDBMS -protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares qualified for this RDBMS \ No newline at end of file diff --git a/id/api/Phalcon_Db_Dialect_Postgresql.md b/id/api/Phalcon_Db_Dialect_Postgresql.md index 01fe5982984c..f10d03525235 100644 --- a/id/api/Phalcon_Db_Dialect_Postgresql.md +++ b/id/api/Phalcon_Db_Dialect_Postgresql.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Dialect\\Postgresql** -*extends* abstract class [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +*extends* abstract class [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) -*implements* [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +*implements* [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) Source on GitHub @@ -10,15 +10,15 @@ Generates database specific SQL for the PostgreSQL RDBMS ## Methods -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Gets the column name in PostgreSQL -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Generates SQL to add a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) Generates SQL to modify a column in a table @@ -26,7 +26,7 @@ public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnN Generates SQL to delete a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add an index to a table @@ -34,7 +34,7 @@ public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexNam Generates SQL to delete an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add the primary key to a table @@ -42,7 +42,7 @@ public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) Generates SQL to delete primary key from a table -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) Generates SQL to add an index to a table @@ -129,7 +129,7 @@ public **tableOptions** (*mixed* $table, [*mixed* $schema]) Generates the SQL to describe the table creation options -protected **_castDefault** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +protected **_castDefault** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) ... @@ -137,23 +137,23 @@ protected **_getTableOptions** (*array* $definition) ... -public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Registers custom SQL functions -public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns registered functions -final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape Schema -final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape identifiers -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generates the SQL for LIMIT clause @@ -168,7 +168,7 @@ echo $sql; // SELECT * FROM robots LIMIT 10 OFFSET 50 ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a FOR UPDATE clause @@ -180,7 +180,7 @@ echo $sql; // SELECT * FROM robots FOR UPDATE ``` -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a LOCK IN SHARE MODE clause @@ -192,7 +192,7 @@ echo $sql; // SELECT * FROM robots LOCK IN SHARE MODE ``` -final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Gets a list of columns with escaped identifiers @@ -208,122 +208,122 @@ echo $dialect->getColumnList( ``` -final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transforms an intermediate representation for an expression into a database system valid expression -final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transform an intermediate representation of a schema/table into a database system valid expression -public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Builds a SELECT statement -public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports savepoints -public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports releasing savepoints. -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to create a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to release a savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to rollback a savepoint -final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve object expressions -final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve qualified expressions -final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve binary operations expressions -final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve unary operations expressions -final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve function calls -final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Lists -final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve * -final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CAST of values -final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CONVERT of values encodings -final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CASE expressions -final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a FROM clause -final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a JOINs clause -final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a WHERE clause -final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a GROUP BY clause -final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a HAVING clause -final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve an ORDER BY clause -final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a LIMIT clause -protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares column for this RDBMS -protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares table for this RDBMS -protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares qualified for this RDBMS \ No newline at end of file diff --git a/id/api/Phalcon_Db_Dialect_Sqlite.md b/id/api/Phalcon_Db_Dialect_Sqlite.md index 7b38162151a0..dabec6d39e49 100644 --- a/id/api/Phalcon_Db_Dialect_Sqlite.md +++ b/id/api/Phalcon_Db_Dialect_Sqlite.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Dialect\\Sqlite** -*extends* abstract class [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +*extends* abstract class [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) -*implements* [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +*implements* [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) Source on GitHub @@ -10,15 +10,15 @@ Generates database specific SQL for the Sqlite RDBMS ## Methods -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Gets the column name in SQLite -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Generates SQL to add a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) Generates SQL to modify a column in a table @@ -26,7 +26,7 @@ public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnN Generates SQL to delete a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add an index to a table @@ -34,7 +34,7 @@ public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexNam Generates SQL to delete an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add the primary key to a table @@ -42,7 +42,7 @@ public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) Generates SQL to delete primary key from a table -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) Generates SQL to add an index to a table @@ -146,23 +146,23 @@ public **tableOptions** (*mixed* $table, [*mixed* $schema]) Generates the SQL to describe the table creation options -public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Registers custom SQL functions -public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns registered functions -final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape Schema -final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape identifiers -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generates the SQL for LIMIT clause @@ -177,7 +177,7 @@ echo $sql; // SELECT * FROM robots LIMIT 10 OFFSET 50 ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a FOR UPDATE clause @@ -189,7 +189,7 @@ echo $sql; // SELECT * FROM robots FOR UPDATE ``` -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a LOCK IN SHARE MODE clause @@ -201,7 +201,7 @@ echo $sql; // SELECT * FROM robots LOCK IN SHARE MODE ``` -final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Gets a list of columns with escaped identifiers @@ -217,122 +217,122 @@ echo $dialect->getColumnList( ``` -final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transforms an intermediate representation for an expression into a database system valid expression -final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transform an intermediate representation of a schema/table into a database system valid expression -public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Builds a SELECT statement -public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports savepoints -public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports releasing savepoints. -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to create a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to release a savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to rollback a savepoint -final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve object expressions -final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve qualified expressions -final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve binary operations expressions -final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve unary operations expressions -final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve function calls -final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Lists -final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve * -final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CAST of values -final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CONVERT of values encodings -final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CASE expressions -final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a FROM clause -final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a JOINs clause -final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a WHERE clause -final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a GROUP BY clause -final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a HAVING clause -final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve an ORDER BY clause -final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a LIMIT clause -protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares column for this RDBMS -protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares table for this RDBMS -protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares qualified for this RDBMS \ No newline at end of file diff --git a/id/api/Phalcon_Db_Exception.md b/id/api/Phalcon_Db_Exception.md index 839c2d00fbf8..00160179b065 100644 --- a/id/api/Phalcon_Db_Exception.md +++ b/id/api/Phalcon_Db_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Db\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/id/api/Phalcon_Db_Index.md b/id/api/Phalcon_Db_Index.md index 60a5b41f764f..9ca94ad0e146 100644 --- a/id/api/Phalcon_Db_Index.md +++ b/id/api/Phalcon_Db_Index.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Db\\Index** -*implements* [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) +*implements* [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) Source on GitHub diff --git a/id/api/Phalcon_Db_Profiler.md b/id/api/Phalcon_Db_Profiler.md index 05a913cb9c2c..1d6dde6d6e69 100644 --- a/id/api/Phalcon_Db_Profiler.md +++ b/id/api/Phalcon_Db_Profiler.md @@ -31,7 +31,7 @@ echo "Total Elapsed Time: ", $profile->getTotalElapsedSeconds(), "\n"; ## Methods -public [Phalcon\Db\Profiler](/en/3.1.2/api/Phalcon_Db_Profiler) **startProfile** (*string* $sqlStatement, [*mixed* $sqlVariables], [*mixed* $sqlBindTypes]) +public [Phalcon\Db\Profiler](/en/3.2/api/Phalcon_Db_Profiler) **startProfile** (*string* $sqlStatement, [*mixed* $sqlVariables], [*mixed* $sqlBindTypes]) Starts the profile of a SQL sentence diff --git a/id/api/Phalcon_Db_Reference.md b/id/api/Phalcon_Db_Reference.md index 30ac1a686521..2e83e14de226 100644 --- a/id/api/Phalcon_Db_Reference.md +++ b/id/api/Phalcon_Db_Reference.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Db\\Reference** -*implements* [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) +*implements* [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) Source on GitHub diff --git a/id/api/Phalcon_Db_Result_Pdo.md b/id/api/Phalcon_Db_Result_Pdo.md index 2e053d67ae6f..91808dece71f 100644 --- a/id/api/Phalcon_Db_Result_Pdo.md +++ b/id/api/Phalcon_Db_Result_Pdo.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Db\\Result\\Pdo** -*implements* [Phalcon\Db\ResultInterface](/en/3.1.2/api/Phalcon_Db_ResultInterface) +*implements* [Phalcon\Db\ResultInterface](/en/3.2/api/Phalcon_Db_ResultInterface) Source on GitHub @@ -23,7 +23,7 @@ while ($robot = $result->fetchArray()) { ## Methods -public **__construct** ([Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) $connection, [PDOStatement](http://php.net/manual/en/class.pdostatement.php) $result, [*string* $sqlStatement], [*array* $bindParams], [*array* $bindTypes]) +public **__construct** ([Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) $connection, [PDOStatement](http://php.net/manual/en/class.pdostatement.php) $result, [*string* $sqlStatement], [*array* $bindParams], [*array* $bindTypes]) Phalcon\\Db\\Result\\Pdo constructor diff --git a/ja/api/Phalcon_Acl_Adapter.md b/ja/api/Phalcon_Acl_Adapter.md index 9f86a2a2a142..1696a50b6e15 100644 --- a/ja/api/Phalcon_Acl_Adapter.md +++ b/ja/api/Phalcon_Acl_Adapter.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Acl\\Adapter** -*implements* [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -20,7 +20,7 @@ public **getActiveAccess** () Active access which the list is checking if some role can access it -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) Sets the events manager @@ -36,58 +36,58 @@ public **getDefaultAction** () Returns the default ACL access level -abstract public **setNoArgumentsDefaultAction** (*mixed* $defaultAccess) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **setNoArgumentsDefaultAction** (*mixed* $defaultAccess) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **getNoArgumentsDefaultAction** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **getNoArgumentsDefaultAction** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **addRole** (*mixed* $role, [*mixed* $accessInherits]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **addRole** (*mixed* $role, [*mixed* $accessInherits]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **addInherit** (*mixed* $roleName, *mixed* $roleToInherit) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **addInherit** (*mixed* $roleName, *mixed* $roleToInherit) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **isRole** (*mixed* $roleName) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **isRole** (*mixed* $roleName) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **isResource** (*mixed* $resourceName) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **isResource** (*mixed* $resourceName) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **addResource** (*mixed* $resourceObject, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **addResource** (*mixed* $resourceObject, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **addResourceAccess** (*mixed* $resourceName, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **addResourceAccess** (*mixed* $resourceName, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **dropResourceAccess** (*mixed* $resourceName, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **dropResourceAccess** (*mixed* $resourceName, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **allow** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*mixed* $func]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **allow** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*mixed* $func]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **deny** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*mixed* $func]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **deny** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*mixed* $func]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **isAllowed** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*array* $parameters]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **isAllowed** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*array* $parameters]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **getRoles** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **getRoles** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **getResources** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **getResources** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... \ No newline at end of file diff --git a/ja/api/Phalcon_Acl_Adapter_Memory.md b/ja/api/Phalcon_Acl_Adapter_Memory.md index e9ea95ccda45..889751c95b98 100644 --- a/ja/api/Phalcon_Acl_Adapter_Memory.md +++ b/ja/api/Phalcon_Acl_Adapter_Memory.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Acl\\Adapter\\Memory** -*extends* abstract class [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +*extends* abstract class [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) -*implements* [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +*implements* [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) Source on GitHub @@ -105,7 +105,7 @@ public **isResource** (*mixed* $resourceName) Check whether resource exist in the resources list -public **addResource** ([Phalcon\Acl\Resource](/en/3.1.2/api/Phalcon_Acl_Resource) | *string* $resourceValue, *array* | *string* $accessList) +public **addResource** ([Phalcon\Acl\Resource](/en/3.2/api/Phalcon_Acl_Resource) | *string* $resourceValue, *array* | *string* $accessList) Adds a resource to the ACL list Access names can be a particular action, by example search, update, delete, etc or a list of them Example: @@ -224,30 +224,30 @@ public **getResources** () Return an array with every resource registered in the list -public **getActiveRole** () inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **getActiveRole** () inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Role which the list is checking if it's allowed to certain resource/access -public **getActiveResource** () inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **getActiveResource** () inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Resource which the list is checking if some role can access it -public **getActiveAccess** () inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **getActiveAccess** () inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Active access which the list is checking if some role can access it -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Sets the events manager -public **getEventsManager** () inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **getEventsManager** () inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Returns the internal event manager -public **setDefaultAction** (*mixed* $defaultAccess) inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **setDefaultAction** (*mixed* $defaultAccess) inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Sets the default access level (Phalcon\\Acl::ALLOW or Phalcon\\Acl::DENY) -public **getDefaultAction** () inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **getDefaultAction** () inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Returns the default ACL access level \ No newline at end of file diff --git a/ja/api/Phalcon_Acl_Exception.md b/ja/api/Phalcon_Acl_Exception.md index 153094579c30..9c1b44ab7b5d 100644 --- a/ja/api/Phalcon_Acl_Exception.md +++ b/ja/api/Phalcon_Acl_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Acl\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/ja/api/Phalcon_Acl_Resource.md b/ja/api/Phalcon_Acl_Resource.md index 1663e1ad2e93..25ac2d3e792b 100644 --- a/ja/api/Phalcon_Acl_Resource.md +++ b/ja/api/Phalcon_Acl_Resource.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Acl\\Resource** -*implements* [Phalcon\Acl\ResourceInterface](/en/3.1.2/api/Phalcon_Acl_ResourceInterface) +*implements* [Phalcon\Acl\ResourceInterface](/en/3.2/api/Phalcon_Acl_ResourceInterface) Source on GitHub diff --git a/ja/api/Phalcon_Acl_Role.md b/ja/api/Phalcon_Acl_Role.md index e105183dd7f4..c8252648d6c8 100644 --- a/ja/api/Phalcon_Acl_Role.md +++ b/ja/api/Phalcon_Acl_Role.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Acl\\Role** -*implements* [Phalcon\Acl\RoleInterface](/en/3.1.2/api/Phalcon_Acl_RoleInterface) +*implements* [Phalcon\Acl\RoleInterface](/en/3.2/api/Phalcon_Acl_RoleInterface) Source on GitHub diff --git a/ja/api/Phalcon_Annotations_Adapter.md b/ja/api/Phalcon_Annotations_Adapter.md index 7a2b31fc4dc1..d42ac348bbc9 100644 --- a/ja/api/Phalcon_Annotations_Adapter.md +++ b/ja/api/Phalcon_Annotations_Adapter.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Annotations\\Adapter** -*implements* [Phalcon\Annotations\AdapterInterface](/en/3.1.2/api/Phalcon_Annotations_AdapterInterface) +*implements* [Phalcon\Annotations\AdapterInterface](/en/3.2/api/Phalcon_Annotations_AdapterInterface) Source on GitHub @@ -8,7 +8,7 @@ This is the base class for Phalcon\\Annotations adapters ## Methods -public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) +public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) Sets the annotations parser diff --git a/ja/api/Phalcon_Annotations_AdapterInterface.md b/ja/api/Phalcon_Annotations_AdapterInterface.md index a4e2c689503a..a1ff65cb01a1 100644 --- a/ja/api/Phalcon_Annotations_AdapterInterface.md +++ b/ja/api/Phalcon_Annotations_AdapterInterface.md @@ -4,7 +4,7 @@ ## Methods -abstract public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) +abstract public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) ... diff --git a/ja/api/Phalcon_Annotations_Adapter_Apc.md b/ja/api/Phalcon_Annotations_Adapter_Apc.md index 1b8a1d6d0d7d..467622a88425 100644 --- a/ja/api/Phalcon_Annotations_Adapter_Apc.md +++ b/ja/api/Phalcon_Annotations_Adapter_Apc.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Annotations\\Adapter\\Apc** -*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) -*implements* [Phalcon\Annotations\AdapterInterface](/en/3.1.2/api/Phalcon_Annotations_AdapterInterface) +*implements* [Phalcon\Annotations\AdapterInterface](/en/3.2/api/Phalcon_Annotations_AdapterInterface) Source on GitHub @@ -27,34 +27,34 @@ public **read** (*mixed* $key) Reads parsed annotations from APC -public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) $data) +public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) $data) Writes parsed annotations to APC -public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Sets the annotations parser -public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotation reader -public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Parses or retrieves all the annotations found in a class -public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific method -public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific property \ No newline at end of file diff --git a/ja/api/Phalcon_Annotations_Adapter_Files.md b/ja/api/Phalcon_Annotations_Adapter_Files.md index fcb4c23e6c2e..e4c407e5954e 100644 --- a/ja/api/Phalcon_Annotations_Adapter_Files.md +++ b/ja/api/Phalcon_Annotations_Adapter_Files.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Annotations\\Adapter\\Files** -*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) -*implements* [Phalcon\Annotations\AdapterInterface](/en/3.1.2/api/Phalcon_Annotations_AdapterInterface) +*implements* [Phalcon\Annotations\AdapterInterface](/en/3.2/api/Phalcon_Annotations_AdapterInterface) Source on GitHub @@ -27,38 +27,38 @@ public **__construct** ([*array* $options]) Phalcon\\Annotations\\Adapter\\Files constructor -public [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) **read** (*string* $key) +public [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) **read** (*string* $key) Reads parsed annotations from files -public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) $data) +public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) $data) Writes parsed annotations to files -public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Sets the annotations parser -public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotation reader -public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Parses or retrieves all the annotations found in a class -public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific method -public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific property \ No newline at end of file diff --git a/ja/api/Phalcon_Annotations_Adapter_Memory.md b/ja/api/Phalcon_Annotations_Adapter_Memory.md index 53fc2e3769c7..205f20e6b1b8 100644 --- a/ja/api/Phalcon_Annotations_Adapter_Memory.md +++ b/ja/api/Phalcon_Annotations_Adapter_Memory.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Annotations\\Adapter\\Memory** -*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) -*implements* [Phalcon\Annotations\AdapterInterface](/en/3.1.2/api/Phalcon_Annotations_AdapterInterface) +*implements* [Phalcon\Annotations\AdapterInterface](/en/3.2/api/Phalcon_Annotations_AdapterInterface) Source on GitHub @@ -14,34 +14,34 @@ public **read** (*mixed* $key) Reads parsed annotations from memory -public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) $data) +public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) $data) Writes parsed annotations to memory -public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Sets the annotations parser -public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotation reader -public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Parses or retrieves all the annotations found in a class -public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific method -public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific property \ No newline at end of file diff --git a/ja/api/Phalcon_Annotations_Adapter_Xcache.md b/ja/api/Phalcon_Annotations_Adapter_Xcache.md index 79bfa9e6b4d3..37c97e7e6b8c 100644 --- a/ja/api/Phalcon_Annotations_Adapter_Xcache.md +++ b/ja/api/Phalcon_Annotations_Adapter_Xcache.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Annotations\\Adapter\\Xcache** -*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) -*implements* [Phalcon\Annotations\AdapterInterface](/en/3.1.2/api/Phalcon_Annotations_AdapterInterface) +*implements* [Phalcon\Annotations\AdapterInterface](/en/3.2/api/Phalcon_Annotations_AdapterInterface) Source on GitHub @@ -17,38 +17,38 @@ $annotations = new \Phalcon\Annotations\Adapter\Xcache(); ## Methods -public [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) **read** (*string* $key) +public [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) **read** (*string* $key) Reads parsed annotations from XCache -public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) $data) +public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) $data) Writes parsed annotations to XCache -public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Sets the annotations parser -public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotation reader -public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Parses or retrieves all the annotations found in a class -public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific method -public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific property \ No newline at end of file diff --git a/ja/api/Phalcon_Annotations_Collection.md b/ja/api/Phalcon_Annotations_Collection.md index 8176520b43ea..ba33511a50fe 100644 --- a/ja/api/Phalcon_Annotations_Collection.md +++ b/ja/api/Phalcon_Annotations_Collection.md @@ -36,7 +36,7 @@ public **rewind** () Rewinds the internal iterator -public [Phalcon\Annotations\Annotation](/en/3.1.2/api/Phalcon_Annotations_Annotation) **current** () +public [Phalcon\Annotations\Annotation](/en/3.2/api/Phalcon_Annotations_Annotation) **current** () Returns the current annotation in the iterator diff --git a/ja/api/Phalcon_Annotations_Reader.md b/ja/api/Phalcon_Annotations_Reader.md index 56ca9b058cd1..4e8e513ffea9 100644 --- a/ja/api/Phalcon_Annotations_Reader.md +++ b/ja/api/Phalcon_Annotations_Reader.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Annotations\\Reader** -*implements* [Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) +*implements* [Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) Source on GitHub diff --git a/ja/api/Phalcon_Application.md b/ja/api/Phalcon_Application.md index e7e767824af2..5ff2b07edaf4 100644 --- a/ja/api/Phalcon_Application.md +++ b/ja/api/Phalcon_Application.md @@ -1,8 +1,8 @@ # Abstract class **Phalcon\\Application** -*extends* abstract class [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +*extends* abstract class [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) -*implements* [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface) +*implements* [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface) Source on GitHub @@ -10,9 +10,9 @@ Base class for Phalcon\\Cli\\Console and Phalcon\\Mvc\\Application. ## Methods -public **__construct** ([[Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector]) +public **__construct** ([[Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector]) -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) Sets the events manager @@ -62,14 +62,14 @@ abstract public **handle** () Handles a request -public **setDI** ([Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **setDI** ([Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Sets the dependency injector -public **getDI** () inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **getDI** () inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Returns the internal dependency injector -public **__get** (*mixed* $propertyName) inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **__get** (*mixed* $propertyName) inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Magic method __get \ No newline at end of file diff --git a/ja/api/Phalcon_Application_Exception.md b/ja/api/Phalcon_Application_Exception.md index ade9f4d1b49e..49637aa88e5e 100644 --- a/ja/api/Phalcon_Application_Exception.md +++ b/ja/api/Phalcon_Application_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Application\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/ja/api/Phalcon_Assets_Collection.md b/ja/api/Phalcon_Assets_Collection.md index 9c3e06cdb077..f6f18d5a1d60 100644 --- a/ja/api/Phalcon_Assets_Collection.md +++ b/ja/api/Phalcon_Assets_Collection.md @@ -56,14 +56,35 @@ public **getSourcePath** () ... -public **add** ([Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) $resource) +public **__construct** () + +Phalcon\\Assets\\Collection constructor + +public **add** ([Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) $resource) Adds a resource to the collection -public **addInline** ([Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) $code) +public **addInline** ([Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) $code) Adds an inline code to the collection +public **has** ([Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) $resource) + +Checks this the resource is added to the collection. + +```php +has($resource); // true + +``` + public **addCss** (*mixed* $path, [*mixed* $local], [*mixed* $filter], [*mixed* $attributes]) Adds a CSS resource to the collection @@ -72,7 +93,7 @@ public **addInlineCss** (*mixed* $content, [*mixed* $filter], [*mixed* $attribut Adds an inline CSS to the collection -public [Phalcon\Assets\Collection](/en/3.1.2/api/Phalcon_Assets_Collection) **addJs** (*string* $path, [*boolean* $local], [*boolean* $filter], [*array* $attributes]) +public [Phalcon\Assets\Collection](/en/3.2/api/Phalcon_Assets_Collection) **addJs** (*string* $path, [*boolean* $local], [*boolean* $filter], [*array* $attributes]) Adds a javascript resource to the collection @@ -144,6 +165,10 @@ public **getRealTargetPath** (*mixed* $basePath) Returns the complete location where the joined/filtered collection must be written -public **addFilter** ([Phalcon\Assets\FilterInterface](/en/3.1.2/api/Phalcon_Assets_FilterInterface) $filter) +public **addFilter** ([Phalcon\Assets\FilterInterface](/en/3.2/api/Phalcon_Assets_FilterInterface) $filter) + +Adds a filter to the collection + +final protected **addResource** ([Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) $resource) -Adds a filter to the collection \ No newline at end of file +Adds a resource or inline-code to the collection \ No newline at end of file diff --git a/ja/api/Phalcon_Assets_Exception.md b/ja/api/Phalcon_Assets_Exception.md index bf3c9a57c01a..4c8c0516fd94 100644 --- a/ja/api/Phalcon_Assets_Exception.md +++ b/ja/api/Phalcon_Assets_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Assets\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/ja/api/Phalcon_Assets_Filters_Cssmin.md b/ja/api/Phalcon_Assets_Filters_Cssmin.md index 75e2781f79a0..a807a59e4880 100644 --- a/ja/api/Phalcon_Assets_Filters_Cssmin.md +++ b/ja/api/Phalcon_Assets_Filters_Cssmin.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Assets\\Filters\\Cssmin** -*implements* [Phalcon\Assets\FilterInterface](/en/3.1.2/api/Phalcon_Assets_FilterInterface) +*implements* [Phalcon\Assets\FilterInterface](/en/3.2/api/Phalcon_Assets_FilterInterface) Source on GitHub diff --git a/ja/api/Phalcon_Assets_Filters_Jsmin.md b/ja/api/Phalcon_Assets_Filters_Jsmin.md index 2ee9aa7f5390..2bfe2b4851a4 100644 --- a/ja/api/Phalcon_Assets_Filters_Jsmin.md +++ b/ja/api/Phalcon_Assets_Filters_Jsmin.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Assets\\Filters\\Jsmin** -*implements* [Phalcon\Assets\FilterInterface](/en/3.1.2/api/Phalcon_Assets_FilterInterface) +*implements* [Phalcon\Assets\FilterInterface](/en/3.2/api/Phalcon_Assets_FilterInterface) Source on GitHub diff --git a/ja/api/Phalcon_Assets_Filters_None.md b/ja/api/Phalcon_Assets_Filters_None.md index 93c79dd941f6..60e59aac09de 100644 --- a/ja/api/Phalcon_Assets_Filters_None.md +++ b/ja/api/Phalcon_Assets_Filters_None.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Assets\\Filters\\None** -*implements* [Phalcon\Assets\FilterInterface](/en/3.1.2/api/Phalcon_Assets_FilterInterface) +*implements* [Phalcon\Assets\FilterInterface](/en/3.2/api/Phalcon_Assets_FilterInterface) Source on GitHub diff --git a/ja/api/Phalcon_Assets_Inline.md b/ja/api/Phalcon_Assets_Inline.md index 05a1f622aa48..e5c3ef631536 100644 --- a/ja/api/Phalcon_Assets_Inline.md +++ b/ja/api/Phalcon_Assets_Inline.md @@ -1,5 +1,7 @@ # Class **Phalcon\\Assets\\Inline** +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) + Source on GitHub Represents an inline asset @@ -43,4 +45,8 @@ Sets if the resource must be filtered or not public **setAttributes** (*array* $attributes) -Sets extra HTML attributes \ No newline at end of file +Sets extra HTML attributes + +public **getResourceKey** () + +Gets the resource's key. \ No newline at end of file diff --git a/ja/api/Phalcon_Assets_Inline_Css.md b/ja/api/Phalcon_Assets_Inline_Css.md index c4d7a9d0e919..aad74b78beca 100644 --- a/ja/api/Phalcon_Assets_Inline_Css.md +++ b/ja/api/Phalcon_Assets_Inline_Css.md @@ -1,6 +1,8 @@ # Class **Phalcon\\Assets\\Inline\\Css** -*extends* class [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +*extends* class [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) + +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) Source on GitHub @@ -10,30 +12,34 @@ Represents an inlined CSS public **__construct** (*string* $content, [*boolean* $filter], [*array* $attributes]) -public **getType** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getType** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getContent** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getContent** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getFilter** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getFilter** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getAttributes** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getAttributes** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) Sets the inline's type -public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) Sets if the resource must be filtered or not -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) + +Sets extra HTML attributes + +public **getResourceKey** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) -Sets extra HTML attributes \ No newline at end of file +Gets the resource's key. \ No newline at end of file diff --git a/ja/api/Phalcon_Assets_Inline_Js.md b/ja/api/Phalcon_Assets_Inline_Js.md index 27d57246d817..1cce336b4116 100644 --- a/ja/api/Phalcon_Assets_Inline_Js.md +++ b/ja/api/Phalcon_Assets_Inline_Js.md @@ -1,6 +1,8 @@ # Class **Phalcon\\Assets\\Inline\\Js** -*extends* class [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +*extends* class [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) + +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) Source on GitHub @@ -10,30 +12,34 @@ Represents an inline Javascript public **__construct** (*string* $content, [*boolean* $filter], [*array* $attributes]) -public **getType** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getType** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getContent** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getContent** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getFilter** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getFilter** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getAttributes** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getAttributes** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) Sets the inline's type -public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) Sets if the resource must be filtered or not -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) + +Sets extra HTML attributes + +public **getResourceKey** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) -Sets extra HTML attributes \ No newline at end of file +Gets the resource's key. \ No newline at end of file diff --git a/ja/api/Phalcon_Assets_Manager.md b/ja/api/Phalcon_Assets_Manager.md index 55ab07f19201..13ecabf4ff9c 100644 --- a/ja/api/Phalcon_Assets_Manager.md +++ b/ja/api/Phalcon_Assets_Manager.md @@ -52,7 +52,7 @@ public **addInlineJs** (*mixed* $content, [*mixed* $filter], [*mixed* $attribute Adds an inline javascript to the 'js' collection -public **addResourceByType** (*mixed* $type, [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) $resource) +public **addResourceByType** (*mixed* $type, [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) $resource) Adds a resource by its type @@ -65,11 +65,11 @@ $assets->addResourceByType("css", ``` -public **addInlineCodeByType** (*mixed* $type, [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) $code) +public **addInlineCodeByType** (*mixed* $type, [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) $code) Adds an inline code by its type -public **addResource** ([Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) $resource) +public **addResource** ([Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) $resource) Adds a raw resource to the manager @@ -82,11 +82,11 @@ $assets->addResource( ``` -public **addInlineCode** ([Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) $code) +public **addInlineCode** ([Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) $code) Adds a raw inline code to the manager -public **set** (*mixed* $id, [Phalcon\Assets\Collection](/en/3.1.2/api/Phalcon_Assets_Collection) $collection) +public **set** (*mixed* $id, [Phalcon\Assets\Collection](/en/3.2/api/Phalcon_Assets_Collection) $collection) Sets a collection in the Assets Manager @@ -99,7 +99,7 @@ $assets->set("js", $collection); public **get** (*mixed* $id) -Returns a collection by its id +Returns a collection by its id. ```php exists("jsHeader")) { + // \Phalcon\Assets\Collection + $collection = $assets->get("jsHeader"); +} + +``` \ No newline at end of file diff --git a/ja/api/Phalcon_Assets_Resource.md b/ja/api/Phalcon_Assets_Resource.md index 9718061c348e..d67dc71b7929 100644 --- a/ja/api/Phalcon_Assets_Resource.md +++ b/ja/api/Phalcon_Assets_Resource.md @@ -1,5 +1,7 @@ # Class **Phalcon\\Assets\\Resource** +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) + Source on GitHub Represents an asset resource @@ -85,4 +87,8 @@ Returns the complete location where the resource is located public **getRealTargetPath** ([*mixed* $basePath]) -Returns the complete location where the resource must be written \ No newline at end of file +Returns the complete location where the resource must be written + +public **getResourceKey** () + +Gets the resource's key. \ No newline at end of file diff --git a/ja/api/Phalcon_Assets_Resource_Css.md b/ja/api/Phalcon_Assets_Resource_Css.md index 9376a4de5f6d..11c938e391ca 100644 --- a/ja/api/Phalcon_Assets_Resource_Css.md +++ b/ja/api/Phalcon_Assets_Resource_Css.md @@ -1,6 +1,8 @@ # Class **Phalcon\\Assets\\Resource\\Css** -*extends* class [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +*extends* class [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) + +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) Source on GitHub @@ -10,72 +12,76 @@ Represents CSS resources public **__construct** (*string* $path, [*boolean* $local], [*boolean* $filter], [*array* $attributes]) -public **getType** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getType** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getPath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getPath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getLocal** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getLocal** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getFilter** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getFilter** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getAttributes** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getAttributes** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getSourcePath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getSourcePath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **getTargetPath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getTargetPath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **getTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's type -public **setPath** (*mixed* $path) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setPath** (*mixed* $path) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's path -public **setLocal** (*mixed* $local) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setLocal** (*mixed* $local) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets if the resource is local or external -public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets if the resource must be filtered or not -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets extra HTML attributes -public **setTargetUri** (*mixed* $targetUri) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setTargetUri** (*mixed* $targetUri) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets a target uri for the generated HTML -public **setSourcePath** (*mixed* $sourcePath) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setSourcePath** (*mixed* $sourcePath) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's source path -public **setTargetPath** (*mixed* $targetPath) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setTargetPath** (*mixed* $targetPath) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's target path -public **getContent** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getContent** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the content of the resource as an string Optionally a base path where the resource is located can be set -public **getRealTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the real target uri for the generated HTML -public **getRealSourcePath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealSourcePath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the complete location where the resource is located -public **getRealTargetPath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealTargetPath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) + +Returns the complete location where the resource must be written + +public **getResourceKey** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -Returns the complete location where the resource must be written \ No newline at end of file +Gets the resource's key. \ No newline at end of file diff --git a/ja/api/Phalcon_Assets_Resource_Js.md b/ja/api/Phalcon_Assets_Resource_Js.md index a4c132ff1ed1..2acc4d239b9d 100644 --- a/ja/api/Phalcon_Assets_Resource_Js.md +++ b/ja/api/Phalcon_Assets_Resource_Js.md @@ -1,6 +1,8 @@ # Class **Phalcon\\Assets\\Resource\\Js** -*extends* class [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +*extends* class [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) + +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) Source on GitHub @@ -10,72 +12,76 @@ Represents Javascript resources public **__construct** (*string* $path, [*boolean* $local], [*boolean* $filter], [*array* $attributes]) -public **getType** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getType** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getPath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getPath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getLocal** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getLocal** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getFilter** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getFilter** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getAttributes** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getAttributes** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getSourcePath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getSourcePath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **getTargetPath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getTargetPath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **getTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's type -public **setPath** (*mixed* $path) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setPath** (*mixed* $path) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's path -public **setLocal** (*mixed* $local) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setLocal** (*mixed* $local) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets if the resource is local or external -public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets if the resource must be filtered or not -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets extra HTML attributes -public **setTargetUri** (*mixed* $targetUri) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setTargetUri** (*mixed* $targetUri) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets a target uri for the generated HTML -public **setSourcePath** (*mixed* $sourcePath) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setSourcePath** (*mixed* $sourcePath) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's source path -public **setTargetPath** (*mixed* $targetPath) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setTargetPath** (*mixed* $targetPath) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's target path -public **getContent** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getContent** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the content of the resource as an string Optionally a base path where the resource is located can be set -public **getRealTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the real target uri for the generated HTML -public **getRealSourcePath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealSourcePath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the complete location where the resource is located -public **getRealTargetPath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealTargetPath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) + +Returns the complete location where the resource must be written + +public **getResourceKey** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -Returns the complete location where the resource must be written \ No newline at end of file +Gets the resource's key. \ No newline at end of file diff --git a/ja/api/Phalcon_Cache_Backend.md b/ja/api/Phalcon_Cache_Backend.md index f81ba2e57820..6e8b2e14bbff 100644 --- a/ja/api/Phalcon_Cache_Backend.md +++ b/ja/api/Phalcon_Cache_Backend.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Cache\\Backend** -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -32,7 +32,7 @@ public **setLastKey** (*mixed* $lastKey) ... -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend constructor @@ -56,22 +56,22 @@ public *int* **getLifetime** () Gets the last lifetime set -abstract public **get** (*mixed* $keyName, [*mixed* $lifetime]) inherited from [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +abstract public **get** (*mixed* $keyName, [*mixed* $lifetime]) inherited from [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) ... -abstract public **save** ([*mixed* $keyName], [*mixed* $content], [*mixed* $lifetime], [*mixed* $stopBuffer]) inherited from [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +abstract public **save** ([*mixed* $keyName], [*mixed* $content], [*mixed* $lifetime], [*mixed* $stopBuffer]) inherited from [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) ... -abstract public **delete** (*mixed* $keyName) inherited from [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +abstract public **delete** (*mixed* $keyName) inherited from [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) ... -abstract public **queryKeys** ([*mixed* $prefix]) inherited from [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +abstract public **queryKeys** ([*mixed* $prefix]) inherited from [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) ... -abstract public **exists** ([*mixed* $keyName], [*mixed* $lifetime]) inherited from [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +abstract public **exists** ([*mixed* $keyName], [*mixed* $lifetime]) inherited from [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) ... \ No newline at end of file diff --git a/ja/api/Phalcon_Cache_Backend_Apc.md b/ja/api/Phalcon_Cache_Backend_Apc.md index 6f08c1fef4b7..92b01c89d25a 100644 --- a/ja/api/Phalcon_Cache_Backend_Apc.md +++ b/ja/api/Phalcon_Cache_Backend_Apc.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Apc** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -94,50 +94,50 @@ $cache->flush(); ``` -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Phalcon\\Cache\\Backend constructor -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/ja/api/Phalcon_Cache_Backend_File.md b/ja/api/Phalcon_Cache_Backend_File.md index 78c3aff0e84c..3ea73b705889 100644 --- a/ja/api/Phalcon_Cache_Backend_File.md +++ b/ja/api/Phalcon_Cache_Backend_File.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\File** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -44,7 +44,7 @@ if ($content === null) { ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, *array* $options) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, *array* $options) Phalcon\\Cache\\Backend\\File constructor @@ -98,46 +98,46 @@ public **useSafeKey** (*mixed* $useSafeKey) Set whether to use the safekey or not -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/ja/api/Phalcon_Cache_Backend_Libmemcached.md b/ja/api/Phalcon_Cache_Backend_Libmemcached.md index 88948897b300..9ec4b031d82e 100644 --- a/ja/api/Phalcon_Cache_Backend_Libmemcached.md +++ b/ja/api/Phalcon_Cache_Backend_Libmemcached.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Libmemcached** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -49,7 +49,7 @@ $data = $cache->get("my-data"); ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend\\Memcache constructor @@ -116,46 +116,46 @@ $cache->flush(); ``` -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/ja/api/Phalcon_Cache_Backend_Memcache.md b/ja/api/Phalcon_Cache_Backend_Memcache.md index 7310592149b1..6f2575ca5c8d 100644 --- a/ja/api/Phalcon_Cache_Backend_Memcache.md +++ b/ja/api/Phalcon_Cache_Backend_Memcache.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Memcache** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -43,7 +43,7 @@ $data = $cache->get("my-data"); ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend\\Memcache constructor @@ -97,46 +97,46 @@ public **flush** () Immediately invalidates all existing items. -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/ja/api/Phalcon_Cache_Backend_Memory.md b/ja/api/Phalcon_Cache_Backend_Memory.md index 06a4216cf7ac..a269432ab9f3 100644 --- a/ja/api/Phalcon_Cache_Backend_Memory.md +++ b/ja/api/Phalcon_Cache_Backend_Memory.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Memory** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface), [Serializable](http://php.net/manual/en/class.serializable.php) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface), [Serializable](http://php.net/manual/en/class.serializable.php) Source on GitHub @@ -79,50 +79,50 @@ public **unserialize** (*mixed* $data) Required for interface \\Serializable -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Phalcon\\Cache\\Backend constructor -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/ja/api/Phalcon_Cache_Backend_Mongo.md b/ja/api/Phalcon_Cache_Backend_Mongo.md index 9ad0f67b530c..6421cd0f4f29 100644 --- a/ja/api/Phalcon_Cache_Backend_Mongo.md +++ b/ja/api/Phalcon_Cache_Backend_Mongo.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Mongo** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -44,7 +44,7 @@ $data = $cache->get("my-data"); ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend\\Mongo constructor @@ -98,46 +98,46 @@ public **flush** () Immediately invalidates all existing items. -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/ja/api/Phalcon_Cache_Backend_Redis.md b/ja/api/Phalcon_Cache_Backend_Redis.md index 123bf025f2af..a3509251d509 100644 --- a/ja/api/Phalcon_Cache_Backend_Redis.md +++ b/ja/api/Phalcon_Cache_Backend_Redis.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Redis** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -45,7 +45,7 @@ $data = $cache->get("my-data"); ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend\\Redis constructor @@ -105,46 +105,46 @@ public **flush** () Immediately invalidates all existing items. -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/ja/api/Phalcon_Cache_Backend_Xcache.md b/ja/api/Phalcon_Cache_Backend_Xcache.md index b91e75b19c79..7dac8215d5f3 100644 --- a/ja/api/Phalcon_Cache_Backend_Xcache.md +++ b/ja/api/Phalcon_Cache_Backend_Xcache.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Xcache** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -38,7 +38,7 @@ $data = $cache->get("my-data"); ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend\\Xcache constructor @@ -84,46 +84,46 @@ public **flush** () Immediately invalidates all existing items. -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/ja/api/Phalcon_Cache_Exception.md b/ja/api/Phalcon_Cache_Exception.md index cbb05a3a76e4..87f2372e7864 100644 --- a/ja/api/Phalcon_Cache_Exception.md +++ b/ja/api/Phalcon_Cache_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/ja/api/Phalcon_Cache_Frontend_Base64.md b/ja/api/Phalcon_Cache_Frontend_Base64.md index 92f36996b4b7..473895a88aa8 100644 --- a/ja/api/Phalcon_Cache_Frontend_Base64.md +++ b/ja/api/Phalcon_Cache_Frontend_Base64.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Frontend\\Base64** -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/ja/api/Phalcon_Cache_Frontend_Data.md b/ja/api/Phalcon_Cache_Frontend_Data.md index f46469ab7410..1f249be7103c 100644 --- a/ja/api/Phalcon_Cache_Frontend_Data.md +++ b/ja/api/Phalcon_Cache_Frontend_Data.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Frontend\\Data** -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/ja/api/Phalcon_Cache_Frontend_Igbinary.md b/ja/api/Phalcon_Cache_Frontend_Igbinary.md index 1460a42ce867..714a96bb4de1 100644 --- a/ja/api/Phalcon_Cache_Frontend_Igbinary.md +++ b/ja/api/Phalcon_Cache_Frontend_Igbinary.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Frontend\\Igbinary** -*extends* class [Phalcon\Cache\Frontend\Data](/en/3.1.2/api/Phalcon_Cache_Frontend_Data) +*extends* class [Phalcon\Cache\Frontend\Data](/en/3.2/api/Phalcon_Cache_Frontend_Data) -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/ja/api/Phalcon_Cache_Frontend_Json.md b/ja/api/Phalcon_Cache_Frontend_Json.md index 64a296ca976f..bfe39cdc53c4 100644 --- a/ja/api/Phalcon_Cache_Frontend_Json.md +++ b/ja/api/Phalcon_Cache_Frontend_Json.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Frontend\\Json** -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/ja/api/Phalcon_Cache_Frontend_Msgpack.md b/ja/api/Phalcon_Cache_Frontend_Msgpack.md index f77a99a21168..857b40d4bbdc 100644 --- a/ja/api/Phalcon_Cache_Frontend_Msgpack.md +++ b/ja/api/Phalcon_Cache_Frontend_Msgpack.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Frontend\\Msgpack** -*extends* class [Phalcon\Cache\Frontend\Data](/en/3.1.2/api/Phalcon_Cache_Frontend_Data) +*extends* class [Phalcon\Cache\Frontend\Data](/en/3.2/api/Phalcon_Cache_Frontend_Data) -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/ja/api/Phalcon_Cache_Frontend_None.md b/ja/api/Phalcon_Cache_Frontend_None.md index 521fcd02f344..bdc0af2d4135 100644 --- a/ja/api/Phalcon_Cache_Frontend_None.md +++ b/ja/api/Phalcon_Cache_Frontend_None.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Frontend\\None** -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/ja/api/Phalcon_Cache_Frontend_Output.md b/ja/api/Phalcon_Cache_Frontend_Output.md index 8421c02f1276..c6a0543703d6 100644 --- a/ja/api/Phalcon_Cache_Frontend_Output.md +++ b/ja/api/Phalcon_Cache_Frontend_Output.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Frontend\\Output** -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/ja/api/Phalcon_Cache_Multiple.md b/ja/api/Phalcon_Cache_Multiple.md index bbfa61a13274..1d9fd1365aa9 100644 --- a/ja/api/Phalcon_Cache_Multiple.md +++ b/ja/api/Phalcon_Cache_Multiple.md @@ -65,11 +65,11 @@ $cache->save("my-key", $data); ## Methods -public **__construct** ([[Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface[]) $backends]) +public **__construct** ([[Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface[]) $backends]) Phalcon\\Cache\\Multiple constructor -public **push** ([Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) $backend) +public **push** ([Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) $backend) Adds a backend diff --git a/ja/api/Phalcon_Cli_Console.md b/ja/api/Phalcon_Cli_Console.md index c769b7ad7659..f0337bf3f1ec 100644 --- a/ja/api/Phalcon_Cli_Console.md +++ b/ja/api/Phalcon_Cli_Console.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cli\\Console** -*extends* abstract class [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +*extends* abstract class [Phalcon\Application](/en/3.2/api/Phalcon_Application) -*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -36,19 +36,19 @@ public **setArgument** ([*array* $arguments], [*mixed* $str], [*mixed* $shift]) Set an specific argument -public **__construct** ([[Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector]) inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **__construct** ([[Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector]) inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Phalcon\\Application -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Sets the events manager -public **getEventsManager** () inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **getEventsManager** () inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Returns the internal event manager -public **registerModules** (*array* $modules, [*mixed* $merge]) inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **registerModules** (*array* $modules, [*mixed* $merge]) inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Register an array of modules present in the application @@ -70,30 +70,30 @@ $this->registerModules( ``` -public **getModules** () inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **getModules** () inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Return the modules registered in the application -public **getModule** (*mixed* $name) inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **getModule** (*mixed* $name) inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Gets the module definition registered in the application via module name -public **setDefaultModule** (*mixed* $defaultModule) inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **setDefaultModule** (*mixed* $defaultModule) inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Sets the module name to be used if the router doesn't return a valid module -public **getDefaultModule** () inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **getDefaultModule** () inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Returns the default module name -public **setDI** ([Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **setDI** ([Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Sets the dependency injector -public **getDI** () inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **getDI** () inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Returns the internal dependency injector -public **__get** (*mixed* $propertyName) inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **__get** (*mixed* $propertyName) inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Magic method __get \ No newline at end of file diff --git a/ja/api/Phalcon_Cli_Console_Exception.md b/ja/api/Phalcon_Cli_Console_Exception.md index 64a6f1f9162a..e7bfea5dbde1 100644 --- a/ja/api/Phalcon_Cli_Console_Exception.md +++ b/ja/api/Phalcon_Cli_Console_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cli\\Console\\Exception** -*extends* class [Phalcon\Application\Exception](/en/3.1.2/api/Phalcon_Application_Exception) +*extends* class [Phalcon\Application\Exception](/en/3.2/api/Phalcon_Application_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/ja/api/Phalcon_Cli_Dispatcher.md b/ja/api/Phalcon_Cli_Dispatcher.md index 7b91f5c9f537..f03b7c7c61ac 100644 --- a/ja/api/Phalcon_Cli_Dispatcher.md +++ b/ja/api/Phalcon_Cli_Dispatcher.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cli\\Dispatcher** -*extends* abstract class [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +*extends* abstract class [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) -*implements* [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface), [Phalcon\Cli\DispatcherInterface](/en/3.1.2/api/Phalcon_Cli_DispatcherInterface) +*implements* [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface), [Phalcon\Cli\DispatcherInterface](/en/3.2/api/Phalcon_Cli_DispatcherInterface) Source on GitHub @@ -11,10 +11,11 @@ Dispatching is the process of taking the command-line arguments, extracting the ```php setDi($di); $dispatcher->setTaskName("posts"); @@ -81,107 +82,115 @@ public **getOptions** () Get dispatched options +public **getOption** (*mixed* $option, [*string* | *array* $filters], [*mixed* $defaultValue]) + +Gets an option by its name or numeric index + +public **hasOption** (*mixed* $option) + +Check if an option exists + public **callActionMethod** (*mixed* $handler, *mixed* $actionMethod, [*array* $params]) -... +Calls the action method. -public **setDI** ([Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setDI** ([Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the dependency injector -public **getDI** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getDI** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns the internal dependency injector -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the events manager -public **getEventsManager** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getEventsManager** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns the internal event manager -public **setActionSuffix** (*mixed* $actionSuffix) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setActionSuffix** (*mixed* $actionSuffix) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the default action suffix -public **getActionSuffix** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getActionSuffix** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets the default action suffix -public **setModuleName** (*mixed* $moduleName) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setModuleName** (*mixed* $moduleName) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the module where the controller is (only informative) -public **getModuleName** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getModuleName** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets the module where the controller class is -public **setNamespaceName** (*mixed* $namespaceName) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setNamespaceName** (*mixed* $namespaceName) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the namespace where the controller class is -public **getNamespaceName** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getNamespaceName** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets a namespace to be prepended to the current handler name -public **setDefaultNamespace** (*mixed* $namespaceName) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setDefaultNamespace** (*mixed* $namespaceName) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the default namespace -public **getDefaultNamespace** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getDefaultNamespace** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns the default namespace -public **setDefaultAction** (*mixed* $actionName) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setDefaultAction** (*mixed* $actionName) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the default action name -public **setActionName** (*mixed* $actionName) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setActionName** (*mixed* $actionName) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the action name to be dispatched -public **getActionName** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getActionName** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets the latest dispatched action name -public **setParams** (*array* $params) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setParams** (*array* $params) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets action params to be dispatched -public **getParams** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getParams** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets action params -public **setParam** (*mixed* $param, *mixed* $value) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setParam** (*mixed* $param, *mixed* $value) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Set a param by its name or numeric index -public *mixed* **getParam** (*mixed* $param, [*string* | *array* $filters], [*mixed* $defaultValue]) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public *mixed* **getParam** (*mixed* $param, [*string* | *array* $filters], [*mixed* $defaultValue]) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets a param by its name or numeric index -public *boolean* **hasParam** (*mixed* $param) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public *boolean* **hasParam** (*mixed* $param) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Check if a param exists -public **getActiveMethod** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getActiveMethod** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns the current method to be/executed in the dispatcher -public **isFinished** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **isFinished** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Checks if the dispatch loop is finished or has more pendent controllers/tasks to dispatch -public **setReturnedValue** (*mixed* $value) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setReturnedValue** (*mixed* $value) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the latest returned value by an action manually -public *mixed* **getReturnedValue** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public *mixed* **getReturnedValue** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns value returned by the latest dispatched action -public **setModelBinding** (*mixed* $value, [*mixed* $cache]) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setModelBinding** (*mixed* $value, [*mixed* $cache]) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Enable/Disable model binding during dispatch @@ -197,7 +206,7 @@ $di->set('dispatcher', function() { ``` -public **setModelBinder** ([Phalcon\Mvc\Model\BinderInterface](/en/3.1.2/api/Phalcon_Mvc_Model_BinderInterface) $modelBinder, [*mixed* $cache]) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setModelBinder** ([Phalcon\Mvc\Model\BinderInterface](/en/3.2/api/Phalcon_Mvc_Model_BinderInterface) $modelBinder, [*mixed* $cache]) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Enable model binding during dispatch @@ -213,21 +222,21 @@ $di->set('dispatcher', function() { ``` -public **getModelBinder** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getModelBinder** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets model binder -public *object* **dispatch** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public *object* **dispatch** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Dispatches a handle action taking into account the routing parameters -protected *object* **_dispatch** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +protected *object* **_dispatch** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Dispatches a handle action taking into account the routing parameters -public **forward** (*array* $forward) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **forward** (*array* $forward) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) -Forwards the execution flow to another controller/action Dispatchers are unique per module. Forwarding between modules is not allowed +Forwards the execution flow to another controller/action. ```php dispatcher->forward( ``` -public **wasForwarded** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **wasForwarded** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Check if the current executed action was forwarded by another one -public **getHandlerClass** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getHandlerClass** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Possible class name that will be located to dispatch the request -public **getBoundModels** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getBoundModels** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns bound models from binder instance @@ -266,6 +275,6 @@ class UserController extends Controller ``` -protected **_resolveEmptyProperties** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +protected **_resolveEmptyProperties** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Set empty properties to their defaults (where defaults are available) \ No newline at end of file diff --git a/ja/api/Phalcon_Cli_DispatcherInterface.md b/ja/api/Phalcon_Cli_DispatcherInterface.md index 58914bf4b682..78f4d7b40c9c 100644 --- a/ja/api/Phalcon_Cli_DispatcherInterface.md +++ b/ja/api/Phalcon_Cli_DispatcherInterface.md @@ -1,6 +1,6 @@ # Interface **Phalcon\\Cli\\DispatcherInterface** -*implements* [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +*implements* [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) Source on GitHub @@ -30,70 +30,70 @@ abstract public **getActiveTask** () ... -abstract public **setActionSuffix** (*mixed* $actionSuffix) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setActionSuffix** (*mixed* $actionSuffix) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **getActionSuffix** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **getActionSuffix** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setDefaultNamespace** (*mixed* $defaultNamespace) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setDefaultNamespace** (*mixed* $defaultNamespace) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setDefaultAction** (*mixed* $actionName) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setDefaultAction** (*mixed* $actionName) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setNamespaceName** (*mixed* $namespaceName) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setNamespaceName** (*mixed* $namespaceName) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setModuleName** (*mixed* $moduleName) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setModuleName** (*mixed* $moduleName) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setActionName** (*mixed* $actionName) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setActionName** (*mixed* $actionName) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **getActionName** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **getActionName** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setParams** (*mixed* $params) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setParams** (*mixed* $params) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **getParams** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **getParams** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setParam** (*mixed* $param, *mixed* $value) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setParam** (*mixed* $param, *mixed* $value) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **getParam** (*mixed* $param, [*mixed* $filters]) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **getParam** (*mixed* $param, [*mixed* $filters]) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **hasParam** (*mixed* $param) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **hasParam** (*mixed* $param) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **isFinished** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **isFinished** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **getReturnedValue** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **getReturnedValue** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **dispatch** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **dispatch** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **forward** (*mixed* $forward) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **forward** (*mixed* $forward) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... \ No newline at end of file diff --git a/ja/api/Phalcon_Cli_Dispatcher_Exception.md b/ja/api/Phalcon_Cli_Dispatcher_Exception.md index 0eeb05860d89..fbd0a6c4292d 100644 --- a/ja/api/Phalcon_Cli_Dispatcher_Exception.md +++ b/ja/api/Phalcon_Cli_Dispatcher_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cli\\Dispatcher\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/ja/api/Phalcon_Cli_Router.md b/ja/api/Phalcon_Cli_Router.md index d2cb10a44276..5a0943627b36 100644 --- a/ja/api/Phalcon_Cli_Router.md +++ b/ja/api/Phalcon_Cli_Router.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cli\\Router** -*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface) +*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface) Source on GitHub @@ -29,7 +29,7 @@ public **__construct** ([*mixed* $defaultRoutes]) Phalcon\\Cli\\Router constructor -public **setDI** ([Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector) +public **setDI** ([Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector) Sets the dependency injector @@ -69,7 +69,7 @@ public **handle** ([*array* $arguments]) Handles routing information received from command-line arguments -public [Phalcon\Cli\Router\Route](/en/3.1.2/api/Phalcon_Cli_Router_Route) **add** (*string* $pattern, [*string/array* $paths]) +public [Phalcon\Cli\Router\Route](/en/3.2/api/Phalcon_Cli_Router_Route) **add** (*string* $pattern, [*string/array* $paths]) Adds a route to the router @@ -112,7 +112,7 @@ public **getRoutes** () Returns all the routes defined in the router -public [Phalcon\Cli\Router\Route](/en/3.1.2/api/Phalcon_Cli_Router_Route) **getRouteById** (*int* $id) +public [Phalcon\Cli\Router\Route](/en/3.2/api/Phalcon_Cli_Router_Route) **getRouteById** (*int* $id) Returns a route object by its id diff --git a/ja/api/Phalcon_Cli_Router_Exception.md b/ja/api/Phalcon_Cli_Router_Exception.md index ebd81a411422..e063b3861132 100644 --- a/ja/api/Phalcon_Cli_Router_Exception.md +++ b/ja/api/Phalcon_Cli_Router_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cli\\Router\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/ja/api/Phalcon_Db_Adapter.md b/ja/api/Phalcon_Db_Adapter.md index c1deaded19cd..a5d397a98c83 100644 --- a/ja/api/Phalcon_Db_Adapter.md +++ b/ja/api/Phalcon_Db_Adapter.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Db\\Adapter** -*implements* [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -24,7 +24,7 @@ public **__construct** (*array* $descriptor) Phalcon\\Db\\Adapter constructor -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) Sets the event manager @@ -32,7 +32,7 @@ public **getEventsManager** () Returns the internal event manager -public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) $dialect) +public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) $dialect) Sets the dialect used to produce the SQL @@ -309,11 +309,11 @@ public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExist Drops a view -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Adds a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) Modifies a table column based on a definition @@ -321,7 +321,7 @@ public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnN Drops a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Adds an index to a table @@ -329,7 +329,7 @@ public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexNam Drop an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Adds a primary key to a table @@ -337,7 +337,7 @@ public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) Drops a table's primary key -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) Adds a foreign key to a table @@ -345,7 +345,7 @@ public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $ref Drops a foreign key from a table -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Returns the SQL column definition from a column @@ -375,7 +375,7 @@ print_r( ``` -public [Phalcon\Db\Index](/en/3.1.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) +public [Phalcon\Db\Index](/en/3.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) Lists table indexes @@ -512,54 +512,54 @@ public *array* **getSQLBindTypes** () Active SQL statement in the object -abstract public **connect** ([*array* $descriptor]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **connect** ([*array* $descriptor]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **query** (*mixed* $sqlStatement, [*mixed* $placeholders], [*mixed* $dataTypes]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **query** (*mixed* $sqlStatement, [*mixed* $placeholders], [*mixed* $dataTypes]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **execute** (*mixed* $sqlStatement, [*mixed* $placeholders], [*mixed* $dataTypes]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **execute** (*mixed* $sqlStatement, [*mixed* $placeholders], [*mixed* $dataTypes]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **affectedRows** () inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **affectedRows** () inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **close** () inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **close** () inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **lastInsertId** ([*mixed* $sequenceName]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **lastInsertId** ([*mixed* $sequenceName]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **isUnderTransaction** () inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **isUnderTransaction** () inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **getInternalHandler** () inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **getInternalHandler** () inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... \ No newline at end of file diff --git a/ja/api/Phalcon_Db_AdapterInterface.md b/ja/api/Phalcon_Db_AdapterInterface.md index 2b9bec9a2acd..4c6a8f54b3f1 100644 --- a/ja/api/Phalcon_Db_AdapterInterface.md +++ b/ja/api/Phalcon_Db_AdapterInterface.md @@ -64,11 +64,11 @@ abstract public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* ... -abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) ... -abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) ... @@ -76,7 +76,7 @@ abstract public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* ... -abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) ... @@ -84,7 +84,7 @@ abstract public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* ... -abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) ... @@ -92,7 +92,7 @@ abstract public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) ... -abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) ... @@ -100,7 +100,7 @@ abstract public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mi ... -abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) ... diff --git a/ja/api/Phalcon_Db_Adapter_Pdo.md b/ja/api/Phalcon_Db_Adapter_Pdo.md index 44de7d9e6e1f..c23a014e3d58 100644 --- a/ja/api/Phalcon_Db_Adapter_Pdo.md +++ b/ja/api/Phalcon_Db_Adapter_Pdo.md @@ -1,8 +1,8 @@ # Abstract class **Phalcon\\Db\\Adapter\\Pdo** -*extends* abstract class [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +*extends* abstract class [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) -*implements* [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +*implements* [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) Source on GitHub @@ -262,35 +262,35 @@ public *array* **getErrorInfo** () Return the error info, if any -public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Name of the dialect used -public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Type of database system the adapter is used for -public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL bound parameter variables -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the event manager -public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the internal event manager -public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the dialect used to produce the SQL -public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns internal dialect instance -public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the first row in a SQL query result @@ -307,7 +307,7 @@ print_r($robot); ``` -public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Dumps the complete result of a query into an array @@ -338,7 +338,7 @@ foreach($robots as $robot) { ``` -public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the n'th field of first row in a SQL query result @@ -358,7 +358,7 @@ print_r($robot); ``` -public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RDBMS SQL syntax @@ -377,7 +377,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RBDM SQL syntax @@ -398,7 +398,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax @@ -435,7 +435,7 @@ $success = $connection->update( Warning! If $whereCondition is string it not escaped. -public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax Another, more convenient syntax @@ -456,7 +456,7 @@ UPDATE `robots` SET `name` = "Astro boy" WHERE id = 101 ``` -public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Deletes data from a table using custom RBDM SQL syntax @@ -474,7 +474,7 @@ DELETE FROM `robots` WHERE `id` = 101 ``` -public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Escapes a column/table/schema name @@ -494,11 +494,11 @@ $escapedTable = $connection->escapeIdentifier( ``` -public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets a list of columns -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Appends a LIMIT clause to $sqlQuery argument @@ -509,7 +509,7 @@ echo $connection->limit("SELECT * FROM robots", 5); ``` -public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.table @@ -522,7 +522,7 @@ var_dump( ``` -public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.view @@ -535,71 +535,71 @@ var_dump( ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a FOR UPDATE clause -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a LOCK IN SHARE MODE clause -public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a table -public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table from a schema/database -public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a view -public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a view -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Modifies a table column based on a definition -public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds an index to a table -public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drop an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a primary key to a table -public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table's primary key -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a foreign key to a table -public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a foreign key from a table -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the SQL column definition from a column -public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all tables on a database @@ -612,7 +612,7 @@ print_r( ``` -public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all views on a database @@ -625,7 +625,7 @@ print_r( ``` -public [Phalcon\Db\Index](/en/3.1.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public [Phalcon\Db\Index](/en/3.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Lists table indexes @@ -638,7 +638,7 @@ print_r( ``` -public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Lists table references @@ -651,7 +651,7 @@ print_r( ``` -public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets creation options from a table @@ -664,31 +664,31 @@ print_r( ``` -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Releases given savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Rollbacks given savepoint -public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Set if nested transactions should use savepoints -public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns if nested transactions should use savepoints -public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the savepoint name to use for nested transactions -public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default identity value to be inserted in an identity column @@ -712,7 +712,7 @@ $success = $connection->insert( ``` -public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default value to make the RBDM use the default value declared in the table definition @@ -734,34 +734,34 @@ $success = $connection->insert( ``` -public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Check whether the database system requires a sequence to produce auto-numeric values -public **useExplicitIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **useExplicitIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Check whether the database system requires an explicit value for identity columns -public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Return descriptor used to connect to the active database -public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets the active connection unique identifier -public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object -public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object without replace bound parameters -public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object -abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... \ No newline at end of file diff --git a/ja/api/Phalcon_Db_Adapter_Pdo_Mysql.md b/ja/api/Phalcon_Db_Adapter_Pdo_Mysql.md index fe17030fddcf..5013bf0def80 100644 --- a/ja/api/Phalcon_Db_Adapter_Pdo_Mysql.md +++ b/ja/api/Phalcon_Db_Adapter_Pdo_Mysql.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Adapter\\Pdo\\Mysql** -*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) -*implements* [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -40,7 +40,7 @@ print_r( ``` -public [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface[]) **describeIndexes** (*string* $table, [*string* $schema]) +public [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface[]) **describeIndexes** (*string* $table, [*string* $schema]) Lists table indexes @@ -66,11 +66,11 @@ print_r( ``` -public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Constructor for Phalcon\\Db\\Adapter\\Pdo -public **connect** ([*array* $descriptor]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **connect** ([*array* $descriptor]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) This method is automatically called in \\Phalcon\\Db\\Adapter\\Pdo constructor. Call it when you need to restore a database connection. @@ -95,7 +95,7 @@ $connection->connect(); ``` -public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns a PDO prepared statement to be executed with 'executePrepared' @@ -120,7 +120,7 @@ $result = $connection->executePrepared( ``` -public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Executes a prepared statement binding. This function uses integer indexes starting from zero @@ -145,7 +145,7 @@ $result = $connection->executePrepared( ``` -public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server is returning rows @@ -166,7 +166,7 @@ $resultset = $connection->query( ``` -public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server doesn't return any rows @@ -188,7 +188,7 @@ $success = $connection->execute( ``` -public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the number of affected rows by the latest INSERT/UPDATE/DELETE executed in the database system @@ -203,11 +203,11 @@ echo $connection->affectedRows(), " were deleted"; ``` -public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Closes the active connection returning success. Phalcon automatically closes and destroys active connections when the request ends -public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Escapes a value to avoid SQL injections according to the active charset in the connection @@ -218,7 +218,7 @@ $escapedStr = $connection->escapeString("some dangerous value"); ``` -public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Converts bound parameters such as :name: or ?1 into PDO bind params ? @@ -236,7 +236,7 @@ print_r( ``` -public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the insert id for the auto_increment/serial column inserted in the latest executed SQL statement @@ -261,23 +261,23 @@ $id = $connection->lastInsertId(); ``` -public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Starts a transaction in the connection -public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Rollbacks the active transaction in the connection -public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Commits the active transaction in the connection -public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the current transaction nesting level -public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Checks whether the connection is under a transaction @@ -293,43 +293,43 @@ var_dump( ``` -public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return internal PDO handler -public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return the error info, if any -public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Name of the dialect used -public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Type of database system the adapter is used for -public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL bound parameter variables -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the event manager -public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the internal event manager -public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the dialect used to produce the SQL -public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns internal dialect instance -public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the first row in a SQL query result @@ -346,7 +346,7 @@ print_r($robot); ``` -public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Dumps the complete result of a query into an array @@ -377,7 +377,7 @@ foreach($robots as $robot) { ``` -public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the n'th field of first row in a SQL query result @@ -397,7 +397,7 @@ print_r($robot); ``` -public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RDBMS SQL syntax @@ -416,7 +416,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RBDM SQL syntax @@ -437,7 +437,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax @@ -474,7 +474,7 @@ $success = $connection->update( Warning! If $whereCondition is string it not escaped. -public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax Another, more convenient syntax @@ -495,7 +495,7 @@ UPDATE `robots` SET `name` = "Astro boy" WHERE id = 101 ``` -public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Deletes data from a table using custom RBDM SQL syntax @@ -513,7 +513,7 @@ DELETE FROM `robots` WHERE `id` = 101 ``` -public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Escapes a column/table/schema name @@ -533,11 +533,11 @@ $escapedTable = $connection->escapeIdentifier( ``` -public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets a list of columns -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Appends a LIMIT clause to $sqlQuery argument @@ -548,7 +548,7 @@ echo $connection->limit("SELECT * FROM robots", 5); ``` -public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.table @@ -561,7 +561,7 @@ var_dump( ``` -public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.view @@ -574,71 +574,71 @@ var_dump( ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a FOR UPDATE clause -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a LOCK IN SHARE MODE clause -public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a table -public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table from a schema/database -public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a view -public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a view -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Modifies a table column based on a definition -public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds an index to a table -public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drop an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a primary key to a table -public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table's primary key -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a foreign key to a table -public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a foreign key from a table -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the SQL column definition from a column -public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all tables on a database @@ -651,7 +651,7 @@ print_r( ``` -public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all views on a database @@ -664,7 +664,7 @@ print_r( ``` -public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets creation options from a table @@ -677,31 +677,31 @@ print_r( ``` -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Releases given savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Rollbacks given savepoint -public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Set if nested transactions should use savepoints -public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns if nested transactions should use savepoints -public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the savepoint name to use for nested transactions -public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default identity value to be inserted in an identity column @@ -725,7 +725,7 @@ $success = $connection->insert( ``` -public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default value to make the RBDM use the default value declared in the table definition @@ -747,30 +747,30 @@ $success = $connection->insert( ``` -public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Check whether the database system requires a sequence to produce auto-numeric values -public **useExplicitIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **useExplicitIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Check whether the database system requires an explicit value for identity columns -public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Return descriptor used to connect to the active database -public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets the active connection unique identifier -public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object -public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object without replace bound parameters -public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object \ No newline at end of file diff --git a/ja/api/Phalcon_Db_Adapter_Pdo_Postgresql.md b/ja/api/Phalcon_Db_Adapter_Pdo_Postgresql.md index c7f35273d52a..9a66f69a4ec1 100644 --- a/ja/api/Phalcon_Db_Adapter_Pdo_Postgresql.md +++ b/ja/api/Phalcon_Db_Adapter_Pdo_Postgresql.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Adapter\\Pdo\\Postgresql** -*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) -*implements* [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -48,7 +48,7 @@ public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $defini Creates a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) Modifies a table column based on a definition @@ -84,11 +84,11 @@ public **supportSequences** () Check whether the database system requires a sequence to produce auto-numeric values -public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Constructor for Phalcon\\Db\\Adapter\\Pdo -public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns a PDO prepared statement to be executed with 'executePrepared' @@ -113,7 +113,7 @@ $result = $connection->executePrepared( ``` -public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Executes a prepared statement binding. This function uses integer indexes starting from zero @@ -138,7 +138,7 @@ $result = $connection->executePrepared( ``` -public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server is returning rows @@ -159,7 +159,7 @@ $resultset = $connection->query( ``` -public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server doesn't return any rows @@ -181,7 +181,7 @@ $success = $connection->execute( ``` -public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the number of affected rows by the latest INSERT/UPDATE/DELETE executed in the database system @@ -196,11 +196,11 @@ echo $connection->affectedRows(), " were deleted"; ``` -public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Closes the active connection returning success. Phalcon automatically closes and destroys active connections when the request ends -public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Escapes a value to avoid SQL injections according to the active charset in the connection @@ -211,7 +211,7 @@ $escapedStr = $connection->escapeString("some dangerous value"); ``` -public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Converts bound parameters such as :name: or ?1 into PDO bind params ? @@ -229,7 +229,7 @@ print_r( ``` -public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the insert id for the auto_increment/serial column inserted in the latest executed SQL statement @@ -254,23 +254,23 @@ $id = $connection->lastInsertId(); ``` -public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Starts a transaction in the connection -public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Rollbacks the active transaction in the connection -public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Commits the active transaction in the connection -public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the current transaction nesting level -public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Checks whether the connection is under a transaction @@ -286,43 +286,43 @@ var_dump( ``` -public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return internal PDO handler -public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return the error info, if any -public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Name of the dialect used -public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Type of database system the adapter is used for -public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL bound parameter variables -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the event manager -public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the internal event manager -public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the dialect used to produce the SQL -public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns internal dialect instance -public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the first row in a SQL query result @@ -339,7 +339,7 @@ print_r($robot); ``` -public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Dumps the complete result of a query into an array @@ -370,7 +370,7 @@ foreach($robots as $robot) { ``` -public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the n'th field of first row in a SQL query result @@ -390,7 +390,7 @@ print_r($robot); ``` -public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RDBMS SQL syntax @@ -409,7 +409,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RBDM SQL syntax @@ -430,7 +430,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax @@ -467,7 +467,7 @@ $success = $connection->update( Warning! If $whereCondition is string it not escaped. -public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax Another, more convenient syntax @@ -488,7 +488,7 @@ UPDATE `robots` SET `name` = "Astro boy" WHERE id = 101 ``` -public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Deletes data from a table using custom RBDM SQL syntax @@ -506,7 +506,7 @@ DELETE FROM `robots` WHERE `id` = 101 ``` -public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Escapes a column/table/schema name @@ -526,11 +526,11 @@ $escapedTable = $connection->escapeIdentifier( ``` -public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets a list of columns -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Appends a LIMIT clause to $sqlQuery argument @@ -541,7 +541,7 @@ echo $connection->limit("SELECT * FROM robots", 5); ``` -public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.table @@ -554,7 +554,7 @@ var_dump( ``` -public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.view @@ -567,63 +567,63 @@ var_dump( ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a FOR UPDATE clause -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a LOCK IN SHARE MODE clause -public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table from a schema/database -public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a view -public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a view -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a column to a table -public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds an index to a table -public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drop an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a primary key to a table -public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table's primary key -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a foreign key to a table -public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a foreign key from a table -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the SQL column definition from a column -public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all tables on a database @@ -636,7 +636,7 @@ print_r( ``` -public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all views on a database @@ -649,7 +649,7 @@ print_r( ``` -public [Phalcon\Db\Index](/en/3.1.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public [Phalcon\Db\Index](/en/3.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Lists table indexes @@ -662,7 +662,7 @@ print_r( ``` -public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Lists table references @@ -675,7 +675,7 @@ print_r( ``` -public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets creation options from a table @@ -688,31 +688,31 @@ print_r( ``` -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Releases given savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Rollbacks given savepoint -public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Set if nested transactions should use savepoints -public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns if nested transactions should use savepoints -public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the savepoint name to use for nested transactions -public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default value to make the RBDM use the default value declared in the table definition @@ -734,22 +734,22 @@ $success = $connection->insert( ``` -public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Return descriptor used to connect to the active database -public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets the active connection unique identifier -public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object -public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object without replace bound parameters -public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object \ No newline at end of file diff --git a/ja/api/Phalcon_Db_Adapter_Pdo_Sqlite.md b/ja/api/Phalcon_Db_Adapter_Pdo_Sqlite.md index 1f92cfbfc6bd..a568c933ce4a 100644 --- a/ja/api/Phalcon_Db_Adapter_Pdo_Sqlite.md +++ b/ja/api/Phalcon_Db_Adapter_Pdo_Sqlite.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Adapter\\Pdo\\Sqlite** -*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) -*implements* [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -40,7 +40,7 @@ print_r( ``` -public [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface[]) **describeIndexes** (*string* $table, [*string* $schema]) +public [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface[]) **describeIndexes** (*string* $table, [*string* $schema]) Lists table indexes @@ -53,7 +53,7 @@ print_r( ``` -public [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface[]) **describeReferences** (*string* $table, [*string* $schema]) +public [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface[]) **describeReferences** (*string* $table, [*string* $schema]) Lists table references @@ -83,11 +83,11 @@ $success = $connection->insert( ``` -public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Constructor for Phalcon\\Db\\Adapter\\Pdo -public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns a PDO prepared statement to be executed with 'executePrepared' @@ -112,7 +112,7 @@ $result = $connection->executePrepared( ``` -public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Executes a prepared statement binding. This function uses integer indexes starting from zero @@ -137,7 +137,7 @@ $result = $connection->executePrepared( ``` -public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server is returning rows @@ -158,7 +158,7 @@ $resultset = $connection->query( ``` -public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server doesn't return any rows @@ -180,7 +180,7 @@ $success = $connection->execute( ``` -public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the number of affected rows by the latest INSERT/UPDATE/DELETE executed in the database system @@ -195,11 +195,11 @@ echo $connection->affectedRows(), " were deleted"; ``` -public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Closes the active connection returning success. Phalcon automatically closes and destroys active connections when the request ends -public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Escapes a value to avoid SQL injections according to the active charset in the connection @@ -210,7 +210,7 @@ $escapedStr = $connection->escapeString("some dangerous value"); ``` -public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Converts bound parameters such as :name: or ?1 into PDO bind params ? @@ -228,7 +228,7 @@ print_r( ``` -public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the insert id for the auto_increment/serial column inserted in the latest executed SQL statement @@ -253,23 +253,23 @@ $id = $connection->lastInsertId(); ``` -public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Starts a transaction in the connection -public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Rollbacks the active transaction in the connection -public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Commits the active transaction in the connection -public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the current transaction nesting level -public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Checks whether the connection is under a transaction @@ -285,43 +285,43 @@ var_dump( ``` -public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return internal PDO handler -public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return the error info, if any -public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Name of the dialect used -public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Type of database system the adapter is used for -public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL bound parameter variables -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the event manager -public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the internal event manager -public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the dialect used to produce the SQL -public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns internal dialect instance -public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the first row in a SQL query result @@ -338,7 +338,7 @@ print_r($robot); ``` -public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Dumps the complete result of a query into an array @@ -369,7 +369,7 @@ foreach($robots as $robot) { ``` -public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the n'th field of first row in a SQL query result @@ -389,7 +389,7 @@ print_r($robot); ``` -public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RDBMS SQL syntax @@ -408,7 +408,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RBDM SQL syntax @@ -429,7 +429,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax @@ -466,7 +466,7 @@ $success = $connection->update( Warning! If $whereCondition is string it not escaped. -public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax Another, more convenient syntax @@ -487,7 +487,7 @@ UPDATE `robots` SET `name` = "Astro boy" WHERE id = 101 ``` -public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Deletes data from a table using custom RBDM SQL syntax @@ -505,7 +505,7 @@ DELETE FROM `robots` WHERE `id` = 101 ``` -public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Escapes a column/table/schema name @@ -525,11 +525,11 @@ $escapedTable = $connection->escapeIdentifier( ``` -public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets a list of columns -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Appends a LIMIT clause to $sqlQuery argument @@ -540,7 +540,7 @@ echo $connection->limit("SELECT * FROM robots", 5); ``` -public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.table @@ -553,7 +553,7 @@ var_dump( ``` -public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.view @@ -566,71 +566,71 @@ var_dump( ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a FOR UPDATE clause -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a LOCK IN SHARE MODE clause -public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a table -public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table from a schema/database -public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a view -public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a view -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Modifies a table column based on a definition -public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds an index to a table -public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drop an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a primary key to a table -public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table's primary key -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a foreign key to a table -public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a foreign key from a table -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the SQL column definition from a column -public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all tables on a database @@ -643,7 +643,7 @@ print_r( ``` -public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all views on a database @@ -656,7 +656,7 @@ print_r( ``` -public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets creation options from a table @@ -669,31 +669,31 @@ print_r( ``` -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Releases given savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Rollbacks given savepoint -public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Set if nested transactions should use savepoints -public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns if nested transactions should use savepoints -public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the savepoint name to use for nested transactions -public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default identity value to be inserted in an identity column @@ -717,26 +717,26 @@ $success = $connection->insert( ``` -public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Check whether the database system requires a sequence to produce auto-numeric values -public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Return descriptor used to connect to the active database -public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets the active connection unique identifier -public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object -public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object without replace bound parameters -public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object \ No newline at end of file diff --git a/ja/api/Phalcon_Db_Column.md b/ja/api/Phalcon_Db_Column.md index ab2fdfb7a40e..fe0210a2b411 100644 --- a/ja/api/Phalcon_Db_Column.md +++ b/ja/api/Phalcon_Db_Column.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Db\\Column** -*implements* [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) +*implements* [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) Source on GitHub diff --git a/ja/api/Phalcon_Db_Dialect.md b/ja/api/Phalcon_Db_Dialect.md index 11c52ea58df4..df25f0af03ab 100644 --- a/ja/api/Phalcon_Db_Dialect.md +++ b/ja/api/Phalcon_Db_Dialect.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Db\\Dialect** -*implements* [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +*implements* [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) Source on GitHub @@ -199,86 +199,86 @@ protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $es Prepares qualified for this RDBMS -abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropTable** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropTable** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **describeIndexes** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **describeIndexes** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **tableOptions** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **tableOptions** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... \ No newline at end of file diff --git a/ja/api/Phalcon_Db_DialectInterface.md b/ja/api/Phalcon_Db_DialectInterface.md index 0bf993854d79..90ee58afb9e1 100644 --- a/ja/api/Phalcon_Db_DialectInterface.md +++ b/ja/api/Phalcon_Db_DialectInterface.md @@ -24,15 +24,15 @@ abstract public **getColumnList** (*array* $columnList) ... -abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) ... -abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) ... -abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) ... @@ -40,7 +40,7 @@ abstract public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* ... -abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) ... @@ -48,7 +48,7 @@ abstract public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* ... -abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) ... @@ -56,7 +56,7 @@ abstract public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) ... -abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) ... diff --git a/ja/api/Phalcon_Db_Dialect_Mysql.md b/ja/api/Phalcon_Db_Dialect_Mysql.md index 6178388fc739..d1a80102e14c 100644 --- a/ja/api/Phalcon_Db_Dialect_Mysql.md +++ b/ja/api/Phalcon_Db_Dialect_Mysql.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Dialect\\Mysql** -*extends* abstract class [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +*extends* abstract class [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) -*implements* [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +*implements* [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) Source on GitHub @@ -10,15 +10,15 @@ Generates database specific SQL for the MySQL RDBMS ## Methods -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Gets the column name in MySQL -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Generates SQL to add a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) Generates SQL to modify a column in a table @@ -26,7 +26,7 @@ public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnN Generates SQL to delete a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add an index to a table @@ -34,7 +34,7 @@ public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexNam Generates SQL to delete an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add the primary key to a table @@ -42,7 +42,7 @@ public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) Generates SQL to delete primary key from a table -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) Generates SQL to add an index to a table @@ -133,23 +133,23 @@ protected **_getTableOptions** (*array* $definition) Generates SQL to add the table creation options -public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Registers custom SQL functions -public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns registered functions -final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape Schema -final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape identifiers -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generates the SQL for LIMIT clause @@ -164,7 +164,7 @@ echo $sql; // SELECT * FROM robots LIMIT 10 OFFSET 50 ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a FOR UPDATE clause @@ -176,7 +176,7 @@ echo $sql; // SELECT * FROM robots FOR UPDATE ``` -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a LOCK IN SHARE MODE clause @@ -188,7 +188,7 @@ echo $sql; // SELECT * FROM robots LOCK IN SHARE MODE ``` -final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Gets a list of columns with escaped identifiers @@ -204,122 +204,122 @@ echo $dialect->getColumnList( ``` -final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transforms an intermediate representation for an expression into a database system valid expression -final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transform an intermediate representation of a schema/table into a database system valid expression -public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Builds a SELECT statement -public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports savepoints -public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports releasing savepoints. -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to create a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to release a savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to rollback a savepoint -final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve object expressions -final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve qualified expressions -final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve binary operations expressions -final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve unary operations expressions -final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve function calls -final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Lists -final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve * -final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CAST of values -final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CONVERT of values encodings -final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CASE expressions -final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a FROM clause -final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a JOINs clause -final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a WHERE clause -final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a GROUP BY clause -final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a HAVING clause -final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve an ORDER BY clause -final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a LIMIT clause -protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares column for this RDBMS -protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares table for this RDBMS -protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares qualified for this RDBMS \ No newline at end of file diff --git a/ja/api/Phalcon_Db_Dialect_Postgresql.md b/ja/api/Phalcon_Db_Dialect_Postgresql.md index 01fe5982984c..f10d03525235 100644 --- a/ja/api/Phalcon_Db_Dialect_Postgresql.md +++ b/ja/api/Phalcon_Db_Dialect_Postgresql.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Dialect\\Postgresql** -*extends* abstract class [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +*extends* abstract class [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) -*implements* [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +*implements* [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) Source on GitHub @@ -10,15 +10,15 @@ Generates database specific SQL for the PostgreSQL RDBMS ## Methods -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Gets the column name in PostgreSQL -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Generates SQL to add a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) Generates SQL to modify a column in a table @@ -26,7 +26,7 @@ public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnN Generates SQL to delete a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add an index to a table @@ -34,7 +34,7 @@ public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexNam Generates SQL to delete an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add the primary key to a table @@ -42,7 +42,7 @@ public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) Generates SQL to delete primary key from a table -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) Generates SQL to add an index to a table @@ -129,7 +129,7 @@ public **tableOptions** (*mixed* $table, [*mixed* $schema]) Generates the SQL to describe the table creation options -protected **_castDefault** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +protected **_castDefault** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) ... @@ -137,23 +137,23 @@ protected **_getTableOptions** (*array* $definition) ... -public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Registers custom SQL functions -public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns registered functions -final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape Schema -final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape identifiers -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generates the SQL for LIMIT clause @@ -168,7 +168,7 @@ echo $sql; // SELECT * FROM robots LIMIT 10 OFFSET 50 ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a FOR UPDATE clause @@ -180,7 +180,7 @@ echo $sql; // SELECT * FROM robots FOR UPDATE ``` -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a LOCK IN SHARE MODE clause @@ -192,7 +192,7 @@ echo $sql; // SELECT * FROM robots LOCK IN SHARE MODE ``` -final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Gets a list of columns with escaped identifiers @@ -208,122 +208,122 @@ echo $dialect->getColumnList( ``` -final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transforms an intermediate representation for an expression into a database system valid expression -final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transform an intermediate representation of a schema/table into a database system valid expression -public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Builds a SELECT statement -public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports savepoints -public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports releasing savepoints. -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to create a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to release a savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to rollback a savepoint -final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve object expressions -final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve qualified expressions -final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve binary operations expressions -final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve unary operations expressions -final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve function calls -final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Lists -final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve * -final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CAST of values -final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CONVERT of values encodings -final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CASE expressions -final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a FROM clause -final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a JOINs clause -final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a WHERE clause -final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a GROUP BY clause -final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a HAVING clause -final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve an ORDER BY clause -final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a LIMIT clause -protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares column for this RDBMS -protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares table for this RDBMS -protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares qualified for this RDBMS \ No newline at end of file diff --git a/ja/api/Phalcon_Db_Dialect_Sqlite.md b/ja/api/Phalcon_Db_Dialect_Sqlite.md index 7b38162151a0..dabec6d39e49 100644 --- a/ja/api/Phalcon_Db_Dialect_Sqlite.md +++ b/ja/api/Phalcon_Db_Dialect_Sqlite.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Dialect\\Sqlite** -*extends* abstract class [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +*extends* abstract class [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) -*implements* [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +*implements* [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) Source on GitHub @@ -10,15 +10,15 @@ Generates database specific SQL for the Sqlite RDBMS ## Methods -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Gets the column name in SQLite -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Generates SQL to add a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) Generates SQL to modify a column in a table @@ -26,7 +26,7 @@ public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnN Generates SQL to delete a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add an index to a table @@ -34,7 +34,7 @@ public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexNam Generates SQL to delete an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add the primary key to a table @@ -42,7 +42,7 @@ public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) Generates SQL to delete primary key from a table -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) Generates SQL to add an index to a table @@ -146,23 +146,23 @@ public **tableOptions** (*mixed* $table, [*mixed* $schema]) Generates the SQL to describe the table creation options -public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Registers custom SQL functions -public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns registered functions -final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape Schema -final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape identifiers -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generates the SQL for LIMIT clause @@ -177,7 +177,7 @@ echo $sql; // SELECT * FROM robots LIMIT 10 OFFSET 50 ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a FOR UPDATE clause @@ -189,7 +189,7 @@ echo $sql; // SELECT * FROM robots FOR UPDATE ``` -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a LOCK IN SHARE MODE clause @@ -201,7 +201,7 @@ echo $sql; // SELECT * FROM robots LOCK IN SHARE MODE ``` -final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Gets a list of columns with escaped identifiers @@ -217,122 +217,122 @@ echo $dialect->getColumnList( ``` -final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transforms an intermediate representation for an expression into a database system valid expression -final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transform an intermediate representation of a schema/table into a database system valid expression -public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Builds a SELECT statement -public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports savepoints -public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports releasing savepoints. -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to create a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to release a savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to rollback a savepoint -final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve object expressions -final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve qualified expressions -final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve binary operations expressions -final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve unary operations expressions -final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve function calls -final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Lists -final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve * -final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CAST of values -final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CONVERT of values encodings -final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CASE expressions -final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a FROM clause -final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a JOINs clause -final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a WHERE clause -final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a GROUP BY clause -final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a HAVING clause -final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve an ORDER BY clause -final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a LIMIT clause -protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares column for this RDBMS -protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares table for this RDBMS -protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares qualified for this RDBMS \ No newline at end of file diff --git a/ja/api/Phalcon_Db_Exception.md b/ja/api/Phalcon_Db_Exception.md index 839c2d00fbf8..00160179b065 100644 --- a/ja/api/Phalcon_Db_Exception.md +++ b/ja/api/Phalcon_Db_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Db\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/ja/api/Phalcon_Db_Index.md b/ja/api/Phalcon_Db_Index.md index 60a5b41f764f..9ca94ad0e146 100644 --- a/ja/api/Phalcon_Db_Index.md +++ b/ja/api/Phalcon_Db_Index.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Db\\Index** -*implements* [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) +*implements* [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) Source on GitHub diff --git a/ja/api/Phalcon_Db_Profiler.md b/ja/api/Phalcon_Db_Profiler.md index 05a913cb9c2c..1d6dde6d6e69 100644 --- a/ja/api/Phalcon_Db_Profiler.md +++ b/ja/api/Phalcon_Db_Profiler.md @@ -31,7 +31,7 @@ echo "Total Elapsed Time: ", $profile->getTotalElapsedSeconds(), "\n"; ## Methods -public [Phalcon\Db\Profiler](/en/3.1.2/api/Phalcon_Db_Profiler) **startProfile** (*string* $sqlStatement, [*mixed* $sqlVariables], [*mixed* $sqlBindTypes]) +public [Phalcon\Db\Profiler](/en/3.2/api/Phalcon_Db_Profiler) **startProfile** (*string* $sqlStatement, [*mixed* $sqlVariables], [*mixed* $sqlBindTypes]) Starts the profile of a SQL sentence diff --git a/ja/api/Phalcon_Db_Reference.md b/ja/api/Phalcon_Db_Reference.md index 30ac1a686521..2e83e14de226 100644 --- a/ja/api/Phalcon_Db_Reference.md +++ b/ja/api/Phalcon_Db_Reference.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Db\\Reference** -*implements* [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) +*implements* [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) Source on GitHub diff --git a/ja/api/Phalcon_Db_Result_Pdo.md b/ja/api/Phalcon_Db_Result_Pdo.md index 2e053d67ae6f..91808dece71f 100644 --- a/ja/api/Phalcon_Db_Result_Pdo.md +++ b/ja/api/Phalcon_Db_Result_Pdo.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Db\\Result\\Pdo** -*implements* [Phalcon\Db\ResultInterface](/en/3.1.2/api/Phalcon_Db_ResultInterface) +*implements* [Phalcon\Db\ResultInterface](/en/3.2/api/Phalcon_Db_ResultInterface) Source on GitHub @@ -23,7 +23,7 @@ while ($robot = $result->fetchArray()) { ## Methods -public **__construct** ([Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) $connection, [PDOStatement](http://php.net/manual/en/class.pdostatement.php) $result, [*string* $sqlStatement], [*array* $bindParams], [*array* $bindTypes]) +public **__construct** ([Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) $connection, [PDOStatement](http://php.net/manual/en/class.pdostatement.php) $result, [*string* $sqlStatement], [*array* $bindParams], [*array* $bindTypes]) Phalcon\\Db\\Result\\Pdo constructor diff --git a/pl/api/Phalcon_Acl_Adapter.md b/pl/api/Phalcon_Acl_Adapter.md index 9f86a2a2a142..1696a50b6e15 100644 --- a/pl/api/Phalcon_Acl_Adapter.md +++ b/pl/api/Phalcon_Acl_Adapter.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Acl\\Adapter** -*implements* [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -20,7 +20,7 @@ public **getActiveAccess** () Active access which the list is checking if some role can access it -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) Sets the events manager @@ -36,58 +36,58 @@ public **getDefaultAction** () Returns the default ACL access level -abstract public **setNoArgumentsDefaultAction** (*mixed* $defaultAccess) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **setNoArgumentsDefaultAction** (*mixed* $defaultAccess) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **getNoArgumentsDefaultAction** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **getNoArgumentsDefaultAction** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **addRole** (*mixed* $role, [*mixed* $accessInherits]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **addRole** (*mixed* $role, [*mixed* $accessInherits]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **addInherit** (*mixed* $roleName, *mixed* $roleToInherit) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **addInherit** (*mixed* $roleName, *mixed* $roleToInherit) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **isRole** (*mixed* $roleName) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **isRole** (*mixed* $roleName) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **isResource** (*mixed* $resourceName) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **isResource** (*mixed* $resourceName) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **addResource** (*mixed* $resourceObject, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **addResource** (*mixed* $resourceObject, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **addResourceAccess** (*mixed* $resourceName, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **addResourceAccess** (*mixed* $resourceName, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **dropResourceAccess** (*mixed* $resourceName, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **dropResourceAccess** (*mixed* $resourceName, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **allow** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*mixed* $func]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **allow** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*mixed* $func]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **deny** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*mixed* $func]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **deny** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*mixed* $func]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **isAllowed** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*array* $parameters]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **isAllowed** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*array* $parameters]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **getRoles** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **getRoles** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **getResources** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **getResources** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... \ No newline at end of file diff --git a/pl/api/Phalcon_Acl_Adapter_Memory.md b/pl/api/Phalcon_Acl_Adapter_Memory.md index e9ea95ccda45..889751c95b98 100644 --- a/pl/api/Phalcon_Acl_Adapter_Memory.md +++ b/pl/api/Phalcon_Acl_Adapter_Memory.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Acl\\Adapter\\Memory** -*extends* abstract class [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +*extends* abstract class [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) -*implements* [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +*implements* [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) Source on GitHub @@ -105,7 +105,7 @@ public **isResource** (*mixed* $resourceName) Check whether resource exist in the resources list -public **addResource** ([Phalcon\Acl\Resource](/en/3.1.2/api/Phalcon_Acl_Resource) | *string* $resourceValue, *array* | *string* $accessList) +public **addResource** ([Phalcon\Acl\Resource](/en/3.2/api/Phalcon_Acl_Resource) | *string* $resourceValue, *array* | *string* $accessList) Adds a resource to the ACL list Access names can be a particular action, by example search, update, delete, etc or a list of them Example: @@ -224,30 +224,30 @@ public **getResources** () Return an array with every resource registered in the list -public **getActiveRole** () inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **getActiveRole** () inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Role which the list is checking if it's allowed to certain resource/access -public **getActiveResource** () inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **getActiveResource** () inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Resource which the list is checking if some role can access it -public **getActiveAccess** () inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **getActiveAccess** () inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Active access which the list is checking if some role can access it -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Sets the events manager -public **getEventsManager** () inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **getEventsManager** () inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Returns the internal event manager -public **setDefaultAction** (*mixed* $defaultAccess) inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **setDefaultAction** (*mixed* $defaultAccess) inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Sets the default access level (Phalcon\\Acl::ALLOW or Phalcon\\Acl::DENY) -public **getDefaultAction** () inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **getDefaultAction** () inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Returns the default ACL access level \ No newline at end of file diff --git a/pl/api/Phalcon_Acl_Exception.md b/pl/api/Phalcon_Acl_Exception.md index 153094579c30..9c1b44ab7b5d 100644 --- a/pl/api/Phalcon_Acl_Exception.md +++ b/pl/api/Phalcon_Acl_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Acl\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/pl/api/Phalcon_Acl_Resource.md b/pl/api/Phalcon_Acl_Resource.md index 1663e1ad2e93..25ac2d3e792b 100644 --- a/pl/api/Phalcon_Acl_Resource.md +++ b/pl/api/Phalcon_Acl_Resource.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Acl\\Resource** -*implements* [Phalcon\Acl\ResourceInterface](/en/3.1.2/api/Phalcon_Acl_ResourceInterface) +*implements* [Phalcon\Acl\ResourceInterface](/en/3.2/api/Phalcon_Acl_ResourceInterface) Source on GitHub diff --git a/pl/api/Phalcon_Acl_Role.md b/pl/api/Phalcon_Acl_Role.md index e105183dd7f4..c8252648d6c8 100644 --- a/pl/api/Phalcon_Acl_Role.md +++ b/pl/api/Phalcon_Acl_Role.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Acl\\Role** -*implements* [Phalcon\Acl\RoleInterface](/en/3.1.2/api/Phalcon_Acl_RoleInterface) +*implements* [Phalcon\Acl\RoleInterface](/en/3.2/api/Phalcon_Acl_RoleInterface) Source on GitHub diff --git a/pl/api/Phalcon_Annotations_Adapter.md b/pl/api/Phalcon_Annotations_Adapter.md index 7a2b31fc4dc1..d42ac348bbc9 100644 --- a/pl/api/Phalcon_Annotations_Adapter.md +++ b/pl/api/Phalcon_Annotations_Adapter.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Annotations\\Adapter** -*implements* [Phalcon\Annotations\AdapterInterface](/en/3.1.2/api/Phalcon_Annotations_AdapterInterface) +*implements* [Phalcon\Annotations\AdapterInterface](/en/3.2/api/Phalcon_Annotations_AdapterInterface) Source on GitHub @@ -8,7 +8,7 @@ This is the base class for Phalcon\\Annotations adapters ## Methods -public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) +public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) Sets the annotations parser diff --git a/pl/api/Phalcon_Annotations_AdapterInterface.md b/pl/api/Phalcon_Annotations_AdapterInterface.md index a4e2c689503a..a1ff65cb01a1 100644 --- a/pl/api/Phalcon_Annotations_AdapterInterface.md +++ b/pl/api/Phalcon_Annotations_AdapterInterface.md @@ -4,7 +4,7 @@ ## Methods -abstract public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) +abstract public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) ... diff --git a/pl/api/Phalcon_Annotations_Adapter_Apc.md b/pl/api/Phalcon_Annotations_Adapter_Apc.md index 1b8a1d6d0d7d..467622a88425 100644 --- a/pl/api/Phalcon_Annotations_Adapter_Apc.md +++ b/pl/api/Phalcon_Annotations_Adapter_Apc.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Annotations\\Adapter\\Apc** -*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) -*implements* [Phalcon\Annotations\AdapterInterface](/en/3.1.2/api/Phalcon_Annotations_AdapterInterface) +*implements* [Phalcon\Annotations\AdapterInterface](/en/3.2/api/Phalcon_Annotations_AdapterInterface) Source on GitHub @@ -27,34 +27,34 @@ public **read** (*mixed* $key) Reads parsed annotations from APC -public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) $data) +public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) $data) Writes parsed annotations to APC -public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Sets the annotations parser -public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotation reader -public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Parses or retrieves all the annotations found in a class -public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific method -public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific property \ No newline at end of file diff --git a/pl/api/Phalcon_Annotations_Adapter_Files.md b/pl/api/Phalcon_Annotations_Adapter_Files.md index fcb4c23e6c2e..e4c407e5954e 100644 --- a/pl/api/Phalcon_Annotations_Adapter_Files.md +++ b/pl/api/Phalcon_Annotations_Adapter_Files.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Annotations\\Adapter\\Files** -*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) -*implements* [Phalcon\Annotations\AdapterInterface](/en/3.1.2/api/Phalcon_Annotations_AdapterInterface) +*implements* [Phalcon\Annotations\AdapterInterface](/en/3.2/api/Phalcon_Annotations_AdapterInterface) Source on GitHub @@ -27,38 +27,38 @@ public **__construct** ([*array* $options]) Phalcon\\Annotations\\Adapter\\Files constructor -public [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) **read** (*string* $key) +public [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) **read** (*string* $key) Reads parsed annotations from files -public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) $data) +public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) $data) Writes parsed annotations to files -public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Sets the annotations parser -public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotation reader -public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Parses or retrieves all the annotations found in a class -public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific method -public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific property \ No newline at end of file diff --git a/pl/api/Phalcon_Annotations_Adapter_Memory.md b/pl/api/Phalcon_Annotations_Adapter_Memory.md index 53fc2e3769c7..205f20e6b1b8 100644 --- a/pl/api/Phalcon_Annotations_Adapter_Memory.md +++ b/pl/api/Phalcon_Annotations_Adapter_Memory.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Annotations\\Adapter\\Memory** -*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) -*implements* [Phalcon\Annotations\AdapterInterface](/en/3.1.2/api/Phalcon_Annotations_AdapterInterface) +*implements* [Phalcon\Annotations\AdapterInterface](/en/3.2/api/Phalcon_Annotations_AdapterInterface) Source on GitHub @@ -14,34 +14,34 @@ public **read** (*mixed* $key) Reads parsed annotations from memory -public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) $data) +public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) $data) Writes parsed annotations to memory -public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Sets the annotations parser -public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotation reader -public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Parses or retrieves all the annotations found in a class -public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific method -public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific property \ No newline at end of file diff --git a/pl/api/Phalcon_Annotations_Adapter_Xcache.md b/pl/api/Phalcon_Annotations_Adapter_Xcache.md index 79bfa9e6b4d3..37c97e7e6b8c 100644 --- a/pl/api/Phalcon_Annotations_Adapter_Xcache.md +++ b/pl/api/Phalcon_Annotations_Adapter_Xcache.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Annotations\\Adapter\\Xcache** -*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) -*implements* [Phalcon\Annotations\AdapterInterface](/en/3.1.2/api/Phalcon_Annotations_AdapterInterface) +*implements* [Phalcon\Annotations\AdapterInterface](/en/3.2/api/Phalcon_Annotations_AdapterInterface) Source on GitHub @@ -17,38 +17,38 @@ $annotations = new \Phalcon\Annotations\Adapter\Xcache(); ## Methods -public [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) **read** (*string* $key) +public [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) **read** (*string* $key) Reads parsed annotations from XCache -public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) $data) +public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) $data) Writes parsed annotations to XCache -public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Sets the annotations parser -public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotation reader -public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Parses or retrieves all the annotations found in a class -public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific method -public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific property \ No newline at end of file diff --git a/pl/api/Phalcon_Annotations_Collection.md b/pl/api/Phalcon_Annotations_Collection.md index 8176520b43ea..ba33511a50fe 100644 --- a/pl/api/Phalcon_Annotations_Collection.md +++ b/pl/api/Phalcon_Annotations_Collection.md @@ -36,7 +36,7 @@ public **rewind** () Rewinds the internal iterator -public [Phalcon\Annotations\Annotation](/en/3.1.2/api/Phalcon_Annotations_Annotation) **current** () +public [Phalcon\Annotations\Annotation](/en/3.2/api/Phalcon_Annotations_Annotation) **current** () Returns the current annotation in the iterator diff --git a/pl/api/Phalcon_Annotations_Reader.md b/pl/api/Phalcon_Annotations_Reader.md index 56ca9b058cd1..4e8e513ffea9 100644 --- a/pl/api/Phalcon_Annotations_Reader.md +++ b/pl/api/Phalcon_Annotations_Reader.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Annotations\\Reader** -*implements* [Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) +*implements* [Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) Source on GitHub diff --git a/pl/api/Phalcon_Application.md b/pl/api/Phalcon_Application.md index e7e767824af2..5ff2b07edaf4 100644 --- a/pl/api/Phalcon_Application.md +++ b/pl/api/Phalcon_Application.md @@ -1,8 +1,8 @@ # Abstract class **Phalcon\\Application** -*extends* abstract class [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +*extends* abstract class [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) -*implements* [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface) +*implements* [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface) Source on GitHub @@ -10,9 +10,9 @@ Base class for Phalcon\\Cli\\Console and Phalcon\\Mvc\\Application. ## Methods -public **__construct** ([[Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector]) +public **__construct** ([[Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector]) -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) Sets the events manager @@ -62,14 +62,14 @@ abstract public **handle** () Handles a request -public **setDI** ([Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **setDI** ([Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Sets the dependency injector -public **getDI** () inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **getDI** () inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Returns the internal dependency injector -public **__get** (*mixed* $propertyName) inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **__get** (*mixed* $propertyName) inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Magic method __get \ No newline at end of file diff --git a/pl/api/Phalcon_Application_Exception.md b/pl/api/Phalcon_Application_Exception.md index ade9f4d1b49e..49637aa88e5e 100644 --- a/pl/api/Phalcon_Application_Exception.md +++ b/pl/api/Phalcon_Application_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Application\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/pl/api/Phalcon_Assets_Collection.md b/pl/api/Phalcon_Assets_Collection.md index 9c3e06cdb077..f6f18d5a1d60 100644 --- a/pl/api/Phalcon_Assets_Collection.md +++ b/pl/api/Phalcon_Assets_Collection.md @@ -56,14 +56,35 @@ public **getSourcePath** () ... -public **add** ([Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) $resource) +public **__construct** () + +Phalcon\\Assets\\Collection constructor + +public **add** ([Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) $resource) Adds a resource to the collection -public **addInline** ([Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) $code) +public **addInline** ([Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) $code) Adds an inline code to the collection +public **has** ([Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) $resource) + +Checks this the resource is added to the collection. + +```php +has($resource); // true + +``` + public **addCss** (*mixed* $path, [*mixed* $local], [*mixed* $filter], [*mixed* $attributes]) Adds a CSS resource to the collection @@ -72,7 +93,7 @@ public **addInlineCss** (*mixed* $content, [*mixed* $filter], [*mixed* $attribut Adds an inline CSS to the collection -public [Phalcon\Assets\Collection](/en/3.1.2/api/Phalcon_Assets_Collection) **addJs** (*string* $path, [*boolean* $local], [*boolean* $filter], [*array* $attributes]) +public [Phalcon\Assets\Collection](/en/3.2/api/Phalcon_Assets_Collection) **addJs** (*string* $path, [*boolean* $local], [*boolean* $filter], [*array* $attributes]) Adds a javascript resource to the collection @@ -144,6 +165,10 @@ public **getRealTargetPath** (*mixed* $basePath) Returns the complete location where the joined/filtered collection must be written -public **addFilter** ([Phalcon\Assets\FilterInterface](/en/3.1.2/api/Phalcon_Assets_FilterInterface) $filter) +public **addFilter** ([Phalcon\Assets\FilterInterface](/en/3.2/api/Phalcon_Assets_FilterInterface) $filter) + +Adds a filter to the collection + +final protected **addResource** ([Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) $resource) -Adds a filter to the collection \ No newline at end of file +Adds a resource or inline-code to the collection \ No newline at end of file diff --git a/pl/api/Phalcon_Assets_Exception.md b/pl/api/Phalcon_Assets_Exception.md index bf3c9a57c01a..4c8c0516fd94 100644 --- a/pl/api/Phalcon_Assets_Exception.md +++ b/pl/api/Phalcon_Assets_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Assets\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/pl/api/Phalcon_Assets_Filters_Cssmin.md b/pl/api/Phalcon_Assets_Filters_Cssmin.md index 75e2781f79a0..a807a59e4880 100644 --- a/pl/api/Phalcon_Assets_Filters_Cssmin.md +++ b/pl/api/Phalcon_Assets_Filters_Cssmin.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Assets\\Filters\\Cssmin** -*implements* [Phalcon\Assets\FilterInterface](/en/3.1.2/api/Phalcon_Assets_FilterInterface) +*implements* [Phalcon\Assets\FilterInterface](/en/3.2/api/Phalcon_Assets_FilterInterface) Source on GitHub diff --git a/pl/api/Phalcon_Assets_Filters_Jsmin.md b/pl/api/Phalcon_Assets_Filters_Jsmin.md index 2ee9aa7f5390..2bfe2b4851a4 100644 --- a/pl/api/Phalcon_Assets_Filters_Jsmin.md +++ b/pl/api/Phalcon_Assets_Filters_Jsmin.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Assets\\Filters\\Jsmin** -*implements* [Phalcon\Assets\FilterInterface](/en/3.1.2/api/Phalcon_Assets_FilterInterface) +*implements* [Phalcon\Assets\FilterInterface](/en/3.2/api/Phalcon_Assets_FilterInterface) Source on GitHub diff --git a/pl/api/Phalcon_Assets_Filters_None.md b/pl/api/Phalcon_Assets_Filters_None.md index 93c79dd941f6..60e59aac09de 100644 --- a/pl/api/Phalcon_Assets_Filters_None.md +++ b/pl/api/Phalcon_Assets_Filters_None.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Assets\\Filters\\None** -*implements* [Phalcon\Assets\FilterInterface](/en/3.1.2/api/Phalcon_Assets_FilterInterface) +*implements* [Phalcon\Assets\FilterInterface](/en/3.2/api/Phalcon_Assets_FilterInterface) Source on GitHub diff --git a/pl/api/Phalcon_Assets_Inline.md b/pl/api/Phalcon_Assets_Inline.md index 05a1f622aa48..e5c3ef631536 100644 --- a/pl/api/Phalcon_Assets_Inline.md +++ b/pl/api/Phalcon_Assets_Inline.md @@ -1,5 +1,7 @@ # Class **Phalcon\\Assets\\Inline** +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) + Source on GitHub Represents an inline asset @@ -43,4 +45,8 @@ Sets if the resource must be filtered or not public **setAttributes** (*array* $attributes) -Sets extra HTML attributes \ No newline at end of file +Sets extra HTML attributes + +public **getResourceKey** () + +Gets the resource's key. \ No newline at end of file diff --git a/pl/api/Phalcon_Assets_Inline_Css.md b/pl/api/Phalcon_Assets_Inline_Css.md index c4d7a9d0e919..aad74b78beca 100644 --- a/pl/api/Phalcon_Assets_Inline_Css.md +++ b/pl/api/Phalcon_Assets_Inline_Css.md @@ -1,6 +1,8 @@ # Class **Phalcon\\Assets\\Inline\\Css** -*extends* class [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +*extends* class [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) + +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) Source on GitHub @@ -10,30 +12,34 @@ Represents an inlined CSS public **__construct** (*string* $content, [*boolean* $filter], [*array* $attributes]) -public **getType** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getType** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getContent** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getContent** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getFilter** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getFilter** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getAttributes** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getAttributes** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) Sets the inline's type -public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) Sets if the resource must be filtered or not -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) + +Sets extra HTML attributes + +public **getResourceKey** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) -Sets extra HTML attributes \ No newline at end of file +Gets the resource's key. \ No newline at end of file diff --git a/pl/api/Phalcon_Assets_Inline_Js.md b/pl/api/Phalcon_Assets_Inline_Js.md index 27d57246d817..1cce336b4116 100644 --- a/pl/api/Phalcon_Assets_Inline_Js.md +++ b/pl/api/Phalcon_Assets_Inline_Js.md @@ -1,6 +1,8 @@ # Class **Phalcon\\Assets\\Inline\\Js** -*extends* class [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +*extends* class [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) + +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) Source on GitHub @@ -10,30 +12,34 @@ Represents an inline Javascript public **__construct** (*string* $content, [*boolean* $filter], [*array* $attributes]) -public **getType** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getType** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getContent** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getContent** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getFilter** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getFilter** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getAttributes** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getAttributes** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) Sets the inline's type -public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) Sets if the resource must be filtered or not -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) + +Sets extra HTML attributes + +public **getResourceKey** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) -Sets extra HTML attributes \ No newline at end of file +Gets the resource's key. \ No newline at end of file diff --git a/pl/api/Phalcon_Assets_Manager.md b/pl/api/Phalcon_Assets_Manager.md index 55ab07f19201..13ecabf4ff9c 100644 --- a/pl/api/Phalcon_Assets_Manager.md +++ b/pl/api/Phalcon_Assets_Manager.md @@ -52,7 +52,7 @@ public **addInlineJs** (*mixed* $content, [*mixed* $filter], [*mixed* $attribute Adds an inline javascript to the 'js' collection -public **addResourceByType** (*mixed* $type, [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) $resource) +public **addResourceByType** (*mixed* $type, [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) $resource) Adds a resource by its type @@ -65,11 +65,11 @@ $assets->addResourceByType("css", ``` -public **addInlineCodeByType** (*mixed* $type, [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) $code) +public **addInlineCodeByType** (*mixed* $type, [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) $code) Adds an inline code by its type -public **addResource** ([Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) $resource) +public **addResource** ([Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) $resource) Adds a raw resource to the manager @@ -82,11 +82,11 @@ $assets->addResource( ``` -public **addInlineCode** ([Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) $code) +public **addInlineCode** ([Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) $code) Adds a raw inline code to the manager -public **set** (*mixed* $id, [Phalcon\Assets\Collection](/en/3.1.2/api/Phalcon_Assets_Collection) $collection) +public **set** (*mixed* $id, [Phalcon\Assets\Collection](/en/3.2/api/Phalcon_Assets_Collection) $collection) Sets a collection in the Assets Manager @@ -99,7 +99,7 @@ $assets->set("js", $collection); public **get** (*mixed* $id) -Returns a collection by its id +Returns a collection by its id. ```php exists("jsHeader")) { + // \Phalcon\Assets\Collection + $collection = $assets->get("jsHeader"); +} + +``` \ No newline at end of file diff --git a/pl/api/Phalcon_Assets_Resource.md b/pl/api/Phalcon_Assets_Resource.md index 9718061c348e..d67dc71b7929 100644 --- a/pl/api/Phalcon_Assets_Resource.md +++ b/pl/api/Phalcon_Assets_Resource.md @@ -1,5 +1,7 @@ # Class **Phalcon\\Assets\\Resource** +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) + Source on GitHub Represents an asset resource @@ -85,4 +87,8 @@ Returns the complete location where the resource is located public **getRealTargetPath** ([*mixed* $basePath]) -Returns the complete location where the resource must be written \ No newline at end of file +Returns the complete location where the resource must be written + +public **getResourceKey** () + +Gets the resource's key. \ No newline at end of file diff --git a/pl/api/Phalcon_Assets_Resource_Css.md b/pl/api/Phalcon_Assets_Resource_Css.md index 9376a4de5f6d..11c938e391ca 100644 --- a/pl/api/Phalcon_Assets_Resource_Css.md +++ b/pl/api/Phalcon_Assets_Resource_Css.md @@ -1,6 +1,8 @@ # Class **Phalcon\\Assets\\Resource\\Css** -*extends* class [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +*extends* class [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) + +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) Source on GitHub @@ -10,72 +12,76 @@ Represents CSS resources public **__construct** (*string* $path, [*boolean* $local], [*boolean* $filter], [*array* $attributes]) -public **getType** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getType** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getPath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getPath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getLocal** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getLocal** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getFilter** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getFilter** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getAttributes** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getAttributes** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getSourcePath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getSourcePath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **getTargetPath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getTargetPath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **getTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's type -public **setPath** (*mixed* $path) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setPath** (*mixed* $path) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's path -public **setLocal** (*mixed* $local) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setLocal** (*mixed* $local) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets if the resource is local or external -public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets if the resource must be filtered or not -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets extra HTML attributes -public **setTargetUri** (*mixed* $targetUri) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setTargetUri** (*mixed* $targetUri) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets a target uri for the generated HTML -public **setSourcePath** (*mixed* $sourcePath) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setSourcePath** (*mixed* $sourcePath) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's source path -public **setTargetPath** (*mixed* $targetPath) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setTargetPath** (*mixed* $targetPath) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's target path -public **getContent** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getContent** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the content of the resource as an string Optionally a base path where the resource is located can be set -public **getRealTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the real target uri for the generated HTML -public **getRealSourcePath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealSourcePath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the complete location where the resource is located -public **getRealTargetPath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealTargetPath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) + +Returns the complete location where the resource must be written + +public **getResourceKey** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -Returns the complete location where the resource must be written \ No newline at end of file +Gets the resource's key. \ No newline at end of file diff --git a/pl/api/Phalcon_Assets_Resource_Js.md b/pl/api/Phalcon_Assets_Resource_Js.md index a4c132ff1ed1..2acc4d239b9d 100644 --- a/pl/api/Phalcon_Assets_Resource_Js.md +++ b/pl/api/Phalcon_Assets_Resource_Js.md @@ -1,6 +1,8 @@ # Class **Phalcon\\Assets\\Resource\\Js** -*extends* class [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +*extends* class [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) + +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) Source on GitHub @@ -10,72 +12,76 @@ Represents Javascript resources public **__construct** (*string* $path, [*boolean* $local], [*boolean* $filter], [*array* $attributes]) -public **getType** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getType** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getPath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getPath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getLocal** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getLocal** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getFilter** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getFilter** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getAttributes** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getAttributes** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getSourcePath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getSourcePath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **getTargetPath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getTargetPath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **getTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's type -public **setPath** (*mixed* $path) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setPath** (*mixed* $path) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's path -public **setLocal** (*mixed* $local) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setLocal** (*mixed* $local) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets if the resource is local or external -public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets if the resource must be filtered or not -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets extra HTML attributes -public **setTargetUri** (*mixed* $targetUri) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setTargetUri** (*mixed* $targetUri) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets a target uri for the generated HTML -public **setSourcePath** (*mixed* $sourcePath) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setSourcePath** (*mixed* $sourcePath) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's source path -public **setTargetPath** (*mixed* $targetPath) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setTargetPath** (*mixed* $targetPath) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's target path -public **getContent** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getContent** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the content of the resource as an string Optionally a base path where the resource is located can be set -public **getRealTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the real target uri for the generated HTML -public **getRealSourcePath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealSourcePath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the complete location where the resource is located -public **getRealTargetPath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealTargetPath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) + +Returns the complete location where the resource must be written + +public **getResourceKey** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -Returns the complete location where the resource must be written \ No newline at end of file +Gets the resource's key. \ No newline at end of file diff --git a/pl/api/Phalcon_Cache_Backend.md b/pl/api/Phalcon_Cache_Backend.md index f81ba2e57820..6e8b2e14bbff 100644 --- a/pl/api/Phalcon_Cache_Backend.md +++ b/pl/api/Phalcon_Cache_Backend.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Cache\\Backend** -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -32,7 +32,7 @@ public **setLastKey** (*mixed* $lastKey) ... -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend constructor @@ -56,22 +56,22 @@ public *int* **getLifetime** () Gets the last lifetime set -abstract public **get** (*mixed* $keyName, [*mixed* $lifetime]) inherited from [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +abstract public **get** (*mixed* $keyName, [*mixed* $lifetime]) inherited from [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) ... -abstract public **save** ([*mixed* $keyName], [*mixed* $content], [*mixed* $lifetime], [*mixed* $stopBuffer]) inherited from [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +abstract public **save** ([*mixed* $keyName], [*mixed* $content], [*mixed* $lifetime], [*mixed* $stopBuffer]) inherited from [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) ... -abstract public **delete** (*mixed* $keyName) inherited from [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +abstract public **delete** (*mixed* $keyName) inherited from [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) ... -abstract public **queryKeys** ([*mixed* $prefix]) inherited from [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +abstract public **queryKeys** ([*mixed* $prefix]) inherited from [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) ... -abstract public **exists** ([*mixed* $keyName], [*mixed* $lifetime]) inherited from [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +abstract public **exists** ([*mixed* $keyName], [*mixed* $lifetime]) inherited from [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) ... \ No newline at end of file diff --git a/pl/api/Phalcon_Cache_Backend_Apc.md b/pl/api/Phalcon_Cache_Backend_Apc.md index 6f08c1fef4b7..92b01c89d25a 100644 --- a/pl/api/Phalcon_Cache_Backend_Apc.md +++ b/pl/api/Phalcon_Cache_Backend_Apc.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Apc** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -94,50 +94,50 @@ $cache->flush(); ``` -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Phalcon\\Cache\\Backend constructor -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/pl/api/Phalcon_Cache_Backend_File.md b/pl/api/Phalcon_Cache_Backend_File.md index 78c3aff0e84c..3ea73b705889 100644 --- a/pl/api/Phalcon_Cache_Backend_File.md +++ b/pl/api/Phalcon_Cache_Backend_File.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\File** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -44,7 +44,7 @@ if ($content === null) { ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, *array* $options) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, *array* $options) Phalcon\\Cache\\Backend\\File constructor @@ -98,46 +98,46 @@ public **useSafeKey** (*mixed* $useSafeKey) Set whether to use the safekey or not -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/pl/api/Phalcon_Cache_Backend_Libmemcached.md b/pl/api/Phalcon_Cache_Backend_Libmemcached.md index 88948897b300..9ec4b031d82e 100644 --- a/pl/api/Phalcon_Cache_Backend_Libmemcached.md +++ b/pl/api/Phalcon_Cache_Backend_Libmemcached.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Libmemcached** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -49,7 +49,7 @@ $data = $cache->get("my-data"); ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend\\Memcache constructor @@ -116,46 +116,46 @@ $cache->flush(); ``` -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/pl/api/Phalcon_Cache_Backend_Memcache.md b/pl/api/Phalcon_Cache_Backend_Memcache.md index 7310592149b1..6f2575ca5c8d 100644 --- a/pl/api/Phalcon_Cache_Backend_Memcache.md +++ b/pl/api/Phalcon_Cache_Backend_Memcache.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Memcache** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -43,7 +43,7 @@ $data = $cache->get("my-data"); ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend\\Memcache constructor @@ -97,46 +97,46 @@ public **flush** () Immediately invalidates all existing items. -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/pl/api/Phalcon_Cache_Backend_Memory.md b/pl/api/Phalcon_Cache_Backend_Memory.md index 06a4216cf7ac..a269432ab9f3 100644 --- a/pl/api/Phalcon_Cache_Backend_Memory.md +++ b/pl/api/Phalcon_Cache_Backend_Memory.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Memory** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface), [Serializable](http://php.net/manual/en/class.serializable.php) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface), [Serializable](http://php.net/manual/en/class.serializable.php) Source on GitHub @@ -79,50 +79,50 @@ public **unserialize** (*mixed* $data) Required for interface \\Serializable -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Phalcon\\Cache\\Backend constructor -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/pl/api/Phalcon_Cache_Backend_Mongo.md b/pl/api/Phalcon_Cache_Backend_Mongo.md index 9ad0f67b530c..6421cd0f4f29 100644 --- a/pl/api/Phalcon_Cache_Backend_Mongo.md +++ b/pl/api/Phalcon_Cache_Backend_Mongo.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Mongo** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -44,7 +44,7 @@ $data = $cache->get("my-data"); ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend\\Mongo constructor @@ -98,46 +98,46 @@ public **flush** () Immediately invalidates all existing items. -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/pl/api/Phalcon_Cache_Backend_Redis.md b/pl/api/Phalcon_Cache_Backend_Redis.md index 123bf025f2af..a3509251d509 100644 --- a/pl/api/Phalcon_Cache_Backend_Redis.md +++ b/pl/api/Phalcon_Cache_Backend_Redis.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Redis** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -45,7 +45,7 @@ $data = $cache->get("my-data"); ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend\\Redis constructor @@ -105,46 +105,46 @@ public **flush** () Immediately invalidates all existing items. -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/pl/api/Phalcon_Cache_Backend_Xcache.md b/pl/api/Phalcon_Cache_Backend_Xcache.md index b91e75b19c79..7dac8215d5f3 100644 --- a/pl/api/Phalcon_Cache_Backend_Xcache.md +++ b/pl/api/Phalcon_Cache_Backend_Xcache.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Xcache** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -38,7 +38,7 @@ $data = $cache->get("my-data"); ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend\\Xcache constructor @@ -84,46 +84,46 @@ public **flush** () Immediately invalidates all existing items. -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/pl/api/Phalcon_Cache_Exception.md b/pl/api/Phalcon_Cache_Exception.md index cbb05a3a76e4..87f2372e7864 100644 --- a/pl/api/Phalcon_Cache_Exception.md +++ b/pl/api/Phalcon_Cache_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/pl/api/Phalcon_Cache_Frontend_Base64.md b/pl/api/Phalcon_Cache_Frontend_Base64.md index 92f36996b4b7..473895a88aa8 100644 --- a/pl/api/Phalcon_Cache_Frontend_Base64.md +++ b/pl/api/Phalcon_Cache_Frontend_Base64.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Frontend\\Base64** -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/pl/api/Phalcon_Cache_Frontend_Data.md b/pl/api/Phalcon_Cache_Frontend_Data.md index f46469ab7410..1f249be7103c 100644 --- a/pl/api/Phalcon_Cache_Frontend_Data.md +++ b/pl/api/Phalcon_Cache_Frontend_Data.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Frontend\\Data** -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/pl/api/Phalcon_Cache_Frontend_Json.md b/pl/api/Phalcon_Cache_Frontend_Json.md index 64a296ca976f..bfe39cdc53c4 100644 --- a/pl/api/Phalcon_Cache_Frontend_Json.md +++ b/pl/api/Phalcon_Cache_Frontend_Json.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Frontend\\Json** -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/pl/api/Phalcon_Cache_Frontend_Msgpack.md b/pl/api/Phalcon_Cache_Frontend_Msgpack.md index f77a99a21168..857b40d4bbdc 100644 --- a/pl/api/Phalcon_Cache_Frontend_Msgpack.md +++ b/pl/api/Phalcon_Cache_Frontend_Msgpack.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Frontend\\Msgpack** -*extends* class [Phalcon\Cache\Frontend\Data](/en/3.1.2/api/Phalcon_Cache_Frontend_Data) +*extends* class [Phalcon\Cache\Frontend\Data](/en/3.2/api/Phalcon_Cache_Frontend_Data) -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/pl/api/Phalcon_Cache_Frontend_None.md b/pl/api/Phalcon_Cache_Frontend_None.md index 521fcd02f344..bdc0af2d4135 100644 --- a/pl/api/Phalcon_Cache_Frontend_None.md +++ b/pl/api/Phalcon_Cache_Frontend_None.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Frontend\\None** -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/pl/api/Phalcon_Cache_Frontend_Output.md b/pl/api/Phalcon_Cache_Frontend_Output.md index 8421c02f1276..c6a0543703d6 100644 --- a/pl/api/Phalcon_Cache_Frontend_Output.md +++ b/pl/api/Phalcon_Cache_Frontend_Output.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Frontend\\Output** -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/pl/api/Phalcon_Cache_Multiple.md b/pl/api/Phalcon_Cache_Multiple.md index bbfa61a13274..1d9fd1365aa9 100644 --- a/pl/api/Phalcon_Cache_Multiple.md +++ b/pl/api/Phalcon_Cache_Multiple.md @@ -65,11 +65,11 @@ $cache->save("my-key", $data); ## Methods -public **__construct** ([[Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface[]) $backends]) +public **__construct** ([[Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface[]) $backends]) Phalcon\\Cache\\Multiple constructor -public **push** ([Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) $backend) +public **push** ([Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) $backend) Adds a backend diff --git a/pl/api/Phalcon_Cli_Console.md b/pl/api/Phalcon_Cli_Console.md index c769b7ad7659..f0337bf3f1ec 100644 --- a/pl/api/Phalcon_Cli_Console.md +++ b/pl/api/Phalcon_Cli_Console.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cli\\Console** -*extends* abstract class [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +*extends* abstract class [Phalcon\Application](/en/3.2/api/Phalcon_Application) -*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -36,19 +36,19 @@ public **setArgument** ([*array* $arguments], [*mixed* $str], [*mixed* $shift]) Set an specific argument -public **__construct** ([[Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector]) inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **__construct** ([[Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector]) inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Phalcon\\Application -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Sets the events manager -public **getEventsManager** () inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **getEventsManager** () inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Returns the internal event manager -public **registerModules** (*array* $modules, [*mixed* $merge]) inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **registerModules** (*array* $modules, [*mixed* $merge]) inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Register an array of modules present in the application @@ -70,30 +70,30 @@ $this->registerModules( ``` -public **getModules** () inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **getModules** () inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Return the modules registered in the application -public **getModule** (*mixed* $name) inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **getModule** (*mixed* $name) inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Gets the module definition registered in the application via module name -public **setDefaultModule** (*mixed* $defaultModule) inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **setDefaultModule** (*mixed* $defaultModule) inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Sets the module name to be used if the router doesn't return a valid module -public **getDefaultModule** () inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **getDefaultModule** () inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Returns the default module name -public **setDI** ([Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **setDI** ([Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Sets the dependency injector -public **getDI** () inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **getDI** () inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Returns the internal dependency injector -public **__get** (*mixed* $propertyName) inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **__get** (*mixed* $propertyName) inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Magic method __get \ No newline at end of file diff --git a/pl/api/Phalcon_Cli_Console_Exception.md b/pl/api/Phalcon_Cli_Console_Exception.md index 64a6f1f9162a..e7bfea5dbde1 100644 --- a/pl/api/Phalcon_Cli_Console_Exception.md +++ b/pl/api/Phalcon_Cli_Console_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cli\\Console\\Exception** -*extends* class [Phalcon\Application\Exception](/en/3.1.2/api/Phalcon_Application_Exception) +*extends* class [Phalcon\Application\Exception](/en/3.2/api/Phalcon_Application_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/pl/api/Phalcon_Cli_Dispatcher.md b/pl/api/Phalcon_Cli_Dispatcher.md index 7b91f5c9f537..f03b7c7c61ac 100644 --- a/pl/api/Phalcon_Cli_Dispatcher.md +++ b/pl/api/Phalcon_Cli_Dispatcher.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cli\\Dispatcher** -*extends* abstract class [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +*extends* abstract class [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) -*implements* [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface), [Phalcon\Cli\DispatcherInterface](/en/3.1.2/api/Phalcon_Cli_DispatcherInterface) +*implements* [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface), [Phalcon\Cli\DispatcherInterface](/en/3.2/api/Phalcon_Cli_DispatcherInterface) Source on GitHub @@ -11,10 +11,11 @@ Dispatching is the process of taking the command-line arguments, extracting the ```php setDi($di); $dispatcher->setTaskName("posts"); @@ -81,107 +82,115 @@ public **getOptions** () Get dispatched options +public **getOption** (*mixed* $option, [*string* | *array* $filters], [*mixed* $defaultValue]) + +Gets an option by its name or numeric index + +public **hasOption** (*mixed* $option) + +Check if an option exists + public **callActionMethod** (*mixed* $handler, *mixed* $actionMethod, [*array* $params]) -... +Calls the action method. -public **setDI** ([Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setDI** ([Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the dependency injector -public **getDI** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getDI** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns the internal dependency injector -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the events manager -public **getEventsManager** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getEventsManager** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns the internal event manager -public **setActionSuffix** (*mixed* $actionSuffix) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setActionSuffix** (*mixed* $actionSuffix) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the default action suffix -public **getActionSuffix** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getActionSuffix** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets the default action suffix -public **setModuleName** (*mixed* $moduleName) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setModuleName** (*mixed* $moduleName) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the module where the controller is (only informative) -public **getModuleName** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getModuleName** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets the module where the controller class is -public **setNamespaceName** (*mixed* $namespaceName) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setNamespaceName** (*mixed* $namespaceName) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the namespace where the controller class is -public **getNamespaceName** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getNamespaceName** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets a namespace to be prepended to the current handler name -public **setDefaultNamespace** (*mixed* $namespaceName) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setDefaultNamespace** (*mixed* $namespaceName) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the default namespace -public **getDefaultNamespace** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getDefaultNamespace** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns the default namespace -public **setDefaultAction** (*mixed* $actionName) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setDefaultAction** (*mixed* $actionName) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the default action name -public **setActionName** (*mixed* $actionName) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setActionName** (*mixed* $actionName) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the action name to be dispatched -public **getActionName** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getActionName** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets the latest dispatched action name -public **setParams** (*array* $params) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setParams** (*array* $params) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets action params to be dispatched -public **getParams** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getParams** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets action params -public **setParam** (*mixed* $param, *mixed* $value) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setParam** (*mixed* $param, *mixed* $value) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Set a param by its name or numeric index -public *mixed* **getParam** (*mixed* $param, [*string* | *array* $filters], [*mixed* $defaultValue]) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public *mixed* **getParam** (*mixed* $param, [*string* | *array* $filters], [*mixed* $defaultValue]) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets a param by its name or numeric index -public *boolean* **hasParam** (*mixed* $param) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public *boolean* **hasParam** (*mixed* $param) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Check if a param exists -public **getActiveMethod** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getActiveMethod** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns the current method to be/executed in the dispatcher -public **isFinished** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **isFinished** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Checks if the dispatch loop is finished or has more pendent controllers/tasks to dispatch -public **setReturnedValue** (*mixed* $value) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setReturnedValue** (*mixed* $value) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the latest returned value by an action manually -public *mixed* **getReturnedValue** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public *mixed* **getReturnedValue** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns value returned by the latest dispatched action -public **setModelBinding** (*mixed* $value, [*mixed* $cache]) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setModelBinding** (*mixed* $value, [*mixed* $cache]) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Enable/Disable model binding during dispatch @@ -197,7 +206,7 @@ $di->set('dispatcher', function() { ``` -public **setModelBinder** ([Phalcon\Mvc\Model\BinderInterface](/en/3.1.2/api/Phalcon_Mvc_Model_BinderInterface) $modelBinder, [*mixed* $cache]) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setModelBinder** ([Phalcon\Mvc\Model\BinderInterface](/en/3.2/api/Phalcon_Mvc_Model_BinderInterface) $modelBinder, [*mixed* $cache]) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Enable model binding during dispatch @@ -213,21 +222,21 @@ $di->set('dispatcher', function() { ``` -public **getModelBinder** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getModelBinder** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets model binder -public *object* **dispatch** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public *object* **dispatch** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Dispatches a handle action taking into account the routing parameters -protected *object* **_dispatch** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +protected *object* **_dispatch** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Dispatches a handle action taking into account the routing parameters -public **forward** (*array* $forward) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **forward** (*array* $forward) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) -Forwards the execution flow to another controller/action Dispatchers are unique per module. Forwarding between modules is not allowed +Forwards the execution flow to another controller/action. ```php dispatcher->forward( ``` -public **wasForwarded** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **wasForwarded** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Check if the current executed action was forwarded by another one -public **getHandlerClass** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getHandlerClass** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Possible class name that will be located to dispatch the request -public **getBoundModels** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getBoundModels** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns bound models from binder instance @@ -266,6 +275,6 @@ class UserController extends Controller ``` -protected **_resolveEmptyProperties** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +protected **_resolveEmptyProperties** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Set empty properties to their defaults (where defaults are available) \ No newline at end of file diff --git a/pl/api/Phalcon_Cli_DispatcherInterface.md b/pl/api/Phalcon_Cli_DispatcherInterface.md index 58914bf4b682..78f4d7b40c9c 100644 --- a/pl/api/Phalcon_Cli_DispatcherInterface.md +++ b/pl/api/Phalcon_Cli_DispatcherInterface.md @@ -1,6 +1,6 @@ # Interface **Phalcon\\Cli\\DispatcherInterface** -*implements* [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +*implements* [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) Source on GitHub @@ -30,70 +30,70 @@ abstract public **getActiveTask** () ... -abstract public **setActionSuffix** (*mixed* $actionSuffix) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setActionSuffix** (*mixed* $actionSuffix) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **getActionSuffix** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **getActionSuffix** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setDefaultNamespace** (*mixed* $defaultNamespace) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setDefaultNamespace** (*mixed* $defaultNamespace) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setDefaultAction** (*mixed* $actionName) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setDefaultAction** (*mixed* $actionName) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setNamespaceName** (*mixed* $namespaceName) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setNamespaceName** (*mixed* $namespaceName) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setModuleName** (*mixed* $moduleName) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setModuleName** (*mixed* $moduleName) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setActionName** (*mixed* $actionName) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setActionName** (*mixed* $actionName) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **getActionName** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **getActionName** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setParams** (*mixed* $params) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setParams** (*mixed* $params) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **getParams** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **getParams** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setParam** (*mixed* $param, *mixed* $value) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setParam** (*mixed* $param, *mixed* $value) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **getParam** (*mixed* $param, [*mixed* $filters]) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **getParam** (*mixed* $param, [*mixed* $filters]) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **hasParam** (*mixed* $param) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **hasParam** (*mixed* $param) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **isFinished** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **isFinished** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **getReturnedValue** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **getReturnedValue** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **dispatch** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **dispatch** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **forward** (*mixed* $forward) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **forward** (*mixed* $forward) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... \ No newline at end of file diff --git a/pl/api/Phalcon_Cli_Dispatcher_Exception.md b/pl/api/Phalcon_Cli_Dispatcher_Exception.md index 0eeb05860d89..fbd0a6c4292d 100644 --- a/pl/api/Phalcon_Cli_Dispatcher_Exception.md +++ b/pl/api/Phalcon_Cli_Dispatcher_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cli\\Dispatcher\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/pl/api/Phalcon_Cli_Router.md b/pl/api/Phalcon_Cli_Router.md index d2cb10a44276..5a0943627b36 100644 --- a/pl/api/Phalcon_Cli_Router.md +++ b/pl/api/Phalcon_Cli_Router.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cli\\Router** -*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface) +*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface) Source on GitHub @@ -29,7 +29,7 @@ public **__construct** ([*mixed* $defaultRoutes]) Phalcon\\Cli\\Router constructor -public **setDI** ([Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector) +public **setDI** ([Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector) Sets the dependency injector @@ -69,7 +69,7 @@ public **handle** ([*array* $arguments]) Handles routing information received from command-line arguments -public [Phalcon\Cli\Router\Route](/en/3.1.2/api/Phalcon_Cli_Router_Route) **add** (*string* $pattern, [*string/array* $paths]) +public [Phalcon\Cli\Router\Route](/en/3.2/api/Phalcon_Cli_Router_Route) **add** (*string* $pattern, [*string/array* $paths]) Adds a route to the router @@ -112,7 +112,7 @@ public **getRoutes** () Returns all the routes defined in the router -public [Phalcon\Cli\Router\Route](/en/3.1.2/api/Phalcon_Cli_Router_Route) **getRouteById** (*int* $id) +public [Phalcon\Cli\Router\Route](/en/3.2/api/Phalcon_Cli_Router_Route) **getRouteById** (*int* $id) Returns a route object by its id diff --git a/pl/api/Phalcon_Cli_Router_Exception.md b/pl/api/Phalcon_Cli_Router_Exception.md index ebd81a411422..e063b3861132 100644 --- a/pl/api/Phalcon_Cli_Router_Exception.md +++ b/pl/api/Phalcon_Cli_Router_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cli\\Router\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/pl/api/Phalcon_Db_Adapter.md b/pl/api/Phalcon_Db_Adapter.md index c1deaded19cd..a5d397a98c83 100644 --- a/pl/api/Phalcon_Db_Adapter.md +++ b/pl/api/Phalcon_Db_Adapter.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Db\\Adapter** -*implements* [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -24,7 +24,7 @@ public **__construct** (*array* $descriptor) Phalcon\\Db\\Adapter constructor -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) Sets the event manager @@ -32,7 +32,7 @@ public **getEventsManager** () Returns the internal event manager -public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) $dialect) +public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) $dialect) Sets the dialect used to produce the SQL @@ -309,11 +309,11 @@ public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExist Drops a view -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Adds a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) Modifies a table column based on a definition @@ -321,7 +321,7 @@ public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnN Drops a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Adds an index to a table @@ -329,7 +329,7 @@ public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexNam Drop an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Adds a primary key to a table @@ -337,7 +337,7 @@ public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) Drops a table's primary key -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) Adds a foreign key to a table @@ -345,7 +345,7 @@ public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $ref Drops a foreign key from a table -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Returns the SQL column definition from a column @@ -375,7 +375,7 @@ print_r( ``` -public [Phalcon\Db\Index](/en/3.1.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) +public [Phalcon\Db\Index](/en/3.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) Lists table indexes @@ -512,54 +512,54 @@ public *array* **getSQLBindTypes** () Active SQL statement in the object -abstract public **connect** ([*array* $descriptor]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **connect** ([*array* $descriptor]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **query** (*mixed* $sqlStatement, [*mixed* $placeholders], [*mixed* $dataTypes]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **query** (*mixed* $sqlStatement, [*mixed* $placeholders], [*mixed* $dataTypes]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **execute** (*mixed* $sqlStatement, [*mixed* $placeholders], [*mixed* $dataTypes]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **execute** (*mixed* $sqlStatement, [*mixed* $placeholders], [*mixed* $dataTypes]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **affectedRows** () inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **affectedRows** () inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **close** () inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **close** () inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **lastInsertId** ([*mixed* $sequenceName]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **lastInsertId** ([*mixed* $sequenceName]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **isUnderTransaction** () inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **isUnderTransaction** () inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **getInternalHandler** () inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **getInternalHandler** () inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... \ No newline at end of file diff --git a/pl/api/Phalcon_Db_AdapterInterface.md b/pl/api/Phalcon_Db_AdapterInterface.md index 2b9bec9a2acd..4c6a8f54b3f1 100644 --- a/pl/api/Phalcon_Db_AdapterInterface.md +++ b/pl/api/Phalcon_Db_AdapterInterface.md @@ -64,11 +64,11 @@ abstract public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* ... -abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) ... -abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) ... @@ -76,7 +76,7 @@ abstract public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* ... -abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) ... @@ -84,7 +84,7 @@ abstract public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* ... -abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) ... @@ -92,7 +92,7 @@ abstract public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) ... -abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) ... @@ -100,7 +100,7 @@ abstract public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mi ... -abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) ... diff --git a/pl/api/Phalcon_Db_Adapter_Pdo.md b/pl/api/Phalcon_Db_Adapter_Pdo.md index 44de7d9e6e1f..c23a014e3d58 100644 --- a/pl/api/Phalcon_Db_Adapter_Pdo.md +++ b/pl/api/Phalcon_Db_Adapter_Pdo.md @@ -1,8 +1,8 @@ # Abstract class **Phalcon\\Db\\Adapter\\Pdo** -*extends* abstract class [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +*extends* abstract class [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) -*implements* [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +*implements* [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) Source on GitHub @@ -262,35 +262,35 @@ public *array* **getErrorInfo** () Return the error info, if any -public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Name of the dialect used -public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Type of database system the adapter is used for -public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL bound parameter variables -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the event manager -public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the internal event manager -public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the dialect used to produce the SQL -public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns internal dialect instance -public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the first row in a SQL query result @@ -307,7 +307,7 @@ print_r($robot); ``` -public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Dumps the complete result of a query into an array @@ -338,7 +338,7 @@ foreach($robots as $robot) { ``` -public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the n'th field of first row in a SQL query result @@ -358,7 +358,7 @@ print_r($robot); ``` -public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RDBMS SQL syntax @@ -377,7 +377,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RBDM SQL syntax @@ -398,7 +398,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax @@ -435,7 +435,7 @@ $success = $connection->update( Warning! If $whereCondition is string it not escaped. -public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax Another, more convenient syntax @@ -456,7 +456,7 @@ UPDATE `robots` SET `name` = "Astro boy" WHERE id = 101 ``` -public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Deletes data from a table using custom RBDM SQL syntax @@ -474,7 +474,7 @@ DELETE FROM `robots` WHERE `id` = 101 ``` -public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Escapes a column/table/schema name @@ -494,11 +494,11 @@ $escapedTable = $connection->escapeIdentifier( ``` -public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets a list of columns -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Appends a LIMIT clause to $sqlQuery argument @@ -509,7 +509,7 @@ echo $connection->limit("SELECT * FROM robots", 5); ``` -public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.table @@ -522,7 +522,7 @@ var_dump( ``` -public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.view @@ -535,71 +535,71 @@ var_dump( ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a FOR UPDATE clause -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a LOCK IN SHARE MODE clause -public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a table -public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table from a schema/database -public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a view -public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a view -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Modifies a table column based on a definition -public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds an index to a table -public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drop an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a primary key to a table -public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table's primary key -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a foreign key to a table -public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a foreign key from a table -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the SQL column definition from a column -public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all tables on a database @@ -612,7 +612,7 @@ print_r( ``` -public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all views on a database @@ -625,7 +625,7 @@ print_r( ``` -public [Phalcon\Db\Index](/en/3.1.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public [Phalcon\Db\Index](/en/3.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Lists table indexes @@ -638,7 +638,7 @@ print_r( ``` -public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Lists table references @@ -651,7 +651,7 @@ print_r( ``` -public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets creation options from a table @@ -664,31 +664,31 @@ print_r( ``` -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Releases given savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Rollbacks given savepoint -public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Set if nested transactions should use savepoints -public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns if nested transactions should use savepoints -public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the savepoint name to use for nested transactions -public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default identity value to be inserted in an identity column @@ -712,7 +712,7 @@ $success = $connection->insert( ``` -public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default value to make the RBDM use the default value declared in the table definition @@ -734,34 +734,34 @@ $success = $connection->insert( ``` -public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Check whether the database system requires a sequence to produce auto-numeric values -public **useExplicitIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **useExplicitIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Check whether the database system requires an explicit value for identity columns -public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Return descriptor used to connect to the active database -public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets the active connection unique identifier -public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object -public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object without replace bound parameters -public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object -abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... \ No newline at end of file diff --git a/pl/api/Phalcon_Db_Adapter_Pdo_Mysql.md b/pl/api/Phalcon_Db_Adapter_Pdo_Mysql.md index fe17030fddcf..5013bf0def80 100644 --- a/pl/api/Phalcon_Db_Adapter_Pdo_Mysql.md +++ b/pl/api/Phalcon_Db_Adapter_Pdo_Mysql.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Adapter\\Pdo\\Mysql** -*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) -*implements* [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -40,7 +40,7 @@ print_r( ``` -public [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface[]) **describeIndexes** (*string* $table, [*string* $schema]) +public [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface[]) **describeIndexes** (*string* $table, [*string* $schema]) Lists table indexes @@ -66,11 +66,11 @@ print_r( ``` -public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Constructor for Phalcon\\Db\\Adapter\\Pdo -public **connect** ([*array* $descriptor]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **connect** ([*array* $descriptor]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) This method is automatically called in \\Phalcon\\Db\\Adapter\\Pdo constructor. Call it when you need to restore a database connection. @@ -95,7 +95,7 @@ $connection->connect(); ``` -public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns a PDO prepared statement to be executed with 'executePrepared' @@ -120,7 +120,7 @@ $result = $connection->executePrepared( ``` -public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Executes a prepared statement binding. This function uses integer indexes starting from zero @@ -145,7 +145,7 @@ $result = $connection->executePrepared( ``` -public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server is returning rows @@ -166,7 +166,7 @@ $resultset = $connection->query( ``` -public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server doesn't return any rows @@ -188,7 +188,7 @@ $success = $connection->execute( ``` -public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the number of affected rows by the latest INSERT/UPDATE/DELETE executed in the database system @@ -203,11 +203,11 @@ echo $connection->affectedRows(), " were deleted"; ``` -public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Closes the active connection returning success. Phalcon automatically closes and destroys active connections when the request ends -public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Escapes a value to avoid SQL injections according to the active charset in the connection @@ -218,7 +218,7 @@ $escapedStr = $connection->escapeString("some dangerous value"); ``` -public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Converts bound parameters such as :name: or ?1 into PDO bind params ? @@ -236,7 +236,7 @@ print_r( ``` -public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the insert id for the auto_increment/serial column inserted in the latest executed SQL statement @@ -261,23 +261,23 @@ $id = $connection->lastInsertId(); ``` -public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Starts a transaction in the connection -public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Rollbacks the active transaction in the connection -public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Commits the active transaction in the connection -public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the current transaction nesting level -public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Checks whether the connection is under a transaction @@ -293,43 +293,43 @@ var_dump( ``` -public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return internal PDO handler -public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return the error info, if any -public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Name of the dialect used -public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Type of database system the adapter is used for -public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL bound parameter variables -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the event manager -public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the internal event manager -public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the dialect used to produce the SQL -public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns internal dialect instance -public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the first row in a SQL query result @@ -346,7 +346,7 @@ print_r($robot); ``` -public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Dumps the complete result of a query into an array @@ -377,7 +377,7 @@ foreach($robots as $robot) { ``` -public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the n'th field of first row in a SQL query result @@ -397,7 +397,7 @@ print_r($robot); ``` -public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RDBMS SQL syntax @@ -416,7 +416,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RBDM SQL syntax @@ -437,7 +437,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax @@ -474,7 +474,7 @@ $success = $connection->update( Warning! If $whereCondition is string it not escaped. -public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax Another, more convenient syntax @@ -495,7 +495,7 @@ UPDATE `robots` SET `name` = "Astro boy" WHERE id = 101 ``` -public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Deletes data from a table using custom RBDM SQL syntax @@ -513,7 +513,7 @@ DELETE FROM `robots` WHERE `id` = 101 ``` -public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Escapes a column/table/schema name @@ -533,11 +533,11 @@ $escapedTable = $connection->escapeIdentifier( ``` -public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets a list of columns -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Appends a LIMIT clause to $sqlQuery argument @@ -548,7 +548,7 @@ echo $connection->limit("SELECT * FROM robots", 5); ``` -public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.table @@ -561,7 +561,7 @@ var_dump( ``` -public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.view @@ -574,71 +574,71 @@ var_dump( ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a FOR UPDATE clause -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a LOCK IN SHARE MODE clause -public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a table -public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table from a schema/database -public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a view -public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a view -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Modifies a table column based on a definition -public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds an index to a table -public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drop an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a primary key to a table -public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table's primary key -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a foreign key to a table -public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a foreign key from a table -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the SQL column definition from a column -public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all tables on a database @@ -651,7 +651,7 @@ print_r( ``` -public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all views on a database @@ -664,7 +664,7 @@ print_r( ``` -public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets creation options from a table @@ -677,31 +677,31 @@ print_r( ``` -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Releases given savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Rollbacks given savepoint -public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Set if nested transactions should use savepoints -public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns if nested transactions should use savepoints -public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the savepoint name to use for nested transactions -public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default identity value to be inserted in an identity column @@ -725,7 +725,7 @@ $success = $connection->insert( ``` -public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default value to make the RBDM use the default value declared in the table definition @@ -747,30 +747,30 @@ $success = $connection->insert( ``` -public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Check whether the database system requires a sequence to produce auto-numeric values -public **useExplicitIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **useExplicitIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Check whether the database system requires an explicit value for identity columns -public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Return descriptor used to connect to the active database -public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets the active connection unique identifier -public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object -public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object without replace bound parameters -public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object \ No newline at end of file diff --git a/pl/api/Phalcon_Db_Adapter_Pdo_Postgresql.md b/pl/api/Phalcon_Db_Adapter_Pdo_Postgresql.md index c7f35273d52a..9a66f69a4ec1 100644 --- a/pl/api/Phalcon_Db_Adapter_Pdo_Postgresql.md +++ b/pl/api/Phalcon_Db_Adapter_Pdo_Postgresql.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Adapter\\Pdo\\Postgresql** -*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) -*implements* [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -48,7 +48,7 @@ public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $defini Creates a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) Modifies a table column based on a definition @@ -84,11 +84,11 @@ public **supportSequences** () Check whether the database system requires a sequence to produce auto-numeric values -public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Constructor for Phalcon\\Db\\Adapter\\Pdo -public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns a PDO prepared statement to be executed with 'executePrepared' @@ -113,7 +113,7 @@ $result = $connection->executePrepared( ``` -public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Executes a prepared statement binding. This function uses integer indexes starting from zero @@ -138,7 +138,7 @@ $result = $connection->executePrepared( ``` -public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server is returning rows @@ -159,7 +159,7 @@ $resultset = $connection->query( ``` -public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server doesn't return any rows @@ -181,7 +181,7 @@ $success = $connection->execute( ``` -public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the number of affected rows by the latest INSERT/UPDATE/DELETE executed in the database system @@ -196,11 +196,11 @@ echo $connection->affectedRows(), " were deleted"; ``` -public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Closes the active connection returning success. Phalcon automatically closes and destroys active connections when the request ends -public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Escapes a value to avoid SQL injections according to the active charset in the connection @@ -211,7 +211,7 @@ $escapedStr = $connection->escapeString("some dangerous value"); ``` -public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Converts bound parameters such as :name: or ?1 into PDO bind params ? @@ -229,7 +229,7 @@ print_r( ``` -public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the insert id for the auto_increment/serial column inserted in the latest executed SQL statement @@ -254,23 +254,23 @@ $id = $connection->lastInsertId(); ``` -public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Starts a transaction in the connection -public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Rollbacks the active transaction in the connection -public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Commits the active transaction in the connection -public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the current transaction nesting level -public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Checks whether the connection is under a transaction @@ -286,43 +286,43 @@ var_dump( ``` -public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return internal PDO handler -public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return the error info, if any -public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Name of the dialect used -public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Type of database system the adapter is used for -public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL bound parameter variables -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the event manager -public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the internal event manager -public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the dialect used to produce the SQL -public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns internal dialect instance -public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the first row in a SQL query result @@ -339,7 +339,7 @@ print_r($robot); ``` -public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Dumps the complete result of a query into an array @@ -370,7 +370,7 @@ foreach($robots as $robot) { ``` -public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the n'th field of first row in a SQL query result @@ -390,7 +390,7 @@ print_r($robot); ``` -public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RDBMS SQL syntax @@ -409,7 +409,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RBDM SQL syntax @@ -430,7 +430,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax @@ -467,7 +467,7 @@ $success = $connection->update( Warning! If $whereCondition is string it not escaped. -public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax Another, more convenient syntax @@ -488,7 +488,7 @@ UPDATE `robots` SET `name` = "Astro boy" WHERE id = 101 ``` -public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Deletes data from a table using custom RBDM SQL syntax @@ -506,7 +506,7 @@ DELETE FROM `robots` WHERE `id` = 101 ``` -public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Escapes a column/table/schema name @@ -526,11 +526,11 @@ $escapedTable = $connection->escapeIdentifier( ``` -public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets a list of columns -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Appends a LIMIT clause to $sqlQuery argument @@ -541,7 +541,7 @@ echo $connection->limit("SELECT * FROM robots", 5); ``` -public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.table @@ -554,7 +554,7 @@ var_dump( ``` -public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.view @@ -567,63 +567,63 @@ var_dump( ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a FOR UPDATE clause -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a LOCK IN SHARE MODE clause -public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table from a schema/database -public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a view -public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a view -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a column to a table -public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds an index to a table -public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drop an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a primary key to a table -public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table's primary key -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a foreign key to a table -public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a foreign key from a table -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the SQL column definition from a column -public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all tables on a database @@ -636,7 +636,7 @@ print_r( ``` -public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all views on a database @@ -649,7 +649,7 @@ print_r( ``` -public [Phalcon\Db\Index](/en/3.1.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public [Phalcon\Db\Index](/en/3.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Lists table indexes @@ -662,7 +662,7 @@ print_r( ``` -public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Lists table references @@ -675,7 +675,7 @@ print_r( ``` -public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets creation options from a table @@ -688,31 +688,31 @@ print_r( ``` -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Releases given savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Rollbacks given savepoint -public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Set if nested transactions should use savepoints -public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns if nested transactions should use savepoints -public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the savepoint name to use for nested transactions -public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default value to make the RBDM use the default value declared in the table definition @@ -734,22 +734,22 @@ $success = $connection->insert( ``` -public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Return descriptor used to connect to the active database -public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets the active connection unique identifier -public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object -public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object without replace bound parameters -public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object \ No newline at end of file diff --git a/pl/api/Phalcon_Db_Adapter_Pdo_Sqlite.md b/pl/api/Phalcon_Db_Adapter_Pdo_Sqlite.md index 1f92cfbfc6bd..a568c933ce4a 100644 --- a/pl/api/Phalcon_Db_Adapter_Pdo_Sqlite.md +++ b/pl/api/Phalcon_Db_Adapter_Pdo_Sqlite.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Adapter\\Pdo\\Sqlite** -*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) -*implements* [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -40,7 +40,7 @@ print_r( ``` -public [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface[]) **describeIndexes** (*string* $table, [*string* $schema]) +public [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface[]) **describeIndexes** (*string* $table, [*string* $schema]) Lists table indexes @@ -53,7 +53,7 @@ print_r( ``` -public [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface[]) **describeReferences** (*string* $table, [*string* $schema]) +public [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface[]) **describeReferences** (*string* $table, [*string* $schema]) Lists table references @@ -83,11 +83,11 @@ $success = $connection->insert( ``` -public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Constructor for Phalcon\\Db\\Adapter\\Pdo -public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns a PDO prepared statement to be executed with 'executePrepared' @@ -112,7 +112,7 @@ $result = $connection->executePrepared( ``` -public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Executes a prepared statement binding. This function uses integer indexes starting from zero @@ -137,7 +137,7 @@ $result = $connection->executePrepared( ``` -public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server is returning rows @@ -158,7 +158,7 @@ $resultset = $connection->query( ``` -public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server doesn't return any rows @@ -180,7 +180,7 @@ $success = $connection->execute( ``` -public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the number of affected rows by the latest INSERT/UPDATE/DELETE executed in the database system @@ -195,11 +195,11 @@ echo $connection->affectedRows(), " were deleted"; ``` -public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Closes the active connection returning success. Phalcon automatically closes and destroys active connections when the request ends -public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Escapes a value to avoid SQL injections according to the active charset in the connection @@ -210,7 +210,7 @@ $escapedStr = $connection->escapeString("some dangerous value"); ``` -public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Converts bound parameters such as :name: or ?1 into PDO bind params ? @@ -228,7 +228,7 @@ print_r( ``` -public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the insert id for the auto_increment/serial column inserted in the latest executed SQL statement @@ -253,23 +253,23 @@ $id = $connection->lastInsertId(); ``` -public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Starts a transaction in the connection -public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Rollbacks the active transaction in the connection -public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Commits the active transaction in the connection -public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the current transaction nesting level -public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Checks whether the connection is under a transaction @@ -285,43 +285,43 @@ var_dump( ``` -public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return internal PDO handler -public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return the error info, if any -public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Name of the dialect used -public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Type of database system the adapter is used for -public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL bound parameter variables -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the event manager -public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the internal event manager -public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the dialect used to produce the SQL -public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns internal dialect instance -public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the first row in a SQL query result @@ -338,7 +338,7 @@ print_r($robot); ``` -public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Dumps the complete result of a query into an array @@ -369,7 +369,7 @@ foreach($robots as $robot) { ``` -public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the n'th field of first row in a SQL query result @@ -389,7 +389,7 @@ print_r($robot); ``` -public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RDBMS SQL syntax @@ -408,7 +408,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RBDM SQL syntax @@ -429,7 +429,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax @@ -466,7 +466,7 @@ $success = $connection->update( Warning! If $whereCondition is string it not escaped. -public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax Another, more convenient syntax @@ -487,7 +487,7 @@ UPDATE `robots` SET `name` = "Astro boy" WHERE id = 101 ``` -public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Deletes data from a table using custom RBDM SQL syntax @@ -505,7 +505,7 @@ DELETE FROM `robots` WHERE `id` = 101 ``` -public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Escapes a column/table/schema name @@ -525,11 +525,11 @@ $escapedTable = $connection->escapeIdentifier( ``` -public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets a list of columns -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Appends a LIMIT clause to $sqlQuery argument @@ -540,7 +540,7 @@ echo $connection->limit("SELECT * FROM robots", 5); ``` -public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.table @@ -553,7 +553,7 @@ var_dump( ``` -public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.view @@ -566,71 +566,71 @@ var_dump( ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a FOR UPDATE clause -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a LOCK IN SHARE MODE clause -public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a table -public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table from a schema/database -public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a view -public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a view -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Modifies a table column based on a definition -public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds an index to a table -public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drop an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a primary key to a table -public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table's primary key -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a foreign key to a table -public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a foreign key from a table -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the SQL column definition from a column -public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all tables on a database @@ -643,7 +643,7 @@ print_r( ``` -public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all views on a database @@ -656,7 +656,7 @@ print_r( ``` -public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets creation options from a table @@ -669,31 +669,31 @@ print_r( ``` -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Releases given savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Rollbacks given savepoint -public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Set if nested transactions should use savepoints -public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns if nested transactions should use savepoints -public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the savepoint name to use for nested transactions -public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default identity value to be inserted in an identity column @@ -717,26 +717,26 @@ $success = $connection->insert( ``` -public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Check whether the database system requires a sequence to produce auto-numeric values -public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Return descriptor used to connect to the active database -public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets the active connection unique identifier -public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object -public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object without replace bound parameters -public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object \ No newline at end of file diff --git a/pl/api/Phalcon_Db_Column.md b/pl/api/Phalcon_Db_Column.md index ab2fdfb7a40e..fe0210a2b411 100644 --- a/pl/api/Phalcon_Db_Column.md +++ b/pl/api/Phalcon_Db_Column.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Db\\Column** -*implements* [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) +*implements* [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) Source on GitHub diff --git a/pl/api/Phalcon_Db_Dialect.md b/pl/api/Phalcon_Db_Dialect.md index 11c52ea58df4..df25f0af03ab 100644 --- a/pl/api/Phalcon_Db_Dialect.md +++ b/pl/api/Phalcon_Db_Dialect.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Db\\Dialect** -*implements* [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +*implements* [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) Source on GitHub @@ -199,86 +199,86 @@ protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $es Prepares qualified for this RDBMS -abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropTable** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropTable** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **describeIndexes** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **describeIndexes** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **tableOptions** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **tableOptions** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... \ No newline at end of file diff --git a/pl/api/Phalcon_Db_DialectInterface.md b/pl/api/Phalcon_Db_DialectInterface.md index 0bf993854d79..90ee58afb9e1 100644 --- a/pl/api/Phalcon_Db_DialectInterface.md +++ b/pl/api/Phalcon_Db_DialectInterface.md @@ -24,15 +24,15 @@ abstract public **getColumnList** (*array* $columnList) ... -abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) ... -abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) ... -abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) ... @@ -40,7 +40,7 @@ abstract public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* ... -abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) ... @@ -48,7 +48,7 @@ abstract public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* ... -abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) ... @@ -56,7 +56,7 @@ abstract public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) ... -abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) ... diff --git a/pl/api/Phalcon_Db_Dialect_Mysql.md b/pl/api/Phalcon_Db_Dialect_Mysql.md index 6178388fc739..d1a80102e14c 100644 --- a/pl/api/Phalcon_Db_Dialect_Mysql.md +++ b/pl/api/Phalcon_Db_Dialect_Mysql.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Dialect\\Mysql** -*extends* abstract class [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +*extends* abstract class [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) -*implements* [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +*implements* [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) Source on GitHub @@ -10,15 +10,15 @@ Generates database specific SQL for the MySQL RDBMS ## Methods -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Gets the column name in MySQL -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Generates SQL to add a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) Generates SQL to modify a column in a table @@ -26,7 +26,7 @@ public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnN Generates SQL to delete a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add an index to a table @@ -34,7 +34,7 @@ public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexNam Generates SQL to delete an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add the primary key to a table @@ -42,7 +42,7 @@ public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) Generates SQL to delete primary key from a table -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) Generates SQL to add an index to a table @@ -133,23 +133,23 @@ protected **_getTableOptions** (*array* $definition) Generates SQL to add the table creation options -public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Registers custom SQL functions -public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns registered functions -final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape Schema -final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape identifiers -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generates the SQL for LIMIT clause @@ -164,7 +164,7 @@ echo $sql; // SELECT * FROM robots LIMIT 10 OFFSET 50 ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a FOR UPDATE clause @@ -176,7 +176,7 @@ echo $sql; // SELECT * FROM robots FOR UPDATE ``` -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a LOCK IN SHARE MODE clause @@ -188,7 +188,7 @@ echo $sql; // SELECT * FROM robots LOCK IN SHARE MODE ``` -final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Gets a list of columns with escaped identifiers @@ -204,122 +204,122 @@ echo $dialect->getColumnList( ``` -final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transforms an intermediate representation for an expression into a database system valid expression -final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transform an intermediate representation of a schema/table into a database system valid expression -public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Builds a SELECT statement -public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports savepoints -public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports releasing savepoints. -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to create a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to release a savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to rollback a savepoint -final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve object expressions -final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve qualified expressions -final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve binary operations expressions -final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve unary operations expressions -final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve function calls -final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Lists -final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve * -final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CAST of values -final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CONVERT of values encodings -final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CASE expressions -final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a FROM clause -final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a JOINs clause -final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a WHERE clause -final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a GROUP BY clause -final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a HAVING clause -final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve an ORDER BY clause -final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a LIMIT clause -protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares column for this RDBMS -protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares table for this RDBMS -protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares qualified for this RDBMS \ No newline at end of file diff --git a/pl/api/Phalcon_Db_Dialect_Postgresql.md b/pl/api/Phalcon_Db_Dialect_Postgresql.md index 01fe5982984c..f10d03525235 100644 --- a/pl/api/Phalcon_Db_Dialect_Postgresql.md +++ b/pl/api/Phalcon_Db_Dialect_Postgresql.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Dialect\\Postgresql** -*extends* abstract class [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +*extends* abstract class [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) -*implements* [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +*implements* [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) Source on GitHub @@ -10,15 +10,15 @@ Generates database specific SQL for the PostgreSQL RDBMS ## Methods -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Gets the column name in PostgreSQL -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Generates SQL to add a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) Generates SQL to modify a column in a table @@ -26,7 +26,7 @@ public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnN Generates SQL to delete a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add an index to a table @@ -34,7 +34,7 @@ public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexNam Generates SQL to delete an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add the primary key to a table @@ -42,7 +42,7 @@ public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) Generates SQL to delete primary key from a table -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) Generates SQL to add an index to a table @@ -129,7 +129,7 @@ public **tableOptions** (*mixed* $table, [*mixed* $schema]) Generates the SQL to describe the table creation options -protected **_castDefault** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +protected **_castDefault** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) ... @@ -137,23 +137,23 @@ protected **_getTableOptions** (*array* $definition) ... -public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Registers custom SQL functions -public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns registered functions -final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape Schema -final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape identifiers -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generates the SQL for LIMIT clause @@ -168,7 +168,7 @@ echo $sql; // SELECT * FROM robots LIMIT 10 OFFSET 50 ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a FOR UPDATE clause @@ -180,7 +180,7 @@ echo $sql; // SELECT * FROM robots FOR UPDATE ``` -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a LOCK IN SHARE MODE clause @@ -192,7 +192,7 @@ echo $sql; // SELECT * FROM robots LOCK IN SHARE MODE ``` -final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Gets a list of columns with escaped identifiers @@ -208,122 +208,122 @@ echo $dialect->getColumnList( ``` -final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transforms an intermediate representation for an expression into a database system valid expression -final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transform an intermediate representation of a schema/table into a database system valid expression -public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Builds a SELECT statement -public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports savepoints -public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports releasing savepoints. -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to create a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to release a savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to rollback a savepoint -final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve object expressions -final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve qualified expressions -final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve binary operations expressions -final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve unary operations expressions -final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve function calls -final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Lists -final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve * -final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CAST of values -final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CONVERT of values encodings -final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CASE expressions -final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a FROM clause -final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a JOINs clause -final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a WHERE clause -final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a GROUP BY clause -final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a HAVING clause -final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve an ORDER BY clause -final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a LIMIT clause -protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares column for this RDBMS -protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares table for this RDBMS -protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares qualified for this RDBMS \ No newline at end of file diff --git a/pl/api/Phalcon_Db_Dialect_Sqlite.md b/pl/api/Phalcon_Db_Dialect_Sqlite.md index 7b38162151a0..dabec6d39e49 100644 --- a/pl/api/Phalcon_Db_Dialect_Sqlite.md +++ b/pl/api/Phalcon_Db_Dialect_Sqlite.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Dialect\\Sqlite** -*extends* abstract class [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +*extends* abstract class [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) -*implements* [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +*implements* [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) Source on GitHub @@ -10,15 +10,15 @@ Generates database specific SQL for the Sqlite RDBMS ## Methods -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Gets the column name in SQLite -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Generates SQL to add a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) Generates SQL to modify a column in a table @@ -26,7 +26,7 @@ public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnN Generates SQL to delete a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add an index to a table @@ -34,7 +34,7 @@ public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexNam Generates SQL to delete an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add the primary key to a table @@ -42,7 +42,7 @@ public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) Generates SQL to delete primary key from a table -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) Generates SQL to add an index to a table @@ -146,23 +146,23 @@ public **tableOptions** (*mixed* $table, [*mixed* $schema]) Generates the SQL to describe the table creation options -public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Registers custom SQL functions -public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns registered functions -final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape Schema -final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape identifiers -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generates the SQL for LIMIT clause @@ -177,7 +177,7 @@ echo $sql; // SELECT * FROM robots LIMIT 10 OFFSET 50 ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a FOR UPDATE clause @@ -189,7 +189,7 @@ echo $sql; // SELECT * FROM robots FOR UPDATE ``` -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a LOCK IN SHARE MODE clause @@ -201,7 +201,7 @@ echo $sql; // SELECT * FROM robots LOCK IN SHARE MODE ``` -final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Gets a list of columns with escaped identifiers @@ -217,122 +217,122 @@ echo $dialect->getColumnList( ``` -final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transforms an intermediate representation for an expression into a database system valid expression -final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transform an intermediate representation of a schema/table into a database system valid expression -public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Builds a SELECT statement -public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports savepoints -public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports releasing savepoints. -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to create a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to release a savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to rollback a savepoint -final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve object expressions -final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve qualified expressions -final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve binary operations expressions -final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve unary operations expressions -final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve function calls -final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Lists -final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve * -final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CAST of values -final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CONVERT of values encodings -final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CASE expressions -final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a FROM clause -final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a JOINs clause -final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a WHERE clause -final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a GROUP BY clause -final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a HAVING clause -final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve an ORDER BY clause -final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a LIMIT clause -protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares column for this RDBMS -protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares table for this RDBMS -protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares qualified for this RDBMS \ No newline at end of file diff --git a/pl/api/Phalcon_Db_Exception.md b/pl/api/Phalcon_Db_Exception.md index 839c2d00fbf8..00160179b065 100644 --- a/pl/api/Phalcon_Db_Exception.md +++ b/pl/api/Phalcon_Db_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Db\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/pl/api/Phalcon_Db_Index.md b/pl/api/Phalcon_Db_Index.md index 60a5b41f764f..9ca94ad0e146 100644 --- a/pl/api/Phalcon_Db_Index.md +++ b/pl/api/Phalcon_Db_Index.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Db\\Index** -*implements* [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) +*implements* [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) Source on GitHub diff --git a/pl/api/Phalcon_Db_Profiler.md b/pl/api/Phalcon_Db_Profiler.md index 05a913cb9c2c..1d6dde6d6e69 100644 --- a/pl/api/Phalcon_Db_Profiler.md +++ b/pl/api/Phalcon_Db_Profiler.md @@ -31,7 +31,7 @@ echo "Total Elapsed Time: ", $profile->getTotalElapsedSeconds(), "\n"; ## Methods -public [Phalcon\Db\Profiler](/en/3.1.2/api/Phalcon_Db_Profiler) **startProfile** (*string* $sqlStatement, [*mixed* $sqlVariables], [*mixed* $sqlBindTypes]) +public [Phalcon\Db\Profiler](/en/3.2/api/Phalcon_Db_Profiler) **startProfile** (*string* $sqlStatement, [*mixed* $sqlVariables], [*mixed* $sqlBindTypes]) Starts the profile of a SQL sentence diff --git a/pl/api/Phalcon_Db_Reference.md b/pl/api/Phalcon_Db_Reference.md index 30ac1a686521..2e83e14de226 100644 --- a/pl/api/Phalcon_Db_Reference.md +++ b/pl/api/Phalcon_Db_Reference.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Db\\Reference** -*implements* [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) +*implements* [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) Source on GitHub diff --git a/pl/api/Phalcon_Db_Result_Pdo.md b/pl/api/Phalcon_Db_Result_Pdo.md index 2e053d67ae6f..91808dece71f 100644 --- a/pl/api/Phalcon_Db_Result_Pdo.md +++ b/pl/api/Phalcon_Db_Result_Pdo.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Db\\Result\\Pdo** -*implements* [Phalcon\Db\ResultInterface](/en/3.1.2/api/Phalcon_Db_ResultInterface) +*implements* [Phalcon\Db\ResultInterface](/en/3.2/api/Phalcon_Db_ResultInterface) Source on GitHub @@ -23,7 +23,7 @@ while ($robot = $result->fetchArray()) { ## Methods -public **__construct** ([Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) $connection, [PDOStatement](http://php.net/manual/en/class.pdostatement.php) $result, [*string* $sqlStatement], [*array* $bindParams], [*array* $bindTypes]) +public **__construct** ([Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) $connection, [PDOStatement](http://php.net/manual/en/class.pdostatement.php) $result, [*string* $sqlStatement], [*array* $bindParams], [*array* $bindTypes]) Phalcon\\Db\\Result\\Pdo constructor diff --git a/pt/api/Phalcon_Acl_Adapter.md b/pt/api/Phalcon_Acl_Adapter.md index 9f86a2a2a142..1696a50b6e15 100644 --- a/pt/api/Phalcon_Acl_Adapter.md +++ b/pt/api/Phalcon_Acl_Adapter.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Acl\\Adapter** -*implements* [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -20,7 +20,7 @@ public **getActiveAccess** () Active access which the list is checking if some role can access it -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) Sets the events manager @@ -36,58 +36,58 @@ public **getDefaultAction** () Returns the default ACL access level -abstract public **setNoArgumentsDefaultAction** (*mixed* $defaultAccess) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **setNoArgumentsDefaultAction** (*mixed* $defaultAccess) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **getNoArgumentsDefaultAction** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **getNoArgumentsDefaultAction** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **addRole** (*mixed* $role, [*mixed* $accessInherits]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **addRole** (*mixed* $role, [*mixed* $accessInherits]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **addInherit** (*mixed* $roleName, *mixed* $roleToInherit) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **addInherit** (*mixed* $roleName, *mixed* $roleToInherit) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **isRole** (*mixed* $roleName) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **isRole** (*mixed* $roleName) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **isResource** (*mixed* $resourceName) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **isResource** (*mixed* $resourceName) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **addResource** (*mixed* $resourceObject, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **addResource** (*mixed* $resourceObject, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **addResourceAccess** (*mixed* $resourceName, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **addResourceAccess** (*mixed* $resourceName, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **dropResourceAccess** (*mixed* $resourceName, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **dropResourceAccess** (*mixed* $resourceName, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **allow** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*mixed* $func]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **allow** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*mixed* $func]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **deny** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*mixed* $func]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **deny** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*mixed* $func]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **isAllowed** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*array* $parameters]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **isAllowed** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*array* $parameters]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **getRoles** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **getRoles** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **getResources** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **getResources** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... \ No newline at end of file diff --git a/pt/api/Phalcon_Acl_Adapter_Memory.md b/pt/api/Phalcon_Acl_Adapter_Memory.md index e9ea95ccda45..889751c95b98 100644 --- a/pt/api/Phalcon_Acl_Adapter_Memory.md +++ b/pt/api/Phalcon_Acl_Adapter_Memory.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Acl\\Adapter\\Memory** -*extends* abstract class [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +*extends* abstract class [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) -*implements* [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +*implements* [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) Source on GitHub @@ -105,7 +105,7 @@ public **isResource** (*mixed* $resourceName) Check whether resource exist in the resources list -public **addResource** ([Phalcon\Acl\Resource](/en/3.1.2/api/Phalcon_Acl_Resource) | *string* $resourceValue, *array* | *string* $accessList) +public **addResource** ([Phalcon\Acl\Resource](/en/3.2/api/Phalcon_Acl_Resource) | *string* $resourceValue, *array* | *string* $accessList) Adds a resource to the ACL list Access names can be a particular action, by example search, update, delete, etc or a list of them Example: @@ -224,30 +224,30 @@ public **getResources** () Return an array with every resource registered in the list -public **getActiveRole** () inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **getActiveRole** () inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Role which the list is checking if it's allowed to certain resource/access -public **getActiveResource** () inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **getActiveResource** () inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Resource which the list is checking if some role can access it -public **getActiveAccess** () inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **getActiveAccess** () inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Active access which the list is checking if some role can access it -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Sets the events manager -public **getEventsManager** () inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **getEventsManager** () inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Returns the internal event manager -public **setDefaultAction** (*mixed* $defaultAccess) inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **setDefaultAction** (*mixed* $defaultAccess) inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Sets the default access level (Phalcon\\Acl::ALLOW or Phalcon\\Acl::DENY) -public **getDefaultAction** () inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **getDefaultAction** () inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Returns the default ACL access level \ No newline at end of file diff --git a/pt/api/Phalcon_Acl_Exception.md b/pt/api/Phalcon_Acl_Exception.md index 153094579c30..9c1b44ab7b5d 100644 --- a/pt/api/Phalcon_Acl_Exception.md +++ b/pt/api/Phalcon_Acl_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Acl\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/pt/api/Phalcon_Acl_Resource.md b/pt/api/Phalcon_Acl_Resource.md index 1663e1ad2e93..25ac2d3e792b 100644 --- a/pt/api/Phalcon_Acl_Resource.md +++ b/pt/api/Phalcon_Acl_Resource.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Acl\\Resource** -*implements* [Phalcon\Acl\ResourceInterface](/en/3.1.2/api/Phalcon_Acl_ResourceInterface) +*implements* [Phalcon\Acl\ResourceInterface](/en/3.2/api/Phalcon_Acl_ResourceInterface) Source on GitHub diff --git a/pt/api/Phalcon_Acl_Role.md b/pt/api/Phalcon_Acl_Role.md index e105183dd7f4..c8252648d6c8 100644 --- a/pt/api/Phalcon_Acl_Role.md +++ b/pt/api/Phalcon_Acl_Role.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Acl\\Role** -*implements* [Phalcon\Acl\RoleInterface](/en/3.1.2/api/Phalcon_Acl_RoleInterface) +*implements* [Phalcon\Acl\RoleInterface](/en/3.2/api/Phalcon_Acl_RoleInterface) Source on GitHub diff --git a/pt/api/Phalcon_Annotations_Adapter.md b/pt/api/Phalcon_Annotations_Adapter.md index 7a2b31fc4dc1..d42ac348bbc9 100644 --- a/pt/api/Phalcon_Annotations_Adapter.md +++ b/pt/api/Phalcon_Annotations_Adapter.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Annotations\\Adapter** -*implements* [Phalcon\Annotations\AdapterInterface](/en/3.1.2/api/Phalcon_Annotations_AdapterInterface) +*implements* [Phalcon\Annotations\AdapterInterface](/en/3.2/api/Phalcon_Annotations_AdapterInterface) Source on GitHub @@ -8,7 +8,7 @@ This is the base class for Phalcon\\Annotations adapters ## Methods -public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) +public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) Sets the annotations parser diff --git a/pt/api/Phalcon_Annotations_AdapterInterface.md b/pt/api/Phalcon_Annotations_AdapterInterface.md index a4e2c689503a..a1ff65cb01a1 100644 --- a/pt/api/Phalcon_Annotations_AdapterInterface.md +++ b/pt/api/Phalcon_Annotations_AdapterInterface.md @@ -4,7 +4,7 @@ ## Methods -abstract public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) +abstract public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) ... diff --git a/pt/api/Phalcon_Annotations_Adapter_Apc.md b/pt/api/Phalcon_Annotations_Adapter_Apc.md index 1b8a1d6d0d7d..467622a88425 100644 --- a/pt/api/Phalcon_Annotations_Adapter_Apc.md +++ b/pt/api/Phalcon_Annotations_Adapter_Apc.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Annotations\\Adapter\\Apc** -*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) -*implements* [Phalcon\Annotations\AdapterInterface](/en/3.1.2/api/Phalcon_Annotations_AdapterInterface) +*implements* [Phalcon\Annotations\AdapterInterface](/en/3.2/api/Phalcon_Annotations_AdapterInterface) Source on GitHub @@ -27,34 +27,34 @@ public **read** (*mixed* $key) Reads parsed annotations from APC -public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) $data) +public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) $data) Writes parsed annotations to APC -public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Sets the annotations parser -public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotation reader -public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Parses or retrieves all the annotations found in a class -public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific method -public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific property \ No newline at end of file diff --git a/pt/api/Phalcon_Annotations_Adapter_Files.md b/pt/api/Phalcon_Annotations_Adapter_Files.md index fcb4c23e6c2e..e4c407e5954e 100644 --- a/pt/api/Phalcon_Annotations_Adapter_Files.md +++ b/pt/api/Phalcon_Annotations_Adapter_Files.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Annotations\\Adapter\\Files** -*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) -*implements* [Phalcon\Annotations\AdapterInterface](/en/3.1.2/api/Phalcon_Annotations_AdapterInterface) +*implements* [Phalcon\Annotations\AdapterInterface](/en/3.2/api/Phalcon_Annotations_AdapterInterface) Source on GitHub @@ -27,38 +27,38 @@ public **__construct** ([*array* $options]) Phalcon\\Annotations\\Adapter\\Files constructor -public [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) **read** (*string* $key) +public [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) **read** (*string* $key) Reads parsed annotations from files -public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) $data) +public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) $data) Writes parsed annotations to files -public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Sets the annotations parser -public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotation reader -public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Parses or retrieves all the annotations found in a class -public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific method -public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific property \ No newline at end of file diff --git a/pt/api/Phalcon_Annotations_Adapter_Memory.md b/pt/api/Phalcon_Annotations_Adapter_Memory.md index 53fc2e3769c7..205f20e6b1b8 100644 --- a/pt/api/Phalcon_Annotations_Adapter_Memory.md +++ b/pt/api/Phalcon_Annotations_Adapter_Memory.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Annotations\\Adapter\\Memory** -*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) -*implements* [Phalcon\Annotations\AdapterInterface](/en/3.1.2/api/Phalcon_Annotations_AdapterInterface) +*implements* [Phalcon\Annotations\AdapterInterface](/en/3.2/api/Phalcon_Annotations_AdapterInterface) Source on GitHub @@ -14,34 +14,34 @@ public **read** (*mixed* $key) Reads parsed annotations from memory -public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) $data) +public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) $data) Writes parsed annotations to memory -public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Sets the annotations parser -public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotation reader -public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Parses or retrieves all the annotations found in a class -public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific method -public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific property \ No newline at end of file diff --git a/pt/api/Phalcon_Annotations_Adapter_Xcache.md b/pt/api/Phalcon_Annotations_Adapter_Xcache.md index 79bfa9e6b4d3..37c97e7e6b8c 100644 --- a/pt/api/Phalcon_Annotations_Adapter_Xcache.md +++ b/pt/api/Phalcon_Annotations_Adapter_Xcache.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Annotations\\Adapter\\Xcache** -*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) -*implements* [Phalcon\Annotations\AdapterInterface](/en/3.1.2/api/Phalcon_Annotations_AdapterInterface) +*implements* [Phalcon\Annotations\AdapterInterface](/en/3.2/api/Phalcon_Annotations_AdapterInterface) Source on GitHub @@ -17,38 +17,38 @@ $annotations = new \Phalcon\Annotations\Adapter\Xcache(); ## Methods -public [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) **read** (*string* $key) +public [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) **read** (*string* $key) Reads parsed annotations from XCache -public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) $data) +public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) $data) Writes parsed annotations to XCache -public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Sets the annotations parser -public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotation reader -public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Parses or retrieves all the annotations found in a class -public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific method -public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific property \ No newline at end of file diff --git a/pt/api/Phalcon_Annotations_Collection.md b/pt/api/Phalcon_Annotations_Collection.md index 8176520b43ea..ba33511a50fe 100644 --- a/pt/api/Phalcon_Annotations_Collection.md +++ b/pt/api/Phalcon_Annotations_Collection.md @@ -36,7 +36,7 @@ public **rewind** () Rewinds the internal iterator -public [Phalcon\Annotations\Annotation](/en/3.1.2/api/Phalcon_Annotations_Annotation) **current** () +public [Phalcon\Annotations\Annotation](/en/3.2/api/Phalcon_Annotations_Annotation) **current** () Returns the current annotation in the iterator diff --git a/pt/api/Phalcon_Annotations_Reader.md b/pt/api/Phalcon_Annotations_Reader.md index 56ca9b058cd1..4e8e513ffea9 100644 --- a/pt/api/Phalcon_Annotations_Reader.md +++ b/pt/api/Phalcon_Annotations_Reader.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Annotations\\Reader** -*implements* [Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) +*implements* [Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) Source on GitHub diff --git a/pt/api/Phalcon_Application.md b/pt/api/Phalcon_Application.md index e7e767824af2..5ff2b07edaf4 100644 --- a/pt/api/Phalcon_Application.md +++ b/pt/api/Phalcon_Application.md @@ -1,8 +1,8 @@ # Abstract class **Phalcon\\Application** -*extends* abstract class [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +*extends* abstract class [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) -*implements* [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface) +*implements* [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface) Source on GitHub @@ -10,9 +10,9 @@ Base class for Phalcon\\Cli\\Console and Phalcon\\Mvc\\Application. ## Methods -public **__construct** ([[Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector]) +public **__construct** ([[Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector]) -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) Sets the events manager @@ -62,14 +62,14 @@ abstract public **handle** () Handles a request -public **setDI** ([Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **setDI** ([Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Sets the dependency injector -public **getDI** () inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **getDI** () inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Returns the internal dependency injector -public **__get** (*mixed* $propertyName) inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **__get** (*mixed* $propertyName) inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Magic method __get \ No newline at end of file diff --git a/pt/api/Phalcon_Application_Exception.md b/pt/api/Phalcon_Application_Exception.md index ade9f4d1b49e..49637aa88e5e 100644 --- a/pt/api/Phalcon_Application_Exception.md +++ b/pt/api/Phalcon_Application_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Application\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/pt/api/Phalcon_Assets_Collection.md b/pt/api/Phalcon_Assets_Collection.md index 9c3e06cdb077..f6f18d5a1d60 100644 --- a/pt/api/Phalcon_Assets_Collection.md +++ b/pt/api/Phalcon_Assets_Collection.md @@ -56,14 +56,35 @@ public **getSourcePath** () ... -public **add** ([Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) $resource) +public **__construct** () + +Phalcon\\Assets\\Collection constructor + +public **add** ([Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) $resource) Adds a resource to the collection -public **addInline** ([Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) $code) +public **addInline** ([Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) $code) Adds an inline code to the collection +public **has** ([Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) $resource) + +Checks this the resource is added to the collection. + +```php +has($resource); // true + +``` + public **addCss** (*mixed* $path, [*mixed* $local], [*mixed* $filter], [*mixed* $attributes]) Adds a CSS resource to the collection @@ -72,7 +93,7 @@ public **addInlineCss** (*mixed* $content, [*mixed* $filter], [*mixed* $attribut Adds an inline CSS to the collection -public [Phalcon\Assets\Collection](/en/3.1.2/api/Phalcon_Assets_Collection) **addJs** (*string* $path, [*boolean* $local], [*boolean* $filter], [*array* $attributes]) +public [Phalcon\Assets\Collection](/en/3.2/api/Phalcon_Assets_Collection) **addJs** (*string* $path, [*boolean* $local], [*boolean* $filter], [*array* $attributes]) Adds a javascript resource to the collection @@ -144,6 +165,10 @@ public **getRealTargetPath** (*mixed* $basePath) Returns the complete location where the joined/filtered collection must be written -public **addFilter** ([Phalcon\Assets\FilterInterface](/en/3.1.2/api/Phalcon_Assets_FilterInterface) $filter) +public **addFilter** ([Phalcon\Assets\FilterInterface](/en/3.2/api/Phalcon_Assets_FilterInterface) $filter) + +Adds a filter to the collection + +final protected **addResource** ([Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) $resource) -Adds a filter to the collection \ No newline at end of file +Adds a resource or inline-code to the collection \ No newline at end of file diff --git a/pt/api/Phalcon_Assets_Exception.md b/pt/api/Phalcon_Assets_Exception.md index bf3c9a57c01a..4c8c0516fd94 100644 --- a/pt/api/Phalcon_Assets_Exception.md +++ b/pt/api/Phalcon_Assets_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Assets\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/pt/api/Phalcon_Assets_Filters_Cssmin.md b/pt/api/Phalcon_Assets_Filters_Cssmin.md index 75e2781f79a0..a807a59e4880 100644 --- a/pt/api/Phalcon_Assets_Filters_Cssmin.md +++ b/pt/api/Phalcon_Assets_Filters_Cssmin.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Assets\\Filters\\Cssmin** -*implements* [Phalcon\Assets\FilterInterface](/en/3.1.2/api/Phalcon_Assets_FilterInterface) +*implements* [Phalcon\Assets\FilterInterface](/en/3.2/api/Phalcon_Assets_FilterInterface) Source on GitHub diff --git a/pt/api/Phalcon_Assets_Filters_Jsmin.md b/pt/api/Phalcon_Assets_Filters_Jsmin.md index 2ee9aa7f5390..2bfe2b4851a4 100644 --- a/pt/api/Phalcon_Assets_Filters_Jsmin.md +++ b/pt/api/Phalcon_Assets_Filters_Jsmin.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Assets\\Filters\\Jsmin** -*implements* [Phalcon\Assets\FilterInterface](/en/3.1.2/api/Phalcon_Assets_FilterInterface) +*implements* [Phalcon\Assets\FilterInterface](/en/3.2/api/Phalcon_Assets_FilterInterface) Source on GitHub diff --git a/pt/api/Phalcon_Assets_Filters_None.md b/pt/api/Phalcon_Assets_Filters_None.md index 93c79dd941f6..60e59aac09de 100644 --- a/pt/api/Phalcon_Assets_Filters_None.md +++ b/pt/api/Phalcon_Assets_Filters_None.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Assets\\Filters\\None** -*implements* [Phalcon\Assets\FilterInterface](/en/3.1.2/api/Phalcon_Assets_FilterInterface) +*implements* [Phalcon\Assets\FilterInterface](/en/3.2/api/Phalcon_Assets_FilterInterface) Source on GitHub diff --git a/pt/api/Phalcon_Assets_Inline.md b/pt/api/Phalcon_Assets_Inline.md index 05a1f622aa48..e5c3ef631536 100644 --- a/pt/api/Phalcon_Assets_Inline.md +++ b/pt/api/Phalcon_Assets_Inline.md @@ -1,5 +1,7 @@ # Class **Phalcon\\Assets\\Inline** +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) + Source on GitHub Represents an inline asset @@ -43,4 +45,8 @@ Sets if the resource must be filtered or not public **setAttributes** (*array* $attributes) -Sets extra HTML attributes \ No newline at end of file +Sets extra HTML attributes + +public **getResourceKey** () + +Gets the resource's key. \ No newline at end of file diff --git a/pt/api/Phalcon_Assets_Inline_Css.md b/pt/api/Phalcon_Assets_Inline_Css.md index c4d7a9d0e919..aad74b78beca 100644 --- a/pt/api/Phalcon_Assets_Inline_Css.md +++ b/pt/api/Phalcon_Assets_Inline_Css.md @@ -1,6 +1,8 @@ # Class **Phalcon\\Assets\\Inline\\Css** -*extends* class [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +*extends* class [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) + +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) Source on GitHub @@ -10,30 +12,34 @@ Represents an inlined CSS public **__construct** (*string* $content, [*boolean* $filter], [*array* $attributes]) -public **getType** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getType** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getContent** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getContent** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getFilter** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getFilter** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getAttributes** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getAttributes** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) Sets the inline's type -public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) Sets if the resource must be filtered or not -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) + +Sets extra HTML attributes + +public **getResourceKey** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) -Sets extra HTML attributes \ No newline at end of file +Gets the resource's key. \ No newline at end of file diff --git a/pt/api/Phalcon_Assets_Inline_Js.md b/pt/api/Phalcon_Assets_Inline_Js.md index 27d57246d817..1cce336b4116 100644 --- a/pt/api/Phalcon_Assets_Inline_Js.md +++ b/pt/api/Phalcon_Assets_Inline_Js.md @@ -1,6 +1,8 @@ # Class **Phalcon\\Assets\\Inline\\Js** -*extends* class [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +*extends* class [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) + +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) Source on GitHub @@ -10,30 +12,34 @@ Represents an inline Javascript public **__construct** (*string* $content, [*boolean* $filter], [*array* $attributes]) -public **getType** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getType** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getContent** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getContent** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getFilter** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getFilter** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getAttributes** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getAttributes** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) Sets the inline's type -public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) Sets if the resource must be filtered or not -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) + +Sets extra HTML attributes + +public **getResourceKey** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) -Sets extra HTML attributes \ No newline at end of file +Gets the resource's key. \ No newline at end of file diff --git a/pt/api/Phalcon_Assets_Manager.md b/pt/api/Phalcon_Assets_Manager.md index 55ab07f19201..13ecabf4ff9c 100644 --- a/pt/api/Phalcon_Assets_Manager.md +++ b/pt/api/Phalcon_Assets_Manager.md @@ -52,7 +52,7 @@ public **addInlineJs** (*mixed* $content, [*mixed* $filter], [*mixed* $attribute Adds an inline javascript to the 'js' collection -public **addResourceByType** (*mixed* $type, [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) $resource) +public **addResourceByType** (*mixed* $type, [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) $resource) Adds a resource by its type @@ -65,11 +65,11 @@ $assets->addResourceByType("css", ``` -public **addInlineCodeByType** (*mixed* $type, [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) $code) +public **addInlineCodeByType** (*mixed* $type, [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) $code) Adds an inline code by its type -public **addResource** ([Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) $resource) +public **addResource** ([Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) $resource) Adds a raw resource to the manager @@ -82,11 +82,11 @@ $assets->addResource( ``` -public **addInlineCode** ([Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) $code) +public **addInlineCode** ([Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) $code) Adds a raw inline code to the manager -public **set** (*mixed* $id, [Phalcon\Assets\Collection](/en/3.1.2/api/Phalcon_Assets_Collection) $collection) +public **set** (*mixed* $id, [Phalcon\Assets\Collection](/en/3.2/api/Phalcon_Assets_Collection) $collection) Sets a collection in the Assets Manager @@ -99,7 +99,7 @@ $assets->set("js", $collection); public **get** (*mixed* $id) -Returns a collection by its id +Returns a collection by its id. ```php exists("jsHeader")) { + // \Phalcon\Assets\Collection + $collection = $assets->get("jsHeader"); +} + +``` \ No newline at end of file diff --git a/pt/api/Phalcon_Assets_Resource.md b/pt/api/Phalcon_Assets_Resource.md index 9718061c348e..d67dc71b7929 100644 --- a/pt/api/Phalcon_Assets_Resource.md +++ b/pt/api/Phalcon_Assets_Resource.md @@ -1,5 +1,7 @@ # Class **Phalcon\\Assets\\Resource** +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) + Source on GitHub Represents an asset resource @@ -85,4 +87,8 @@ Returns the complete location where the resource is located public **getRealTargetPath** ([*mixed* $basePath]) -Returns the complete location where the resource must be written \ No newline at end of file +Returns the complete location where the resource must be written + +public **getResourceKey** () + +Gets the resource's key. \ No newline at end of file diff --git a/pt/api/Phalcon_Assets_Resource_Css.md b/pt/api/Phalcon_Assets_Resource_Css.md index 9376a4de5f6d..11c938e391ca 100644 --- a/pt/api/Phalcon_Assets_Resource_Css.md +++ b/pt/api/Phalcon_Assets_Resource_Css.md @@ -1,6 +1,8 @@ # Class **Phalcon\\Assets\\Resource\\Css** -*extends* class [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +*extends* class [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) + +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) Source on GitHub @@ -10,72 +12,76 @@ Represents CSS resources public **__construct** (*string* $path, [*boolean* $local], [*boolean* $filter], [*array* $attributes]) -public **getType** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getType** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getPath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getPath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getLocal** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getLocal** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getFilter** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getFilter** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getAttributes** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getAttributes** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getSourcePath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getSourcePath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **getTargetPath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getTargetPath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **getTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's type -public **setPath** (*mixed* $path) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setPath** (*mixed* $path) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's path -public **setLocal** (*mixed* $local) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setLocal** (*mixed* $local) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets if the resource is local or external -public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets if the resource must be filtered or not -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets extra HTML attributes -public **setTargetUri** (*mixed* $targetUri) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setTargetUri** (*mixed* $targetUri) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets a target uri for the generated HTML -public **setSourcePath** (*mixed* $sourcePath) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setSourcePath** (*mixed* $sourcePath) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's source path -public **setTargetPath** (*mixed* $targetPath) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setTargetPath** (*mixed* $targetPath) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's target path -public **getContent** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getContent** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the content of the resource as an string Optionally a base path where the resource is located can be set -public **getRealTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the real target uri for the generated HTML -public **getRealSourcePath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealSourcePath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the complete location where the resource is located -public **getRealTargetPath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealTargetPath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) + +Returns the complete location where the resource must be written + +public **getResourceKey** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -Returns the complete location where the resource must be written \ No newline at end of file +Gets the resource's key. \ No newline at end of file diff --git a/pt/api/Phalcon_Assets_Resource_Js.md b/pt/api/Phalcon_Assets_Resource_Js.md index a4c132ff1ed1..2acc4d239b9d 100644 --- a/pt/api/Phalcon_Assets_Resource_Js.md +++ b/pt/api/Phalcon_Assets_Resource_Js.md @@ -1,6 +1,8 @@ # Class **Phalcon\\Assets\\Resource\\Js** -*extends* class [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +*extends* class [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) + +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) Source on GitHub @@ -10,72 +12,76 @@ Represents Javascript resources public **__construct** (*string* $path, [*boolean* $local], [*boolean* $filter], [*array* $attributes]) -public **getType** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getType** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getPath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getPath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getLocal** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getLocal** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getFilter** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getFilter** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getAttributes** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getAttributes** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getSourcePath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getSourcePath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **getTargetPath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getTargetPath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **getTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's type -public **setPath** (*mixed* $path) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setPath** (*mixed* $path) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's path -public **setLocal** (*mixed* $local) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setLocal** (*mixed* $local) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets if the resource is local or external -public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets if the resource must be filtered or not -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets extra HTML attributes -public **setTargetUri** (*mixed* $targetUri) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setTargetUri** (*mixed* $targetUri) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets a target uri for the generated HTML -public **setSourcePath** (*mixed* $sourcePath) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setSourcePath** (*mixed* $sourcePath) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's source path -public **setTargetPath** (*mixed* $targetPath) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setTargetPath** (*mixed* $targetPath) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's target path -public **getContent** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getContent** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the content of the resource as an string Optionally a base path where the resource is located can be set -public **getRealTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the real target uri for the generated HTML -public **getRealSourcePath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealSourcePath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the complete location where the resource is located -public **getRealTargetPath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealTargetPath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) + +Returns the complete location where the resource must be written + +public **getResourceKey** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -Returns the complete location where the resource must be written \ No newline at end of file +Gets the resource's key. \ No newline at end of file diff --git a/pt/api/Phalcon_Cache_Backend.md b/pt/api/Phalcon_Cache_Backend.md index f81ba2e57820..6e8b2e14bbff 100644 --- a/pt/api/Phalcon_Cache_Backend.md +++ b/pt/api/Phalcon_Cache_Backend.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Cache\\Backend** -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -32,7 +32,7 @@ public **setLastKey** (*mixed* $lastKey) ... -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend constructor @@ -56,22 +56,22 @@ public *int* **getLifetime** () Gets the last lifetime set -abstract public **get** (*mixed* $keyName, [*mixed* $lifetime]) inherited from [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +abstract public **get** (*mixed* $keyName, [*mixed* $lifetime]) inherited from [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) ... -abstract public **save** ([*mixed* $keyName], [*mixed* $content], [*mixed* $lifetime], [*mixed* $stopBuffer]) inherited from [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +abstract public **save** ([*mixed* $keyName], [*mixed* $content], [*mixed* $lifetime], [*mixed* $stopBuffer]) inherited from [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) ... -abstract public **delete** (*mixed* $keyName) inherited from [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +abstract public **delete** (*mixed* $keyName) inherited from [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) ... -abstract public **queryKeys** ([*mixed* $prefix]) inherited from [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +abstract public **queryKeys** ([*mixed* $prefix]) inherited from [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) ... -abstract public **exists** ([*mixed* $keyName], [*mixed* $lifetime]) inherited from [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +abstract public **exists** ([*mixed* $keyName], [*mixed* $lifetime]) inherited from [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) ... \ No newline at end of file diff --git a/pt/api/Phalcon_Cache_Backend_Apc.md b/pt/api/Phalcon_Cache_Backend_Apc.md index 6f08c1fef4b7..92b01c89d25a 100644 --- a/pt/api/Phalcon_Cache_Backend_Apc.md +++ b/pt/api/Phalcon_Cache_Backend_Apc.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Apc** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -94,50 +94,50 @@ $cache->flush(); ``` -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Phalcon\\Cache\\Backend constructor -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/pt/api/Phalcon_Cache_Backend_File.md b/pt/api/Phalcon_Cache_Backend_File.md index 78c3aff0e84c..3ea73b705889 100644 --- a/pt/api/Phalcon_Cache_Backend_File.md +++ b/pt/api/Phalcon_Cache_Backend_File.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\File** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -44,7 +44,7 @@ if ($content === null) { ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, *array* $options) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, *array* $options) Phalcon\\Cache\\Backend\\File constructor @@ -98,46 +98,46 @@ public **useSafeKey** (*mixed* $useSafeKey) Set whether to use the safekey or not -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/pt/api/Phalcon_Cache_Backend_Libmemcached.md b/pt/api/Phalcon_Cache_Backend_Libmemcached.md index 88948897b300..9ec4b031d82e 100644 --- a/pt/api/Phalcon_Cache_Backend_Libmemcached.md +++ b/pt/api/Phalcon_Cache_Backend_Libmemcached.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Libmemcached** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -49,7 +49,7 @@ $data = $cache->get("my-data"); ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend\\Memcache constructor @@ -116,46 +116,46 @@ $cache->flush(); ``` -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/pt/api/Phalcon_Cache_Backend_Memcache.md b/pt/api/Phalcon_Cache_Backend_Memcache.md index 7310592149b1..6f2575ca5c8d 100644 --- a/pt/api/Phalcon_Cache_Backend_Memcache.md +++ b/pt/api/Phalcon_Cache_Backend_Memcache.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Memcache** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -43,7 +43,7 @@ $data = $cache->get("my-data"); ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend\\Memcache constructor @@ -97,46 +97,46 @@ public **flush** () Immediately invalidates all existing items. -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/pt/api/Phalcon_Cache_Backend_Memory.md b/pt/api/Phalcon_Cache_Backend_Memory.md index 06a4216cf7ac..a269432ab9f3 100644 --- a/pt/api/Phalcon_Cache_Backend_Memory.md +++ b/pt/api/Phalcon_Cache_Backend_Memory.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Memory** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface), [Serializable](http://php.net/manual/en/class.serializable.php) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface), [Serializable](http://php.net/manual/en/class.serializable.php) Source on GitHub @@ -79,50 +79,50 @@ public **unserialize** (*mixed* $data) Required for interface \\Serializable -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Phalcon\\Cache\\Backend constructor -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/pt/api/Phalcon_Cache_Backend_Mongo.md b/pt/api/Phalcon_Cache_Backend_Mongo.md index 9ad0f67b530c..6421cd0f4f29 100644 --- a/pt/api/Phalcon_Cache_Backend_Mongo.md +++ b/pt/api/Phalcon_Cache_Backend_Mongo.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Mongo** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -44,7 +44,7 @@ $data = $cache->get("my-data"); ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend\\Mongo constructor @@ -98,46 +98,46 @@ public **flush** () Immediately invalidates all existing items. -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/pt/api/Phalcon_Cache_Backend_Redis.md b/pt/api/Phalcon_Cache_Backend_Redis.md index 123bf025f2af..a3509251d509 100644 --- a/pt/api/Phalcon_Cache_Backend_Redis.md +++ b/pt/api/Phalcon_Cache_Backend_Redis.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Redis** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -45,7 +45,7 @@ $data = $cache->get("my-data"); ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend\\Redis constructor @@ -105,46 +105,46 @@ public **flush** () Immediately invalidates all existing items. -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/pt/api/Phalcon_Cache_Backend_Xcache.md b/pt/api/Phalcon_Cache_Backend_Xcache.md index b91e75b19c79..7dac8215d5f3 100644 --- a/pt/api/Phalcon_Cache_Backend_Xcache.md +++ b/pt/api/Phalcon_Cache_Backend_Xcache.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Xcache** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -38,7 +38,7 @@ $data = $cache->get("my-data"); ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend\\Xcache constructor @@ -84,46 +84,46 @@ public **flush** () Immediately invalidates all existing items. -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/pt/api/Phalcon_Cache_Exception.md b/pt/api/Phalcon_Cache_Exception.md index cbb05a3a76e4..87f2372e7864 100644 --- a/pt/api/Phalcon_Cache_Exception.md +++ b/pt/api/Phalcon_Cache_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/pt/api/Phalcon_Cache_Frontend_Base64.md b/pt/api/Phalcon_Cache_Frontend_Base64.md index 92f36996b4b7..473895a88aa8 100644 --- a/pt/api/Phalcon_Cache_Frontend_Base64.md +++ b/pt/api/Phalcon_Cache_Frontend_Base64.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Frontend\\Base64** -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/pt/api/Phalcon_Cache_Frontend_Data.md b/pt/api/Phalcon_Cache_Frontend_Data.md index f46469ab7410..1f249be7103c 100644 --- a/pt/api/Phalcon_Cache_Frontend_Data.md +++ b/pt/api/Phalcon_Cache_Frontend_Data.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Frontend\\Data** -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/pt/api/Phalcon_Cache_Frontend_Igbinary.md b/pt/api/Phalcon_Cache_Frontend_Igbinary.md index 1460a42ce867..714a96bb4de1 100644 --- a/pt/api/Phalcon_Cache_Frontend_Igbinary.md +++ b/pt/api/Phalcon_Cache_Frontend_Igbinary.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Frontend\\Igbinary** -*extends* class [Phalcon\Cache\Frontend\Data](/en/3.1.2/api/Phalcon_Cache_Frontend_Data) +*extends* class [Phalcon\Cache\Frontend\Data](/en/3.2/api/Phalcon_Cache_Frontend_Data) -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/pt/api/Phalcon_Cache_Frontend_Json.md b/pt/api/Phalcon_Cache_Frontend_Json.md index 64a296ca976f..bfe39cdc53c4 100644 --- a/pt/api/Phalcon_Cache_Frontend_Json.md +++ b/pt/api/Phalcon_Cache_Frontend_Json.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Frontend\\Json** -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/pt/api/Phalcon_Cache_Frontend_Msgpack.md b/pt/api/Phalcon_Cache_Frontend_Msgpack.md index f77a99a21168..857b40d4bbdc 100644 --- a/pt/api/Phalcon_Cache_Frontend_Msgpack.md +++ b/pt/api/Phalcon_Cache_Frontend_Msgpack.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Frontend\\Msgpack** -*extends* class [Phalcon\Cache\Frontend\Data](/en/3.1.2/api/Phalcon_Cache_Frontend_Data) +*extends* class [Phalcon\Cache\Frontend\Data](/en/3.2/api/Phalcon_Cache_Frontend_Data) -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/pt/api/Phalcon_Cache_Frontend_None.md b/pt/api/Phalcon_Cache_Frontend_None.md index 521fcd02f344..bdc0af2d4135 100644 --- a/pt/api/Phalcon_Cache_Frontend_None.md +++ b/pt/api/Phalcon_Cache_Frontend_None.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Frontend\\None** -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/pt/api/Phalcon_Cache_Frontend_Output.md b/pt/api/Phalcon_Cache_Frontend_Output.md index 8421c02f1276..c6a0543703d6 100644 --- a/pt/api/Phalcon_Cache_Frontend_Output.md +++ b/pt/api/Phalcon_Cache_Frontend_Output.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Frontend\\Output** -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/pt/api/Phalcon_Cache_Multiple.md b/pt/api/Phalcon_Cache_Multiple.md index bbfa61a13274..1d9fd1365aa9 100644 --- a/pt/api/Phalcon_Cache_Multiple.md +++ b/pt/api/Phalcon_Cache_Multiple.md @@ -65,11 +65,11 @@ $cache->save("my-key", $data); ## Methods -public **__construct** ([[Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface[]) $backends]) +public **__construct** ([[Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface[]) $backends]) Phalcon\\Cache\\Multiple constructor -public **push** ([Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) $backend) +public **push** ([Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) $backend) Adds a backend diff --git a/pt/api/Phalcon_Cli_Console.md b/pt/api/Phalcon_Cli_Console.md index c769b7ad7659..f0337bf3f1ec 100644 --- a/pt/api/Phalcon_Cli_Console.md +++ b/pt/api/Phalcon_Cli_Console.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cli\\Console** -*extends* abstract class [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +*extends* abstract class [Phalcon\Application](/en/3.2/api/Phalcon_Application) -*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -36,19 +36,19 @@ public **setArgument** ([*array* $arguments], [*mixed* $str], [*mixed* $shift]) Set an specific argument -public **__construct** ([[Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector]) inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **__construct** ([[Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector]) inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Phalcon\\Application -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Sets the events manager -public **getEventsManager** () inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **getEventsManager** () inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Returns the internal event manager -public **registerModules** (*array* $modules, [*mixed* $merge]) inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **registerModules** (*array* $modules, [*mixed* $merge]) inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Register an array of modules present in the application @@ -70,30 +70,30 @@ $this->registerModules( ``` -public **getModules** () inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **getModules** () inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Return the modules registered in the application -public **getModule** (*mixed* $name) inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **getModule** (*mixed* $name) inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Gets the module definition registered in the application via module name -public **setDefaultModule** (*mixed* $defaultModule) inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **setDefaultModule** (*mixed* $defaultModule) inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Sets the module name to be used if the router doesn't return a valid module -public **getDefaultModule** () inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **getDefaultModule** () inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Returns the default module name -public **setDI** ([Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **setDI** ([Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Sets the dependency injector -public **getDI** () inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **getDI** () inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Returns the internal dependency injector -public **__get** (*mixed* $propertyName) inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **__get** (*mixed* $propertyName) inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Magic method __get \ No newline at end of file diff --git a/pt/api/Phalcon_Cli_Console_Exception.md b/pt/api/Phalcon_Cli_Console_Exception.md index 64a6f1f9162a..e7bfea5dbde1 100644 --- a/pt/api/Phalcon_Cli_Console_Exception.md +++ b/pt/api/Phalcon_Cli_Console_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cli\\Console\\Exception** -*extends* class [Phalcon\Application\Exception](/en/3.1.2/api/Phalcon_Application_Exception) +*extends* class [Phalcon\Application\Exception](/en/3.2/api/Phalcon_Application_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/pt/api/Phalcon_Cli_Dispatcher.md b/pt/api/Phalcon_Cli_Dispatcher.md index 7b91f5c9f537..f03b7c7c61ac 100644 --- a/pt/api/Phalcon_Cli_Dispatcher.md +++ b/pt/api/Phalcon_Cli_Dispatcher.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cli\\Dispatcher** -*extends* abstract class [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +*extends* abstract class [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) -*implements* [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface), [Phalcon\Cli\DispatcherInterface](/en/3.1.2/api/Phalcon_Cli_DispatcherInterface) +*implements* [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface), [Phalcon\Cli\DispatcherInterface](/en/3.2/api/Phalcon_Cli_DispatcherInterface) Source on GitHub @@ -11,10 +11,11 @@ Dispatching is the process of taking the command-line arguments, extracting the ```php setDi($di); $dispatcher->setTaskName("posts"); @@ -81,107 +82,115 @@ public **getOptions** () Get dispatched options +public **getOption** (*mixed* $option, [*string* | *array* $filters], [*mixed* $defaultValue]) + +Gets an option by its name or numeric index + +public **hasOption** (*mixed* $option) + +Check if an option exists + public **callActionMethod** (*mixed* $handler, *mixed* $actionMethod, [*array* $params]) -... +Calls the action method. -public **setDI** ([Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setDI** ([Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the dependency injector -public **getDI** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getDI** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns the internal dependency injector -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the events manager -public **getEventsManager** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getEventsManager** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns the internal event manager -public **setActionSuffix** (*mixed* $actionSuffix) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setActionSuffix** (*mixed* $actionSuffix) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the default action suffix -public **getActionSuffix** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getActionSuffix** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets the default action suffix -public **setModuleName** (*mixed* $moduleName) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setModuleName** (*mixed* $moduleName) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the module where the controller is (only informative) -public **getModuleName** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getModuleName** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets the module where the controller class is -public **setNamespaceName** (*mixed* $namespaceName) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setNamespaceName** (*mixed* $namespaceName) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the namespace where the controller class is -public **getNamespaceName** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getNamespaceName** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets a namespace to be prepended to the current handler name -public **setDefaultNamespace** (*mixed* $namespaceName) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setDefaultNamespace** (*mixed* $namespaceName) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the default namespace -public **getDefaultNamespace** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getDefaultNamespace** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns the default namespace -public **setDefaultAction** (*mixed* $actionName) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setDefaultAction** (*mixed* $actionName) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the default action name -public **setActionName** (*mixed* $actionName) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setActionName** (*mixed* $actionName) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the action name to be dispatched -public **getActionName** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getActionName** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets the latest dispatched action name -public **setParams** (*array* $params) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setParams** (*array* $params) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets action params to be dispatched -public **getParams** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getParams** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets action params -public **setParam** (*mixed* $param, *mixed* $value) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setParam** (*mixed* $param, *mixed* $value) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Set a param by its name or numeric index -public *mixed* **getParam** (*mixed* $param, [*string* | *array* $filters], [*mixed* $defaultValue]) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public *mixed* **getParam** (*mixed* $param, [*string* | *array* $filters], [*mixed* $defaultValue]) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets a param by its name or numeric index -public *boolean* **hasParam** (*mixed* $param) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public *boolean* **hasParam** (*mixed* $param) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Check if a param exists -public **getActiveMethod** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getActiveMethod** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns the current method to be/executed in the dispatcher -public **isFinished** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **isFinished** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Checks if the dispatch loop is finished or has more pendent controllers/tasks to dispatch -public **setReturnedValue** (*mixed* $value) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setReturnedValue** (*mixed* $value) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the latest returned value by an action manually -public *mixed* **getReturnedValue** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public *mixed* **getReturnedValue** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns value returned by the latest dispatched action -public **setModelBinding** (*mixed* $value, [*mixed* $cache]) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setModelBinding** (*mixed* $value, [*mixed* $cache]) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Enable/Disable model binding during dispatch @@ -197,7 +206,7 @@ $di->set('dispatcher', function() { ``` -public **setModelBinder** ([Phalcon\Mvc\Model\BinderInterface](/en/3.1.2/api/Phalcon_Mvc_Model_BinderInterface) $modelBinder, [*mixed* $cache]) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setModelBinder** ([Phalcon\Mvc\Model\BinderInterface](/en/3.2/api/Phalcon_Mvc_Model_BinderInterface) $modelBinder, [*mixed* $cache]) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Enable model binding during dispatch @@ -213,21 +222,21 @@ $di->set('dispatcher', function() { ``` -public **getModelBinder** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getModelBinder** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets model binder -public *object* **dispatch** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public *object* **dispatch** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Dispatches a handle action taking into account the routing parameters -protected *object* **_dispatch** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +protected *object* **_dispatch** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Dispatches a handle action taking into account the routing parameters -public **forward** (*array* $forward) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **forward** (*array* $forward) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) -Forwards the execution flow to another controller/action Dispatchers are unique per module. Forwarding between modules is not allowed +Forwards the execution flow to another controller/action. ```php dispatcher->forward( ``` -public **wasForwarded** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **wasForwarded** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Check if the current executed action was forwarded by another one -public **getHandlerClass** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getHandlerClass** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Possible class name that will be located to dispatch the request -public **getBoundModels** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getBoundModels** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns bound models from binder instance @@ -266,6 +275,6 @@ class UserController extends Controller ``` -protected **_resolveEmptyProperties** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +protected **_resolveEmptyProperties** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Set empty properties to their defaults (where defaults are available) \ No newline at end of file diff --git a/pt/api/Phalcon_Cli_DispatcherInterface.md b/pt/api/Phalcon_Cli_DispatcherInterface.md index 58914bf4b682..78f4d7b40c9c 100644 --- a/pt/api/Phalcon_Cli_DispatcherInterface.md +++ b/pt/api/Phalcon_Cli_DispatcherInterface.md @@ -1,6 +1,6 @@ # Interface **Phalcon\\Cli\\DispatcherInterface** -*implements* [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +*implements* [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) Source on GitHub @@ -30,70 +30,70 @@ abstract public **getActiveTask** () ... -abstract public **setActionSuffix** (*mixed* $actionSuffix) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setActionSuffix** (*mixed* $actionSuffix) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **getActionSuffix** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **getActionSuffix** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setDefaultNamespace** (*mixed* $defaultNamespace) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setDefaultNamespace** (*mixed* $defaultNamespace) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setDefaultAction** (*mixed* $actionName) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setDefaultAction** (*mixed* $actionName) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setNamespaceName** (*mixed* $namespaceName) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setNamespaceName** (*mixed* $namespaceName) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setModuleName** (*mixed* $moduleName) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setModuleName** (*mixed* $moduleName) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setActionName** (*mixed* $actionName) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setActionName** (*mixed* $actionName) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **getActionName** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **getActionName** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setParams** (*mixed* $params) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setParams** (*mixed* $params) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **getParams** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **getParams** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setParam** (*mixed* $param, *mixed* $value) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setParam** (*mixed* $param, *mixed* $value) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **getParam** (*mixed* $param, [*mixed* $filters]) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **getParam** (*mixed* $param, [*mixed* $filters]) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **hasParam** (*mixed* $param) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **hasParam** (*mixed* $param) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **isFinished** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **isFinished** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **getReturnedValue** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **getReturnedValue** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **dispatch** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **dispatch** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **forward** (*mixed* $forward) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **forward** (*mixed* $forward) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... \ No newline at end of file diff --git a/pt/api/Phalcon_Cli_Dispatcher_Exception.md b/pt/api/Phalcon_Cli_Dispatcher_Exception.md index 0eeb05860d89..fbd0a6c4292d 100644 --- a/pt/api/Phalcon_Cli_Dispatcher_Exception.md +++ b/pt/api/Phalcon_Cli_Dispatcher_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cli\\Dispatcher\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/pt/api/Phalcon_Cli_Router.md b/pt/api/Phalcon_Cli_Router.md index d2cb10a44276..5a0943627b36 100644 --- a/pt/api/Phalcon_Cli_Router.md +++ b/pt/api/Phalcon_Cli_Router.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cli\\Router** -*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface) +*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface) Source on GitHub @@ -29,7 +29,7 @@ public **__construct** ([*mixed* $defaultRoutes]) Phalcon\\Cli\\Router constructor -public **setDI** ([Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector) +public **setDI** ([Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector) Sets the dependency injector @@ -69,7 +69,7 @@ public **handle** ([*array* $arguments]) Handles routing information received from command-line arguments -public [Phalcon\Cli\Router\Route](/en/3.1.2/api/Phalcon_Cli_Router_Route) **add** (*string* $pattern, [*string/array* $paths]) +public [Phalcon\Cli\Router\Route](/en/3.2/api/Phalcon_Cli_Router_Route) **add** (*string* $pattern, [*string/array* $paths]) Adds a route to the router @@ -112,7 +112,7 @@ public **getRoutes** () Returns all the routes defined in the router -public [Phalcon\Cli\Router\Route](/en/3.1.2/api/Phalcon_Cli_Router_Route) **getRouteById** (*int* $id) +public [Phalcon\Cli\Router\Route](/en/3.2/api/Phalcon_Cli_Router_Route) **getRouteById** (*int* $id) Returns a route object by its id diff --git a/pt/api/Phalcon_Cli_Router_Exception.md b/pt/api/Phalcon_Cli_Router_Exception.md index ebd81a411422..e063b3861132 100644 --- a/pt/api/Phalcon_Cli_Router_Exception.md +++ b/pt/api/Phalcon_Cli_Router_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cli\\Router\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/pt/api/Phalcon_Db_Adapter.md b/pt/api/Phalcon_Db_Adapter.md index c1deaded19cd..a5d397a98c83 100644 --- a/pt/api/Phalcon_Db_Adapter.md +++ b/pt/api/Phalcon_Db_Adapter.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Db\\Adapter** -*implements* [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -24,7 +24,7 @@ public **__construct** (*array* $descriptor) Phalcon\\Db\\Adapter constructor -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) Sets the event manager @@ -32,7 +32,7 @@ public **getEventsManager** () Returns the internal event manager -public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) $dialect) +public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) $dialect) Sets the dialect used to produce the SQL @@ -309,11 +309,11 @@ public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExist Drops a view -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Adds a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) Modifies a table column based on a definition @@ -321,7 +321,7 @@ public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnN Drops a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Adds an index to a table @@ -329,7 +329,7 @@ public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexNam Drop an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Adds a primary key to a table @@ -337,7 +337,7 @@ public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) Drops a table's primary key -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) Adds a foreign key to a table @@ -345,7 +345,7 @@ public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $ref Drops a foreign key from a table -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Returns the SQL column definition from a column @@ -375,7 +375,7 @@ print_r( ``` -public [Phalcon\Db\Index](/en/3.1.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) +public [Phalcon\Db\Index](/en/3.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) Lists table indexes @@ -512,54 +512,54 @@ public *array* **getSQLBindTypes** () Active SQL statement in the object -abstract public **connect** ([*array* $descriptor]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **connect** ([*array* $descriptor]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **query** (*mixed* $sqlStatement, [*mixed* $placeholders], [*mixed* $dataTypes]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **query** (*mixed* $sqlStatement, [*mixed* $placeholders], [*mixed* $dataTypes]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **execute** (*mixed* $sqlStatement, [*mixed* $placeholders], [*mixed* $dataTypes]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **execute** (*mixed* $sqlStatement, [*mixed* $placeholders], [*mixed* $dataTypes]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **affectedRows** () inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **affectedRows** () inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **close** () inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **close** () inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **lastInsertId** ([*mixed* $sequenceName]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **lastInsertId** ([*mixed* $sequenceName]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **isUnderTransaction** () inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **isUnderTransaction** () inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **getInternalHandler** () inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **getInternalHandler** () inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... \ No newline at end of file diff --git a/pt/api/Phalcon_Db_AdapterInterface.md b/pt/api/Phalcon_Db_AdapterInterface.md index 2b9bec9a2acd..4c6a8f54b3f1 100644 --- a/pt/api/Phalcon_Db_AdapterInterface.md +++ b/pt/api/Phalcon_Db_AdapterInterface.md @@ -64,11 +64,11 @@ abstract public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* ... -abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) ... -abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) ... @@ -76,7 +76,7 @@ abstract public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* ... -abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) ... @@ -84,7 +84,7 @@ abstract public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* ... -abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) ... @@ -92,7 +92,7 @@ abstract public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) ... -abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) ... @@ -100,7 +100,7 @@ abstract public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mi ... -abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) ... diff --git a/pt/api/Phalcon_Db_Adapter_Pdo.md b/pt/api/Phalcon_Db_Adapter_Pdo.md index 44de7d9e6e1f..c23a014e3d58 100644 --- a/pt/api/Phalcon_Db_Adapter_Pdo.md +++ b/pt/api/Phalcon_Db_Adapter_Pdo.md @@ -1,8 +1,8 @@ # Abstract class **Phalcon\\Db\\Adapter\\Pdo** -*extends* abstract class [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +*extends* abstract class [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) -*implements* [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +*implements* [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) Source on GitHub @@ -262,35 +262,35 @@ public *array* **getErrorInfo** () Return the error info, if any -public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Name of the dialect used -public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Type of database system the adapter is used for -public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL bound parameter variables -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the event manager -public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the internal event manager -public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the dialect used to produce the SQL -public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns internal dialect instance -public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the first row in a SQL query result @@ -307,7 +307,7 @@ print_r($robot); ``` -public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Dumps the complete result of a query into an array @@ -338,7 +338,7 @@ foreach($robots as $robot) { ``` -public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the n'th field of first row in a SQL query result @@ -358,7 +358,7 @@ print_r($robot); ``` -public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RDBMS SQL syntax @@ -377,7 +377,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RBDM SQL syntax @@ -398,7 +398,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax @@ -435,7 +435,7 @@ $success = $connection->update( Warning! If $whereCondition is string it not escaped. -public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax Another, more convenient syntax @@ -456,7 +456,7 @@ UPDATE `robots` SET `name` = "Astro boy" WHERE id = 101 ``` -public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Deletes data from a table using custom RBDM SQL syntax @@ -474,7 +474,7 @@ DELETE FROM `robots` WHERE `id` = 101 ``` -public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Escapes a column/table/schema name @@ -494,11 +494,11 @@ $escapedTable = $connection->escapeIdentifier( ``` -public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets a list of columns -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Appends a LIMIT clause to $sqlQuery argument @@ -509,7 +509,7 @@ echo $connection->limit("SELECT * FROM robots", 5); ``` -public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.table @@ -522,7 +522,7 @@ var_dump( ``` -public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.view @@ -535,71 +535,71 @@ var_dump( ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a FOR UPDATE clause -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a LOCK IN SHARE MODE clause -public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a table -public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table from a schema/database -public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a view -public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a view -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Modifies a table column based on a definition -public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds an index to a table -public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drop an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a primary key to a table -public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table's primary key -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a foreign key to a table -public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a foreign key from a table -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the SQL column definition from a column -public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all tables on a database @@ -612,7 +612,7 @@ print_r( ``` -public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all views on a database @@ -625,7 +625,7 @@ print_r( ``` -public [Phalcon\Db\Index](/en/3.1.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public [Phalcon\Db\Index](/en/3.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Lists table indexes @@ -638,7 +638,7 @@ print_r( ``` -public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Lists table references @@ -651,7 +651,7 @@ print_r( ``` -public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets creation options from a table @@ -664,31 +664,31 @@ print_r( ``` -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Releases given savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Rollbacks given savepoint -public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Set if nested transactions should use savepoints -public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns if nested transactions should use savepoints -public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the savepoint name to use for nested transactions -public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default identity value to be inserted in an identity column @@ -712,7 +712,7 @@ $success = $connection->insert( ``` -public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default value to make the RBDM use the default value declared in the table definition @@ -734,34 +734,34 @@ $success = $connection->insert( ``` -public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Check whether the database system requires a sequence to produce auto-numeric values -public **useExplicitIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **useExplicitIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Check whether the database system requires an explicit value for identity columns -public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Return descriptor used to connect to the active database -public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets the active connection unique identifier -public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object -public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object without replace bound parameters -public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object -abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... \ No newline at end of file diff --git a/pt/api/Phalcon_Db_Adapter_Pdo_Mysql.md b/pt/api/Phalcon_Db_Adapter_Pdo_Mysql.md index fe17030fddcf..5013bf0def80 100644 --- a/pt/api/Phalcon_Db_Adapter_Pdo_Mysql.md +++ b/pt/api/Phalcon_Db_Adapter_Pdo_Mysql.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Adapter\\Pdo\\Mysql** -*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) -*implements* [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -40,7 +40,7 @@ print_r( ``` -public [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface[]) **describeIndexes** (*string* $table, [*string* $schema]) +public [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface[]) **describeIndexes** (*string* $table, [*string* $schema]) Lists table indexes @@ -66,11 +66,11 @@ print_r( ``` -public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Constructor for Phalcon\\Db\\Adapter\\Pdo -public **connect** ([*array* $descriptor]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **connect** ([*array* $descriptor]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) This method is automatically called in \\Phalcon\\Db\\Adapter\\Pdo constructor. Call it when you need to restore a database connection. @@ -95,7 +95,7 @@ $connection->connect(); ``` -public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns a PDO prepared statement to be executed with 'executePrepared' @@ -120,7 +120,7 @@ $result = $connection->executePrepared( ``` -public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Executes a prepared statement binding. This function uses integer indexes starting from zero @@ -145,7 +145,7 @@ $result = $connection->executePrepared( ``` -public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server is returning rows @@ -166,7 +166,7 @@ $resultset = $connection->query( ``` -public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server doesn't return any rows @@ -188,7 +188,7 @@ $success = $connection->execute( ``` -public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the number of affected rows by the latest INSERT/UPDATE/DELETE executed in the database system @@ -203,11 +203,11 @@ echo $connection->affectedRows(), " were deleted"; ``` -public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Closes the active connection returning success. Phalcon automatically closes and destroys active connections when the request ends -public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Escapes a value to avoid SQL injections according to the active charset in the connection @@ -218,7 +218,7 @@ $escapedStr = $connection->escapeString("some dangerous value"); ``` -public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Converts bound parameters such as :name: or ?1 into PDO bind params ? @@ -236,7 +236,7 @@ print_r( ``` -public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the insert id for the auto_increment/serial column inserted in the latest executed SQL statement @@ -261,23 +261,23 @@ $id = $connection->lastInsertId(); ``` -public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Starts a transaction in the connection -public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Rollbacks the active transaction in the connection -public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Commits the active transaction in the connection -public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the current transaction nesting level -public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Checks whether the connection is under a transaction @@ -293,43 +293,43 @@ var_dump( ``` -public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return internal PDO handler -public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return the error info, if any -public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Name of the dialect used -public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Type of database system the adapter is used for -public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL bound parameter variables -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the event manager -public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the internal event manager -public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the dialect used to produce the SQL -public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns internal dialect instance -public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the first row in a SQL query result @@ -346,7 +346,7 @@ print_r($robot); ``` -public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Dumps the complete result of a query into an array @@ -377,7 +377,7 @@ foreach($robots as $robot) { ``` -public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the n'th field of first row in a SQL query result @@ -397,7 +397,7 @@ print_r($robot); ``` -public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RDBMS SQL syntax @@ -416,7 +416,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RBDM SQL syntax @@ -437,7 +437,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax @@ -474,7 +474,7 @@ $success = $connection->update( Warning! If $whereCondition is string it not escaped. -public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax Another, more convenient syntax @@ -495,7 +495,7 @@ UPDATE `robots` SET `name` = "Astro boy" WHERE id = 101 ``` -public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Deletes data from a table using custom RBDM SQL syntax @@ -513,7 +513,7 @@ DELETE FROM `robots` WHERE `id` = 101 ``` -public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Escapes a column/table/schema name @@ -533,11 +533,11 @@ $escapedTable = $connection->escapeIdentifier( ``` -public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets a list of columns -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Appends a LIMIT clause to $sqlQuery argument @@ -548,7 +548,7 @@ echo $connection->limit("SELECT * FROM robots", 5); ``` -public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.table @@ -561,7 +561,7 @@ var_dump( ``` -public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.view @@ -574,71 +574,71 @@ var_dump( ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a FOR UPDATE clause -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a LOCK IN SHARE MODE clause -public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a table -public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table from a schema/database -public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a view -public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a view -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Modifies a table column based on a definition -public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds an index to a table -public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drop an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a primary key to a table -public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table's primary key -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a foreign key to a table -public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a foreign key from a table -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the SQL column definition from a column -public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all tables on a database @@ -651,7 +651,7 @@ print_r( ``` -public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all views on a database @@ -664,7 +664,7 @@ print_r( ``` -public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets creation options from a table @@ -677,31 +677,31 @@ print_r( ``` -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Releases given savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Rollbacks given savepoint -public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Set if nested transactions should use savepoints -public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns if nested transactions should use savepoints -public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the savepoint name to use for nested transactions -public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default identity value to be inserted in an identity column @@ -725,7 +725,7 @@ $success = $connection->insert( ``` -public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default value to make the RBDM use the default value declared in the table definition @@ -747,30 +747,30 @@ $success = $connection->insert( ``` -public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Check whether the database system requires a sequence to produce auto-numeric values -public **useExplicitIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **useExplicitIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Check whether the database system requires an explicit value for identity columns -public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Return descriptor used to connect to the active database -public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets the active connection unique identifier -public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object -public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object without replace bound parameters -public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object \ No newline at end of file diff --git a/pt/api/Phalcon_Db_Adapter_Pdo_Postgresql.md b/pt/api/Phalcon_Db_Adapter_Pdo_Postgresql.md index c7f35273d52a..9a66f69a4ec1 100644 --- a/pt/api/Phalcon_Db_Adapter_Pdo_Postgresql.md +++ b/pt/api/Phalcon_Db_Adapter_Pdo_Postgresql.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Adapter\\Pdo\\Postgresql** -*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) -*implements* [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -48,7 +48,7 @@ public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $defini Creates a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) Modifies a table column based on a definition @@ -84,11 +84,11 @@ public **supportSequences** () Check whether the database system requires a sequence to produce auto-numeric values -public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Constructor for Phalcon\\Db\\Adapter\\Pdo -public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns a PDO prepared statement to be executed with 'executePrepared' @@ -113,7 +113,7 @@ $result = $connection->executePrepared( ``` -public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Executes a prepared statement binding. This function uses integer indexes starting from zero @@ -138,7 +138,7 @@ $result = $connection->executePrepared( ``` -public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server is returning rows @@ -159,7 +159,7 @@ $resultset = $connection->query( ``` -public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server doesn't return any rows @@ -181,7 +181,7 @@ $success = $connection->execute( ``` -public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the number of affected rows by the latest INSERT/UPDATE/DELETE executed in the database system @@ -196,11 +196,11 @@ echo $connection->affectedRows(), " were deleted"; ``` -public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Closes the active connection returning success. Phalcon automatically closes and destroys active connections when the request ends -public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Escapes a value to avoid SQL injections according to the active charset in the connection @@ -211,7 +211,7 @@ $escapedStr = $connection->escapeString("some dangerous value"); ``` -public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Converts bound parameters such as :name: or ?1 into PDO bind params ? @@ -229,7 +229,7 @@ print_r( ``` -public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the insert id for the auto_increment/serial column inserted in the latest executed SQL statement @@ -254,23 +254,23 @@ $id = $connection->lastInsertId(); ``` -public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Starts a transaction in the connection -public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Rollbacks the active transaction in the connection -public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Commits the active transaction in the connection -public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the current transaction nesting level -public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Checks whether the connection is under a transaction @@ -286,43 +286,43 @@ var_dump( ``` -public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return internal PDO handler -public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return the error info, if any -public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Name of the dialect used -public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Type of database system the adapter is used for -public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL bound parameter variables -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the event manager -public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the internal event manager -public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the dialect used to produce the SQL -public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns internal dialect instance -public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the first row in a SQL query result @@ -339,7 +339,7 @@ print_r($robot); ``` -public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Dumps the complete result of a query into an array @@ -370,7 +370,7 @@ foreach($robots as $robot) { ``` -public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the n'th field of first row in a SQL query result @@ -390,7 +390,7 @@ print_r($robot); ``` -public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RDBMS SQL syntax @@ -409,7 +409,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RBDM SQL syntax @@ -430,7 +430,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax @@ -467,7 +467,7 @@ $success = $connection->update( Warning! If $whereCondition is string it not escaped. -public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax Another, more convenient syntax @@ -488,7 +488,7 @@ UPDATE `robots` SET `name` = "Astro boy" WHERE id = 101 ``` -public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Deletes data from a table using custom RBDM SQL syntax @@ -506,7 +506,7 @@ DELETE FROM `robots` WHERE `id` = 101 ``` -public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Escapes a column/table/schema name @@ -526,11 +526,11 @@ $escapedTable = $connection->escapeIdentifier( ``` -public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets a list of columns -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Appends a LIMIT clause to $sqlQuery argument @@ -541,7 +541,7 @@ echo $connection->limit("SELECT * FROM robots", 5); ``` -public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.table @@ -554,7 +554,7 @@ var_dump( ``` -public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.view @@ -567,63 +567,63 @@ var_dump( ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a FOR UPDATE clause -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a LOCK IN SHARE MODE clause -public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table from a schema/database -public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a view -public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a view -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a column to a table -public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds an index to a table -public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drop an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a primary key to a table -public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table's primary key -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a foreign key to a table -public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a foreign key from a table -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the SQL column definition from a column -public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all tables on a database @@ -636,7 +636,7 @@ print_r( ``` -public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all views on a database @@ -649,7 +649,7 @@ print_r( ``` -public [Phalcon\Db\Index](/en/3.1.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public [Phalcon\Db\Index](/en/3.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Lists table indexes @@ -662,7 +662,7 @@ print_r( ``` -public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Lists table references @@ -675,7 +675,7 @@ print_r( ``` -public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets creation options from a table @@ -688,31 +688,31 @@ print_r( ``` -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Releases given savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Rollbacks given savepoint -public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Set if nested transactions should use savepoints -public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns if nested transactions should use savepoints -public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the savepoint name to use for nested transactions -public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default value to make the RBDM use the default value declared in the table definition @@ -734,22 +734,22 @@ $success = $connection->insert( ``` -public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Return descriptor used to connect to the active database -public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets the active connection unique identifier -public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object -public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object without replace bound parameters -public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object \ No newline at end of file diff --git a/pt/api/Phalcon_Db_Adapter_Pdo_Sqlite.md b/pt/api/Phalcon_Db_Adapter_Pdo_Sqlite.md index 1f92cfbfc6bd..a568c933ce4a 100644 --- a/pt/api/Phalcon_Db_Adapter_Pdo_Sqlite.md +++ b/pt/api/Phalcon_Db_Adapter_Pdo_Sqlite.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Adapter\\Pdo\\Sqlite** -*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) -*implements* [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -40,7 +40,7 @@ print_r( ``` -public [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface[]) **describeIndexes** (*string* $table, [*string* $schema]) +public [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface[]) **describeIndexes** (*string* $table, [*string* $schema]) Lists table indexes @@ -53,7 +53,7 @@ print_r( ``` -public [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface[]) **describeReferences** (*string* $table, [*string* $schema]) +public [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface[]) **describeReferences** (*string* $table, [*string* $schema]) Lists table references @@ -83,11 +83,11 @@ $success = $connection->insert( ``` -public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Constructor for Phalcon\\Db\\Adapter\\Pdo -public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns a PDO prepared statement to be executed with 'executePrepared' @@ -112,7 +112,7 @@ $result = $connection->executePrepared( ``` -public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Executes a prepared statement binding. This function uses integer indexes starting from zero @@ -137,7 +137,7 @@ $result = $connection->executePrepared( ``` -public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server is returning rows @@ -158,7 +158,7 @@ $resultset = $connection->query( ``` -public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server doesn't return any rows @@ -180,7 +180,7 @@ $success = $connection->execute( ``` -public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the number of affected rows by the latest INSERT/UPDATE/DELETE executed in the database system @@ -195,11 +195,11 @@ echo $connection->affectedRows(), " were deleted"; ``` -public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Closes the active connection returning success. Phalcon automatically closes and destroys active connections when the request ends -public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Escapes a value to avoid SQL injections according to the active charset in the connection @@ -210,7 +210,7 @@ $escapedStr = $connection->escapeString("some dangerous value"); ``` -public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Converts bound parameters such as :name: or ?1 into PDO bind params ? @@ -228,7 +228,7 @@ print_r( ``` -public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the insert id for the auto_increment/serial column inserted in the latest executed SQL statement @@ -253,23 +253,23 @@ $id = $connection->lastInsertId(); ``` -public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Starts a transaction in the connection -public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Rollbacks the active transaction in the connection -public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Commits the active transaction in the connection -public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the current transaction nesting level -public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Checks whether the connection is under a transaction @@ -285,43 +285,43 @@ var_dump( ``` -public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return internal PDO handler -public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return the error info, if any -public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Name of the dialect used -public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Type of database system the adapter is used for -public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL bound parameter variables -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the event manager -public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the internal event manager -public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the dialect used to produce the SQL -public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns internal dialect instance -public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the first row in a SQL query result @@ -338,7 +338,7 @@ print_r($robot); ``` -public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Dumps the complete result of a query into an array @@ -369,7 +369,7 @@ foreach($robots as $robot) { ``` -public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the n'th field of first row in a SQL query result @@ -389,7 +389,7 @@ print_r($robot); ``` -public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RDBMS SQL syntax @@ -408,7 +408,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RBDM SQL syntax @@ -429,7 +429,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax @@ -466,7 +466,7 @@ $success = $connection->update( Warning! If $whereCondition is string it not escaped. -public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax Another, more convenient syntax @@ -487,7 +487,7 @@ UPDATE `robots` SET `name` = "Astro boy" WHERE id = 101 ``` -public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Deletes data from a table using custom RBDM SQL syntax @@ -505,7 +505,7 @@ DELETE FROM `robots` WHERE `id` = 101 ``` -public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Escapes a column/table/schema name @@ -525,11 +525,11 @@ $escapedTable = $connection->escapeIdentifier( ``` -public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets a list of columns -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Appends a LIMIT clause to $sqlQuery argument @@ -540,7 +540,7 @@ echo $connection->limit("SELECT * FROM robots", 5); ``` -public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.table @@ -553,7 +553,7 @@ var_dump( ``` -public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.view @@ -566,71 +566,71 @@ var_dump( ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a FOR UPDATE clause -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a LOCK IN SHARE MODE clause -public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a table -public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table from a schema/database -public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a view -public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a view -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Modifies a table column based on a definition -public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds an index to a table -public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drop an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a primary key to a table -public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table's primary key -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a foreign key to a table -public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a foreign key from a table -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the SQL column definition from a column -public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all tables on a database @@ -643,7 +643,7 @@ print_r( ``` -public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all views on a database @@ -656,7 +656,7 @@ print_r( ``` -public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets creation options from a table @@ -669,31 +669,31 @@ print_r( ``` -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Releases given savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Rollbacks given savepoint -public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Set if nested transactions should use savepoints -public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns if nested transactions should use savepoints -public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the savepoint name to use for nested transactions -public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default identity value to be inserted in an identity column @@ -717,26 +717,26 @@ $success = $connection->insert( ``` -public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Check whether the database system requires a sequence to produce auto-numeric values -public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Return descriptor used to connect to the active database -public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets the active connection unique identifier -public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object -public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object without replace bound parameters -public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object \ No newline at end of file diff --git a/pt/api/Phalcon_Db_Column.md b/pt/api/Phalcon_Db_Column.md index ab2fdfb7a40e..fe0210a2b411 100644 --- a/pt/api/Phalcon_Db_Column.md +++ b/pt/api/Phalcon_Db_Column.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Db\\Column** -*implements* [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) +*implements* [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) Source on GitHub diff --git a/pt/api/Phalcon_Db_Dialect.md b/pt/api/Phalcon_Db_Dialect.md index 11c52ea58df4..df25f0af03ab 100644 --- a/pt/api/Phalcon_Db_Dialect.md +++ b/pt/api/Phalcon_Db_Dialect.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Db\\Dialect** -*implements* [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +*implements* [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) Source on GitHub @@ -199,86 +199,86 @@ protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $es Prepares qualified for this RDBMS -abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropTable** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropTable** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **describeIndexes** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **describeIndexes** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **tableOptions** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **tableOptions** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... \ No newline at end of file diff --git a/pt/api/Phalcon_Db_DialectInterface.md b/pt/api/Phalcon_Db_DialectInterface.md index 0bf993854d79..90ee58afb9e1 100644 --- a/pt/api/Phalcon_Db_DialectInterface.md +++ b/pt/api/Phalcon_Db_DialectInterface.md @@ -24,15 +24,15 @@ abstract public **getColumnList** (*array* $columnList) ... -abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) ... -abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) ... -abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) ... @@ -40,7 +40,7 @@ abstract public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* ... -abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) ... @@ -48,7 +48,7 @@ abstract public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* ... -abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) ... @@ -56,7 +56,7 @@ abstract public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) ... -abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) ... diff --git a/pt/api/Phalcon_Db_Dialect_Mysql.md b/pt/api/Phalcon_Db_Dialect_Mysql.md index 6178388fc739..d1a80102e14c 100644 --- a/pt/api/Phalcon_Db_Dialect_Mysql.md +++ b/pt/api/Phalcon_Db_Dialect_Mysql.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Dialect\\Mysql** -*extends* abstract class [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +*extends* abstract class [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) -*implements* [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +*implements* [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) Source on GitHub @@ -10,15 +10,15 @@ Generates database specific SQL for the MySQL RDBMS ## Methods -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Gets the column name in MySQL -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Generates SQL to add a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) Generates SQL to modify a column in a table @@ -26,7 +26,7 @@ public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnN Generates SQL to delete a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add an index to a table @@ -34,7 +34,7 @@ public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexNam Generates SQL to delete an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add the primary key to a table @@ -42,7 +42,7 @@ public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) Generates SQL to delete primary key from a table -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) Generates SQL to add an index to a table @@ -133,23 +133,23 @@ protected **_getTableOptions** (*array* $definition) Generates SQL to add the table creation options -public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Registers custom SQL functions -public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns registered functions -final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape Schema -final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape identifiers -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generates the SQL for LIMIT clause @@ -164,7 +164,7 @@ echo $sql; // SELECT * FROM robots LIMIT 10 OFFSET 50 ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a FOR UPDATE clause @@ -176,7 +176,7 @@ echo $sql; // SELECT * FROM robots FOR UPDATE ``` -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a LOCK IN SHARE MODE clause @@ -188,7 +188,7 @@ echo $sql; // SELECT * FROM robots LOCK IN SHARE MODE ``` -final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Gets a list of columns with escaped identifiers @@ -204,122 +204,122 @@ echo $dialect->getColumnList( ``` -final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transforms an intermediate representation for an expression into a database system valid expression -final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transform an intermediate representation of a schema/table into a database system valid expression -public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Builds a SELECT statement -public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports savepoints -public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports releasing savepoints. -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to create a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to release a savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to rollback a savepoint -final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve object expressions -final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve qualified expressions -final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve binary operations expressions -final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve unary operations expressions -final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve function calls -final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Lists -final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve * -final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CAST of values -final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CONVERT of values encodings -final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CASE expressions -final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a FROM clause -final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a JOINs clause -final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a WHERE clause -final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a GROUP BY clause -final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a HAVING clause -final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve an ORDER BY clause -final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a LIMIT clause -protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares column for this RDBMS -protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares table for this RDBMS -protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares qualified for this RDBMS \ No newline at end of file diff --git a/pt/api/Phalcon_Db_Dialect_Postgresql.md b/pt/api/Phalcon_Db_Dialect_Postgresql.md index 01fe5982984c..f10d03525235 100644 --- a/pt/api/Phalcon_Db_Dialect_Postgresql.md +++ b/pt/api/Phalcon_Db_Dialect_Postgresql.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Dialect\\Postgresql** -*extends* abstract class [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +*extends* abstract class [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) -*implements* [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +*implements* [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) Source on GitHub @@ -10,15 +10,15 @@ Generates database specific SQL for the PostgreSQL RDBMS ## Methods -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Gets the column name in PostgreSQL -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Generates SQL to add a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) Generates SQL to modify a column in a table @@ -26,7 +26,7 @@ public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnN Generates SQL to delete a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add an index to a table @@ -34,7 +34,7 @@ public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexNam Generates SQL to delete an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add the primary key to a table @@ -42,7 +42,7 @@ public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) Generates SQL to delete primary key from a table -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) Generates SQL to add an index to a table @@ -129,7 +129,7 @@ public **tableOptions** (*mixed* $table, [*mixed* $schema]) Generates the SQL to describe the table creation options -protected **_castDefault** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +protected **_castDefault** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) ... @@ -137,23 +137,23 @@ protected **_getTableOptions** (*array* $definition) ... -public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Registers custom SQL functions -public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns registered functions -final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape Schema -final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape identifiers -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generates the SQL for LIMIT clause @@ -168,7 +168,7 @@ echo $sql; // SELECT * FROM robots LIMIT 10 OFFSET 50 ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a FOR UPDATE clause @@ -180,7 +180,7 @@ echo $sql; // SELECT * FROM robots FOR UPDATE ``` -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a LOCK IN SHARE MODE clause @@ -192,7 +192,7 @@ echo $sql; // SELECT * FROM robots LOCK IN SHARE MODE ``` -final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Gets a list of columns with escaped identifiers @@ -208,122 +208,122 @@ echo $dialect->getColumnList( ``` -final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transforms an intermediate representation for an expression into a database system valid expression -final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transform an intermediate representation of a schema/table into a database system valid expression -public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Builds a SELECT statement -public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports savepoints -public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports releasing savepoints. -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to create a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to release a savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to rollback a savepoint -final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve object expressions -final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve qualified expressions -final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve binary operations expressions -final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve unary operations expressions -final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve function calls -final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Lists -final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve * -final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CAST of values -final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CONVERT of values encodings -final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CASE expressions -final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a FROM clause -final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a JOINs clause -final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a WHERE clause -final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a GROUP BY clause -final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a HAVING clause -final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve an ORDER BY clause -final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a LIMIT clause -protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares column for this RDBMS -protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares table for this RDBMS -protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares qualified for this RDBMS \ No newline at end of file diff --git a/pt/api/Phalcon_Db_Dialect_Sqlite.md b/pt/api/Phalcon_Db_Dialect_Sqlite.md index 7b38162151a0..dabec6d39e49 100644 --- a/pt/api/Phalcon_Db_Dialect_Sqlite.md +++ b/pt/api/Phalcon_Db_Dialect_Sqlite.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Dialect\\Sqlite** -*extends* abstract class [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +*extends* abstract class [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) -*implements* [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +*implements* [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) Source on GitHub @@ -10,15 +10,15 @@ Generates database specific SQL for the Sqlite RDBMS ## Methods -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Gets the column name in SQLite -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Generates SQL to add a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) Generates SQL to modify a column in a table @@ -26,7 +26,7 @@ public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnN Generates SQL to delete a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add an index to a table @@ -34,7 +34,7 @@ public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexNam Generates SQL to delete an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add the primary key to a table @@ -42,7 +42,7 @@ public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) Generates SQL to delete primary key from a table -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) Generates SQL to add an index to a table @@ -146,23 +146,23 @@ public **tableOptions** (*mixed* $table, [*mixed* $schema]) Generates the SQL to describe the table creation options -public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Registers custom SQL functions -public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns registered functions -final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape Schema -final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape identifiers -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generates the SQL for LIMIT clause @@ -177,7 +177,7 @@ echo $sql; // SELECT * FROM robots LIMIT 10 OFFSET 50 ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a FOR UPDATE clause @@ -189,7 +189,7 @@ echo $sql; // SELECT * FROM robots FOR UPDATE ``` -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a LOCK IN SHARE MODE clause @@ -201,7 +201,7 @@ echo $sql; // SELECT * FROM robots LOCK IN SHARE MODE ``` -final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Gets a list of columns with escaped identifiers @@ -217,122 +217,122 @@ echo $dialect->getColumnList( ``` -final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transforms an intermediate representation for an expression into a database system valid expression -final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transform an intermediate representation of a schema/table into a database system valid expression -public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Builds a SELECT statement -public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports savepoints -public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports releasing savepoints. -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to create a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to release a savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to rollback a savepoint -final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve object expressions -final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve qualified expressions -final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve binary operations expressions -final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve unary operations expressions -final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve function calls -final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Lists -final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve * -final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CAST of values -final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CONVERT of values encodings -final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CASE expressions -final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a FROM clause -final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a JOINs clause -final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a WHERE clause -final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a GROUP BY clause -final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a HAVING clause -final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve an ORDER BY clause -final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a LIMIT clause -protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares column for this RDBMS -protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares table for this RDBMS -protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares qualified for this RDBMS \ No newline at end of file diff --git a/pt/api/Phalcon_Db_Exception.md b/pt/api/Phalcon_Db_Exception.md index 839c2d00fbf8..00160179b065 100644 --- a/pt/api/Phalcon_Db_Exception.md +++ b/pt/api/Phalcon_Db_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Db\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/pt/api/Phalcon_Db_Index.md b/pt/api/Phalcon_Db_Index.md index 60a5b41f764f..9ca94ad0e146 100644 --- a/pt/api/Phalcon_Db_Index.md +++ b/pt/api/Phalcon_Db_Index.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Db\\Index** -*implements* [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) +*implements* [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) Source on GitHub diff --git a/pt/api/Phalcon_Db_Profiler.md b/pt/api/Phalcon_Db_Profiler.md index 05a913cb9c2c..1d6dde6d6e69 100644 --- a/pt/api/Phalcon_Db_Profiler.md +++ b/pt/api/Phalcon_Db_Profiler.md @@ -31,7 +31,7 @@ echo "Total Elapsed Time: ", $profile->getTotalElapsedSeconds(), "\n"; ## Methods -public [Phalcon\Db\Profiler](/en/3.1.2/api/Phalcon_Db_Profiler) **startProfile** (*string* $sqlStatement, [*mixed* $sqlVariables], [*mixed* $sqlBindTypes]) +public [Phalcon\Db\Profiler](/en/3.2/api/Phalcon_Db_Profiler) **startProfile** (*string* $sqlStatement, [*mixed* $sqlVariables], [*mixed* $sqlBindTypes]) Starts the profile of a SQL sentence diff --git a/pt/api/Phalcon_Db_Reference.md b/pt/api/Phalcon_Db_Reference.md index 30ac1a686521..2e83e14de226 100644 --- a/pt/api/Phalcon_Db_Reference.md +++ b/pt/api/Phalcon_Db_Reference.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Db\\Reference** -*implements* [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) +*implements* [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) Source on GitHub diff --git a/pt/api/Phalcon_Db_Result_Pdo.md b/pt/api/Phalcon_Db_Result_Pdo.md index 2e053d67ae6f..91808dece71f 100644 --- a/pt/api/Phalcon_Db_Result_Pdo.md +++ b/pt/api/Phalcon_Db_Result_Pdo.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Db\\Result\\Pdo** -*implements* [Phalcon\Db\ResultInterface](/en/3.1.2/api/Phalcon_Db_ResultInterface) +*implements* [Phalcon\Db\ResultInterface](/en/3.2/api/Phalcon_Db_ResultInterface) Source on GitHub @@ -23,7 +23,7 @@ while ($robot = $result->fetchArray()) { ## Methods -public **__construct** ([Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) $connection, [PDOStatement](http://php.net/manual/en/class.pdostatement.php) $result, [*string* $sqlStatement], [*array* $bindParams], [*array* $bindTypes]) +public **__construct** ([Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) $connection, [PDOStatement](http://php.net/manual/en/class.pdostatement.php) $result, [*string* $sqlStatement], [*array* $bindParams], [*array* $bindTypes]) Phalcon\\Db\\Result\\Pdo constructor diff --git a/ru/api/Phalcon_Acl_Adapter.md b/ru/api/Phalcon_Acl_Adapter.md index 9f86a2a2a142..1696a50b6e15 100644 --- a/ru/api/Phalcon_Acl_Adapter.md +++ b/ru/api/Phalcon_Acl_Adapter.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Acl\\Adapter** -*implements* [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -20,7 +20,7 @@ public **getActiveAccess** () Active access which the list is checking if some role can access it -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) Sets the events manager @@ -36,58 +36,58 @@ public **getDefaultAction** () Returns the default ACL access level -abstract public **setNoArgumentsDefaultAction** (*mixed* $defaultAccess) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **setNoArgumentsDefaultAction** (*mixed* $defaultAccess) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **getNoArgumentsDefaultAction** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **getNoArgumentsDefaultAction** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **addRole** (*mixed* $role, [*mixed* $accessInherits]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **addRole** (*mixed* $role, [*mixed* $accessInherits]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **addInherit** (*mixed* $roleName, *mixed* $roleToInherit) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **addInherit** (*mixed* $roleName, *mixed* $roleToInherit) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **isRole** (*mixed* $roleName) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **isRole** (*mixed* $roleName) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **isResource** (*mixed* $resourceName) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **isResource** (*mixed* $resourceName) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **addResource** (*mixed* $resourceObject, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **addResource** (*mixed* $resourceObject, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **addResourceAccess** (*mixed* $resourceName, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **addResourceAccess** (*mixed* $resourceName, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **dropResourceAccess** (*mixed* $resourceName, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **dropResourceAccess** (*mixed* $resourceName, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **allow** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*mixed* $func]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **allow** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*mixed* $func]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **deny** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*mixed* $func]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **deny** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*mixed* $func]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **isAllowed** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*array* $parameters]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **isAllowed** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*array* $parameters]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **getRoles** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **getRoles** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **getResources** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **getResources** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... \ No newline at end of file diff --git a/ru/api/Phalcon_Acl_Adapter_Memory.md b/ru/api/Phalcon_Acl_Adapter_Memory.md index e9ea95ccda45..889751c95b98 100644 --- a/ru/api/Phalcon_Acl_Adapter_Memory.md +++ b/ru/api/Phalcon_Acl_Adapter_Memory.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Acl\\Adapter\\Memory** -*extends* abstract class [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +*extends* abstract class [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) -*implements* [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +*implements* [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) Source on GitHub @@ -105,7 +105,7 @@ public **isResource** (*mixed* $resourceName) Check whether resource exist in the resources list -public **addResource** ([Phalcon\Acl\Resource](/en/3.1.2/api/Phalcon_Acl_Resource) | *string* $resourceValue, *array* | *string* $accessList) +public **addResource** ([Phalcon\Acl\Resource](/en/3.2/api/Phalcon_Acl_Resource) | *string* $resourceValue, *array* | *string* $accessList) Adds a resource to the ACL list Access names can be a particular action, by example search, update, delete, etc or a list of them Example: @@ -224,30 +224,30 @@ public **getResources** () Return an array with every resource registered in the list -public **getActiveRole** () inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **getActiveRole** () inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Role which the list is checking if it's allowed to certain resource/access -public **getActiveResource** () inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **getActiveResource** () inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Resource which the list is checking if some role can access it -public **getActiveAccess** () inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **getActiveAccess** () inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Active access which the list is checking if some role can access it -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Sets the events manager -public **getEventsManager** () inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **getEventsManager** () inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Returns the internal event manager -public **setDefaultAction** (*mixed* $defaultAccess) inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **setDefaultAction** (*mixed* $defaultAccess) inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Sets the default access level (Phalcon\\Acl::ALLOW or Phalcon\\Acl::DENY) -public **getDefaultAction** () inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **getDefaultAction** () inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Returns the default ACL access level \ No newline at end of file diff --git a/ru/api/Phalcon_Acl_Exception.md b/ru/api/Phalcon_Acl_Exception.md index 153094579c30..9c1b44ab7b5d 100644 --- a/ru/api/Phalcon_Acl_Exception.md +++ b/ru/api/Phalcon_Acl_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Acl\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/ru/api/Phalcon_Acl_Resource.md b/ru/api/Phalcon_Acl_Resource.md index 1663e1ad2e93..25ac2d3e792b 100644 --- a/ru/api/Phalcon_Acl_Resource.md +++ b/ru/api/Phalcon_Acl_Resource.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Acl\\Resource** -*implements* [Phalcon\Acl\ResourceInterface](/en/3.1.2/api/Phalcon_Acl_ResourceInterface) +*implements* [Phalcon\Acl\ResourceInterface](/en/3.2/api/Phalcon_Acl_ResourceInterface) Source on GitHub diff --git a/ru/api/Phalcon_Acl_Role.md b/ru/api/Phalcon_Acl_Role.md index e105183dd7f4..c8252648d6c8 100644 --- a/ru/api/Phalcon_Acl_Role.md +++ b/ru/api/Phalcon_Acl_Role.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Acl\\Role** -*implements* [Phalcon\Acl\RoleInterface](/en/3.1.2/api/Phalcon_Acl_RoleInterface) +*implements* [Phalcon\Acl\RoleInterface](/en/3.2/api/Phalcon_Acl_RoleInterface) Source on GitHub diff --git a/ru/api/Phalcon_Annotations_Adapter.md b/ru/api/Phalcon_Annotations_Adapter.md index 7a2b31fc4dc1..d42ac348bbc9 100644 --- a/ru/api/Phalcon_Annotations_Adapter.md +++ b/ru/api/Phalcon_Annotations_Adapter.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Annotations\\Adapter** -*implements* [Phalcon\Annotations\AdapterInterface](/en/3.1.2/api/Phalcon_Annotations_AdapterInterface) +*implements* [Phalcon\Annotations\AdapterInterface](/en/3.2/api/Phalcon_Annotations_AdapterInterface) Source on GitHub @@ -8,7 +8,7 @@ This is the base class for Phalcon\\Annotations adapters ## Methods -public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) +public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) Sets the annotations parser diff --git a/ru/api/Phalcon_Annotations_AdapterInterface.md b/ru/api/Phalcon_Annotations_AdapterInterface.md index a4e2c689503a..a1ff65cb01a1 100644 --- a/ru/api/Phalcon_Annotations_AdapterInterface.md +++ b/ru/api/Phalcon_Annotations_AdapterInterface.md @@ -4,7 +4,7 @@ ## Methods -abstract public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) +abstract public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) ... diff --git a/ru/api/Phalcon_Annotations_Adapter_Apc.md b/ru/api/Phalcon_Annotations_Adapter_Apc.md index 1b8a1d6d0d7d..467622a88425 100644 --- a/ru/api/Phalcon_Annotations_Adapter_Apc.md +++ b/ru/api/Phalcon_Annotations_Adapter_Apc.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Annotations\\Adapter\\Apc** -*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) -*implements* [Phalcon\Annotations\AdapterInterface](/en/3.1.2/api/Phalcon_Annotations_AdapterInterface) +*implements* [Phalcon\Annotations\AdapterInterface](/en/3.2/api/Phalcon_Annotations_AdapterInterface) Source on GitHub @@ -27,34 +27,34 @@ public **read** (*mixed* $key) Reads parsed annotations from APC -public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) $data) +public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) $data) Writes parsed annotations to APC -public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Sets the annotations parser -public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotation reader -public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Parses or retrieves all the annotations found in a class -public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific method -public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific property \ No newline at end of file diff --git a/ru/api/Phalcon_Annotations_Adapter_Files.md b/ru/api/Phalcon_Annotations_Adapter_Files.md index fcb4c23e6c2e..e4c407e5954e 100644 --- a/ru/api/Phalcon_Annotations_Adapter_Files.md +++ b/ru/api/Phalcon_Annotations_Adapter_Files.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Annotations\\Adapter\\Files** -*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) -*implements* [Phalcon\Annotations\AdapterInterface](/en/3.1.2/api/Phalcon_Annotations_AdapterInterface) +*implements* [Phalcon\Annotations\AdapterInterface](/en/3.2/api/Phalcon_Annotations_AdapterInterface) Source on GitHub @@ -27,38 +27,38 @@ public **__construct** ([*array* $options]) Phalcon\\Annotations\\Adapter\\Files constructor -public [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) **read** (*string* $key) +public [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) **read** (*string* $key) Reads parsed annotations from files -public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) $data) +public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) $data) Writes parsed annotations to files -public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Sets the annotations parser -public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotation reader -public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Parses or retrieves all the annotations found in a class -public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific method -public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific property \ No newline at end of file diff --git a/ru/api/Phalcon_Annotations_Adapter_Memory.md b/ru/api/Phalcon_Annotations_Adapter_Memory.md index 53fc2e3769c7..205f20e6b1b8 100644 --- a/ru/api/Phalcon_Annotations_Adapter_Memory.md +++ b/ru/api/Phalcon_Annotations_Adapter_Memory.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Annotations\\Adapter\\Memory** -*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) -*implements* [Phalcon\Annotations\AdapterInterface](/en/3.1.2/api/Phalcon_Annotations_AdapterInterface) +*implements* [Phalcon\Annotations\AdapterInterface](/en/3.2/api/Phalcon_Annotations_AdapterInterface) Source on GitHub @@ -14,34 +14,34 @@ public **read** (*mixed* $key) Reads parsed annotations from memory -public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) $data) +public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) $data) Writes parsed annotations to memory -public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Sets the annotations parser -public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotation reader -public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Parses or retrieves all the annotations found in a class -public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific method -public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific property \ No newline at end of file diff --git a/ru/api/Phalcon_Annotations_Adapter_Xcache.md b/ru/api/Phalcon_Annotations_Adapter_Xcache.md index 79bfa9e6b4d3..37c97e7e6b8c 100644 --- a/ru/api/Phalcon_Annotations_Adapter_Xcache.md +++ b/ru/api/Phalcon_Annotations_Adapter_Xcache.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Annotations\\Adapter\\Xcache** -*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) -*implements* [Phalcon\Annotations\AdapterInterface](/en/3.1.2/api/Phalcon_Annotations_AdapterInterface) +*implements* [Phalcon\Annotations\AdapterInterface](/en/3.2/api/Phalcon_Annotations_AdapterInterface) Source on GitHub @@ -17,38 +17,38 @@ $annotations = new \Phalcon\Annotations\Adapter\Xcache(); ## Methods -public [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) **read** (*string* $key) +public [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) **read** (*string* $key) Reads parsed annotations from XCache -public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) $data) +public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) $data) Writes parsed annotations to XCache -public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Sets the annotations parser -public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotation reader -public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Parses or retrieves all the annotations found in a class -public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific method -public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific property \ No newline at end of file diff --git a/ru/api/Phalcon_Annotations_Collection.md b/ru/api/Phalcon_Annotations_Collection.md index 8176520b43ea..ba33511a50fe 100644 --- a/ru/api/Phalcon_Annotations_Collection.md +++ b/ru/api/Phalcon_Annotations_Collection.md @@ -36,7 +36,7 @@ public **rewind** () Rewinds the internal iterator -public [Phalcon\Annotations\Annotation](/en/3.1.2/api/Phalcon_Annotations_Annotation) **current** () +public [Phalcon\Annotations\Annotation](/en/3.2/api/Phalcon_Annotations_Annotation) **current** () Returns the current annotation in the iterator diff --git a/ru/api/Phalcon_Annotations_Reader.md b/ru/api/Phalcon_Annotations_Reader.md index 56ca9b058cd1..4e8e513ffea9 100644 --- a/ru/api/Phalcon_Annotations_Reader.md +++ b/ru/api/Phalcon_Annotations_Reader.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Annotations\\Reader** -*implements* [Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) +*implements* [Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) Source on GitHub diff --git a/ru/api/Phalcon_Application.md b/ru/api/Phalcon_Application.md index e7e767824af2..5ff2b07edaf4 100644 --- a/ru/api/Phalcon_Application.md +++ b/ru/api/Phalcon_Application.md @@ -1,8 +1,8 @@ # Abstract class **Phalcon\\Application** -*extends* abstract class [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +*extends* abstract class [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) -*implements* [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface) +*implements* [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface) Source on GitHub @@ -10,9 +10,9 @@ Base class for Phalcon\\Cli\\Console and Phalcon\\Mvc\\Application. ## Methods -public **__construct** ([[Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector]) +public **__construct** ([[Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector]) -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) Sets the events manager @@ -62,14 +62,14 @@ abstract public **handle** () Handles a request -public **setDI** ([Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **setDI** ([Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Sets the dependency injector -public **getDI** () inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **getDI** () inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Returns the internal dependency injector -public **__get** (*mixed* $propertyName) inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **__get** (*mixed* $propertyName) inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Magic method __get \ No newline at end of file diff --git a/ru/api/Phalcon_Application_Exception.md b/ru/api/Phalcon_Application_Exception.md index ade9f4d1b49e..49637aa88e5e 100644 --- a/ru/api/Phalcon_Application_Exception.md +++ b/ru/api/Phalcon_Application_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Application\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/ru/api/Phalcon_Assets_Collection.md b/ru/api/Phalcon_Assets_Collection.md index 9c3e06cdb077..f6f18d5a1d60 100644 --- a/ru/api/Phalcon_Assets_Collection.md +++ b/ru/api/Phalcon_Assets_Collection.md @@ -56,14 +56,35 @@ public **getSourcePath** () ... -public **add** ([Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) $resource) +public **__construct** () + +Phalcon\\Assets\\Collection constructor + +public **add** ([Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) $resource) Adds a resource to the collection -public **addInline** ([Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) $code) +public **addInline** ([Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) $code) Adds an inline code to the collection +public **has** ([Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) $resource) + +Checks this the resource is added to the collection. + +```php +has($resource); // true + +``` + public **addCss** (*mixed* $path, [*mixed* $local], [*mixed* $filter], [*mixed* $attributes]) Adds a CSS resource to the collection @@ -72,7 +93,7 @@ public **addInlineCss** (*mixed* $content, [*mixed* $filter], [*mixed* $attribut Adds an inline CSS to the collection -public [Phalcon\Assets\Collection](/en/3.1.2/api/Phalcon_Assets_Collection) **addJs** (*string* $path, [*boolean* $local], [*boolean* $filter], [*array* $attributes]) +public [Phalcon\Assets\Collection](/en/3.2/api/Phalcon_Assets_Collection) **addJs** (*string* $path, [*boolean* $local], [*boolean* $filter], [*array* $attributes]) Adds a javascript resource to the collection @@ -144,6 +165,10 @@ public **getRealTargetPath** (*mixed* $basePath) Returns the complete location where the joined/filtered collection must be written -public **addFilter** ([Phalcon\Assets\FilterInterface](/en/3.1.2/api/Phalcon_Assets_FilterInterface) $filter) +public **addFilter** ([Phalcon\Assets\FilterInterface](/en/3.2/api/Phalcon_Assets_FilterInterface) $filter) + +Adds a filter to the collection + +final protected **addResource** ([Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) $resource) -Adds a filter to the collection \ No newline at end of file +Adds a resource or inline-code to the collection \ No newline at end of file diff --git a/ru/api/Phalcon_Assets_Exception.md b/ru/api/Phalcon_Assets_Exception.md index bf3c9a57c01a..4c8c0516fd94 100644 --- a/ru/api/Phalcon_Assets_Exception.md +++ b/ru/api/Phalcon_Assets_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Assets\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/ru/api/Phalcon_Assets_Filters_Cssmin.md b/ru/api/Phalcon_Assets_Filters_Cssmin.md index 75e2781f79a0..a807a59e4880 100644 --- a/ru/api/Phalcon_Assets_Filters_Cssmin.md +++ b/ru/api/Phalcon_Assets_Filters_Cssmin.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Assets\\Filters\\Cssmin** -*implements* [Phalcon\Assets\FilterInterface](/en/3.1.2/api/Phalcon_Assets_FilterInterface) +*implements* [Phalcon\Assets\FilterInterface](/en/3.2/api/Phalcon_Assets_FilterInterface) Source on GitHub diff --git a/ru/api/Phalcon_Assets_Filters_Jsmin.md b/ru/api/Phalcon_Assets_Filters_Jsmin.md index 2ee9aa7f5390..2bfe2b4851a4 100644 --- a/ru/api/Phalcon_Assets_Filters_Jsmin.md +++ b/ru/api/Phalcon_Assets_Filters_Jsmin.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Assets\\Filters\\Jsmin** -*implements* [Phalcon\Assets\FilterInterface](/en/3.1.2/api/Phalcon_Assets_FilterInterface) +*implements* [Phalcon\Assets\FilterInterface](/en/3.2/api/Phalcon_Assets_FilterInterface) Source on GitHub diff --git a/ru/api/Phalcon_Assets_Filters_None.md b/ru/api/Phalcon_Assets_Filters_None.md index 93c79dd941f6..60e59aac09de 100644 --- a/ru/api/Phalcon_Assets_Filters_None.md +++ b/ru/api/Phalcon_Assets_Filters_None.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Assets\\Filters\\None** -*implements* [Phalcon\Assets\FilterInterface](/en/3.1.2/api/Phalcon_Assets_FilterInterface) +*implements* [Phalcon\Assets\FilterInterface](/en/3.2/api/Phalcon_Assets_FilterInterface) Source on GitHub diff --git a/ru/api/Phalcon_Assets_Inline.md b/ru/api/Phalcon_Assets_Inline.md index 05a1f622aa48..e5c3ef631536 100644 --- a/ru/api/Phalcon_Assets_Inline.md +++ b/ru/api/Phalcon_Assets_Inline.md @@ -1,5 +1,7 @@ # Class **Phalcon\\Assets\\Inline** +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) + Source on GitHub Represents an inline asset @@ -43,4 +45,8 @@ Sets if the resource must be filtered or not public **setAttributes** (*array* $attributes) -Sets extra HTML attributes \ No newline at end of file +Sets extra HTML attributes + +public **getResourceKey** () + +Gets the resource's key. \ No newline at end of file diff --git a/ru/api/Phalcon_Assets_Inline_Css.md b/ru/api/Phalcon_Assets_Inline_Css.md index c4d7a9d0e919..aad74b78beca 100644 --- a/ru/api/Phalcon_Assets_Inline_Css.md +++ b/ru/api/Phalcon_Assets_Inline_Css.md @@ -1,6 +1,8 @@ # Class **Phalcon\\Assets\\Inline\\Css** -*extends* class [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +*extends* class [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) + +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) Source on GitHub @@ -10,30 +12,34 @@ Represents an inlined CSS public **__construct** (*string* $content, [*boolean* $filter], [*array* $attributes]) -public **getType** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getType** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getContent** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getContent** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getFilter** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getFilter** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getAttributes** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getAttributes** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) Sets the inline's type -public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) Sets if the resource must be filtered or not -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) + +Sets extra HTML attributes + +public **getResourceKey** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) -Sets extra HTML attributes \ No newline at end of file +Gets the resource's key. \ No newline at end of file diff --git a/ru/api/Phalcon_Assets_Inline_Js.md b/ru/api/Phalcon_Assets_Inline_Js.md index 27d57246d817..1cce336b4116 100644 --- a/ru/api/Phalcon_Assets_Inline_Js.md +++ b/ru/api/Phalcon_Assets_Inline_Js.md @@ -1,6 +1,8 @@ # Class **Phalcon\\Assets\\Inline\\Js** -*extends* class [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +*extends* class [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) + +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) Source on GitHub @@ -10,30 +12,34 @@ Represents an inline Javascript public **__construct** (*string* $content, [*boolean* $filter], [*array* $attributes]) -public **getType** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getType** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getContent** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getContent** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getFilter** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getFilter** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getAttributes** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getAttributes** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) Sets the inline's type -public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) Sets if the resource must be filtered or not -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) + +Sets extra HTML attributes + +public **getResourceKey** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) -Sets extra HTML attributes \ No newline at end of file +Gets the resource's key. \ No newline at end of file diff --git a/ru/api/Phalcon_Assets_Manager.md b/ru/api/Phalcon_Assets_Manager.md index 55ab07f19201..13ecabf4ff9c 100644 --- a/ru/api/Phalcon_Assets_Manager.md +++ b/ru/api/Phalcon_Assets_Manager.md @@ -52,7 +52,7 @@ public **addInlineJs** (*mixed* $content, [*mixed* $filter], [*mixed* $attribute Adds an inline javascript to the 'js' collection -public **addResourceByType** (*mixed* $type, [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) $resource) +public **addResourceByType** (*mixed* $type, [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) $resource) Adds a resource by its type @@ -65,11 +65,11 @@ $assets->addResourceByType("css", ``` -public **addInlineCodeByType** (*mixed* $type, [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) $code) +public **addInlineCodeByType** (*mixed* $type, [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) $code) Adds an inline code by its type -public **addResource** ([Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) $resource) +public **addResource** ([Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) $resource) Adds a raw resource to the manager @@ -82,11 +82,11 @@ $assets->addResource( ``` -public **addInlineCode** ([Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) $code) +public **addInlineCode** ([Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) $code) Adds a raw inline code to the manager -public **set** (*mixed* $id, [Phalcon\Assets\Collection](/en/3.1.2/api/Phalcon_Assets_Collection) $collection) +public **set** (*mixed* $id, [Phalcon\Assets\Collection](/en/3.2/api/Phalcon_Assets_Collection) $collection) Sets a collection in the Assets Manager @@ -99,7 +99,7 @@ $assets->set("js", $collection); public **get** (*mixed* $id) -Returns a collection by its id +Returns a collection by its id. ```php exists("jsHeader")) { + // \Phalcon\Assets\Collection + $collection = $assets->get("jsHeader"); +} + +``` \ No newline at end of file diff --git a/ru/api/Phalcon_Assets_Resource.md b/ru/api/Phalcon_Assets_Resource.md index 9718061c348e..d67dc71b7929 100644 --- a/ru/api/Phalcon_Assets_Resource.md +++ b/ru/api/Phalcon_Assets_Resource.md @@ -1,5 +1,7 @@ # Class **Phalcon\\Assets\\Resource** +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) + Source on GitHub Represents an asset resource @@ -85,4 +87,8 @@ Returns the complete location where the resource is located public **getRealTargetPath** ([*mixed* $basePath]) -Returns the complete location where the resource must be written \ No newline at end of file +Returns the complete location where the resource must be written + +public **getResourceKey** () + +Gets the resource's key. \ No newline at end of file diff --git a/ru/api/Phalcon_Assets_Resource_Css.md b/ru/api/Phalcon_Assets_Resource_Css.md index 9376a4de5f6d..11c938e391ca 100644 --- a/ru/api/Phalcon_Assets_Resource_Css.md +++ b/ru/api/Phalcon_Assets_Resource_Css.md @@ -1,6 +1,8 @@ # Class **Phalcon\\Assets\\Resource\\Css** -*extends* class [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +*extends* class [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) + +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) Source on GitHub @@ -10,72 +12,76 @@ Represents CSS resources public **__construct** (*string* $path, [*boolean* $local], [*boolean* $filter], [*array* $attributes]) -public **getType** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getType** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getPath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getPath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getLocal** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getLocal** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getFilter** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getFilter** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getAttributes** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getAttributes** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getSourcePath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getSourcePath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **getTargetPath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getTargetPath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **getTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's type -public **setPath** (*mixed* $path) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setPath** (*mixed* $path) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's path -public **setLocal** (*mixed* $local) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setLocal** (*mixed* $local) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets if the resource is local or external -public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets if the resource must be filtered or not -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets extra HTML attributes -public **setTargetUri** (*mixed* $targetUri) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setTargetUri** (*mixed* $targetUri) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets a target uri for the generated HTML -public **setSourcePath** (*mixed* $sourcePath) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setSourcePath** (*mixed* $sourcePath) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's source path -public **setTargetPath** (*mixed* $targetPath) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setTargetPath** (*mixed* $targetPath) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's target path -public **getContent** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getContent** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the content of the resource as an string Optionally a base path where the resource is located can be set -public **getRealTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the real target uri for the generated HTML -public **getRealSourcePath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealSourcePath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the complete location where the resource is located -public **getRealTargetPath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealTargetPath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) + +Returns the complete location where the resource must be written + +public **getResourceKey** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -Returns the complete location where the resource must be written \ No newline at end of file +Gets the resource's key. \ No newline at end of file diff --git a/ru/api/Phalcon_Assets_Resource_Js.md b/ru/api/Phalcon_Assets_Resource_Js.md index a4c132ff1ed1..2acc4d239b9d 100644 --- a/ru/api/Phalcon_Assets_Resource_Js.md +++ b/ru/api/Phalcon_Assets_Resource_Js.md @@ -1,6 +1,8 @@ # Class **Phalcon\\Assets\\Resource\\Js** -*extends* class [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +*extends* class [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) + +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) Source on GitHub @@ -10,72 +12,76 @@ Represents Javascript resources public **__construct** (*string* $path, [*boolean* $local], [*boolean* $filter], [*array* $attributes]) -public **getType** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getType** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getPath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getPath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getLocal** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getLocal** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getFilter** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getFilter** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getAttributes** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getAttributes** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getSourcePath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getSourcePath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **getTargetPath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getTargetPath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **getTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's type -public **setPath** (*mixed* $path) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setPath** (*mixed* $path) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's path -public **setLocal** (*mixed* $local) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setLocal** (*mixed* $local) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets if the resource is local or external -public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets if the resource must be filtered or not -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets extra HTML attributes -public **setTargetUri** (*mixed* $targetUri) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setTargetUri** (*mixed* $targetUri) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets a target uri for the generated HTML -public **setSourcePath** (*mixed* $sourcePath) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setSourcePath** (*mixed* $sourcePath) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's source path -public **setTargetPath** (*mixed* $targetPath) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setTargetPath** (*mixed* $targetPath) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's target path -public **getContent** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getContent** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the content of the resource as an string Optionally a base path where the resource is located can be set -public **getRealTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the real target uri for the generated HTML -public **getRealSourcePath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealSourcePath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the complete location where the resource is located -public **getRealTargetPath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealTargetPath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) + +Returns the complete location where the resource must be written + +public **getResourceKey** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -Returns the complete location where the resource must be written \ No newline at end of file +Gets the resource's key. \ No newline at end of file diff --git a/ru/api/Phalcon_Cache_Backend.md b/ru/api/Phalcon_Cache_Backend.md index f81ba2e57820..6e8b2e14bbff 100644 --- a/ru/api/Phalcon_Cache_Backend.md +++ b/ru/api/Phalcon_Cache_Backend.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Cache\\Backend** -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -32,7 +32,7 @@ public **setLastKey** (*mixed* $lastKey) ... -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend constructor @@ -56,22 +56,22 @@ public *int* **getLifetime** () Gets the last lifetime set -abstract public **get** (*mixed* $keyName, [*mixed* $lifetime]) inherited from [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +abstract public **get** (*mixed* $keyName, [*mixed* $lifetime]) inherited from [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) ... -abstract public **save** ([*mixed* $keyName], [*mixed* $content], [*mixed* $lifetime], [*mixed* $stopBuffer]) inherited from [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +abstract public **save** ([*mixed* $keyName], [*mixed* $content], [*mixed* $lifetime], [*mixed* $stopBuffer]) inherited from [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) ... -abstract public **delete** (*mixed* $keyName) inherited from [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +abstract public **delete** (*mixed* $keyName) inherited from [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) ... -abstract public **queryKeys** ([*mixed* $prefix]) inherited from [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +abstract public **queryKeys** ([*mixed* $prefix]) inherited from [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) ... -abstract public **exists** ([*mixed* $keyName], [*mixed* $lifetime]) inherited from [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +abstract public **exists** ([*mixed* $keyName], [*mixed* $lifetime]) inherited from [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) ... \ No newline at end of file diff --git a/ru/api/Phalcon_Cache_Backend_Apc.md b/ru/api/Phalcon_Cache_Backend_Apc.md index 6f08c1fef4b7..92b01c89d25a 100644 --- a/ru/api/Phalcon_Cache_Backend_Apc.md +++ b/ru/api/Phalcon_Cache_Backend_Apc.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Apc** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -94,50 +94,50 @@ $cache->flush(); ``` -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Phalcon\\Cache\\Backend constructor -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/ru/api/Phalcon_Cache_Backend_File.md b/ru/api/Phalcon_Cache_Backend_File.md index 78c3aff0e84c..3ea73b705889 100644 --- a/ru/api/Phalcon_Cache_Backend_File.md +++ b/ru/api/Phalcon_Cache_Backend_File.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\File** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -44,7 +44,7 @@ if ($content === null) { ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, *array* $options) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, *array* $options) Phalcon\\Cache\\Backend\\File constructor @@ -98,46 +98,46 @@ public **useSafeKey** (*mixed* $useSafeKey) Set whether to use the safekey or not -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/ru/api/Phalcon_Cache_Backend_Libmemcached.md b/ru/api/Phalcon_Cache_Backend_Libmemcached.md index 88948897b300..9ec4b031d82e 100644 --- a/ru/api/Phalcon_Cache_Backend_Libmemcached.md +++ b/ru/api/Phalcon_Cache_Backend_Libmemcached.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Libmemcached** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -49,7 +49,7 @@ $data = $cache->get("my-data"); ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend\\Memcache constructor @@ -116,46 +116,46 @@ $cache->flush(); ``` -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/ru/api/Phalcon_Cache_Backend_Memcache.md b/ru/api/Phalcon_Cache_Backend_Memcache.md index 7310592149b1..6f2575ca5c8d 100644 --- a/ru/api/Phalcon_Cache_Backend_Memcache.md +++ b/ru/api/Phalcon_Cache_Backend_Memcache.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Memcache** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -43,7 +43,7 @@ $data = $cache->get("my-data"); ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend\\Memcache constructor @@ -97,46 +97,46 @@ public **flush** () Immediately invalidates all existing items. -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/ru/api/Phalcon_Cache_Backend_Memory.md b/ru/api/Phalcon_Cache_Backend_Memory.md index 06a4216cf7ac..a269432ab9f3 100644 --- a/ru/api/Phalcon_Cache_Backend_Memory.md +++ b/ru/api/Phalcon_Cache_Backend_Memory.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Memory** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface), [Serializable](http://php.net/manual/en/class.serializable.php) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface), [Serializable](http://php.net/manual/en/class.serializable.php) Source on GitHub @@ -79,50 +79,50 @@ public **unserialize** (*mixed* $data) Required for interface \\Serializable -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Phalcon\\Cache\\Backend constructor -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/ru/api/Phalcon_Cache_Backend_Mongo.md b/ru/api/Phalcon_Cache_Backend_Mongo.md index 9ad0f67b530c..6421cd0f4f29 100644 --- a/ru/api/Phalcon_Cache_Backend_Mongo.md +++ b/ru/api/Phalcon_Cache_Backend_Mongo.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Mongo** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -44,7 +44,7 @@ $data = $cache->get("my-data"); ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend\\Mongo constructor @@ -98,46 +98,46 @@ public **flush** () Immediately invalidates all existing items. -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/ru/api/Phalcon_Cache_Backend_Redis.md b/ru/api/Phalcon_Cache_Backend_Redis.md index 123bf025f2af..a3509251d509 100644 --- a/ru/api/Phalcon_Cache_Backend_Redis.md +++ b/ru/api/Phalcon_Cache_Backend_Redis.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Redis** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -45,7 +45,7 @@ $data = $cache->get("my-data"); ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend\\Redis constructor @@ -105,46 +105,46 @@ public **flush** () Immediately invalidates all existing items. -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/ru/api/Phalcon_Cache_Backend_Xcache.md b/ru/api/Phalcon_Cache_Backend_Xcache.md index b91e75b19c79..7dac8215d5f3 100644 --- a/ru/api/Phalcon_Cache_Backend_Xcache.md +++ b/ru/api/Phalcon_Cache_Backend_Xcache.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Xcache** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -38,7 +38,7 @@ $data = $cache->get("my-data"); ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend\\Xcache constructor @@ -84,46 +84,46 @@ public **flush** () Immediately invalidates all existing items. -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/ru/api/Phalcon_Cache_Exception.md b/ru/api/Phalcon_Cache_Exception.md index cbb05a3a76e4..87f2372e7864 100644 --- a/ru/api/Phalcon_Cache_Exception.md +++ b/ru/api/Phalcon_Cache_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/ru/api/Phalcon_Cache_Frontend_Base64.md b/ru/api/Phalcon_Cache_Frontend_Base64.md index 92f36996b4b7..473895a88aa8 100644 --- a/ru/api/Phalcon_Cache_Frontend_Base64.md +++ b/ru/api/Phalcon_Cache_Frontend_Base64.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Frontend\\Base64** -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/ru/api/Phalcon_Cache_Frontend_Data.md b/ru/api/Phalcon_Cache_Frontend_Data.md index f46469ab7410..1f249be7103c 100644 --- a/ru/api/Phalcon_Cache_Frontend_Data.md +++ b/ru/api/Phalcon_Cache_Frontend_Data.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Frontend\\Data** -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/ru/api/Phalcon_Cache_Frontend_Igbinary.md b/ru/api/Phalcon_Cache_Frontend_Igbinary.md index 1460a42ce867..714a96bb4de1 100644 --- a/ru/api/Phalcon_Cache_Frontend_Igbinary.md +++ b/ru/api/Phalcon_Cache_Frontend_Igbinary.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Frontend\\Igbinary** -*extends* class [Phalcon\Cache\Frontend\Data](/en/3.1.2/api/Phalcon_Cache_Frontend_Data) +*extends* class [Phalcon\Cache\Frontend\Data](/en/3.2/api/Phalcon_Cache_Frontend_Data) -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/ru/api/Phalcon_Cache_Frontend_Json.md b/ru/api/Phalcon_Cache_Frontend_Json.md index 64a296ca976f..bfe39cdc53c4 100644 --- a/ru/api/Phalcon_Cache_Frontend_Json.md +++ b/ru/api/Phalcon_Cache_Frontend_Json.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Frontend\\Json** -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/ru/api/Phalcon_Cache_Frontend_Msgpack.md b/ru/api/Phalcon_Cache_Frontend_Msgpack.md index f77a99a21168..857b40d4bbdc 100644 --- a/ru/api/Phalcon_Cache_Frontend_Msgpack.md +++ b/ru/api/Phalcon_Cache_Frontend_Msgpack.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Frontend\\Msgpack** -*extends* class [Phalcon\Cache\Frontend\Data](/en/3.1.2/api/Phalcon_Cache_Frontend_Data) +*extends* class [Phalcon\Cache\Frontend\Data](/en/3.2/api/Phalcon_Cache_Frontend_Data) -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/ru/api/Phalcon_Cache_Frontend_None.md b/ru/api/Phalcon_Cache_Frontend_None.md index 521fcd02f344..bdc0af2d4135 100644 --- a/ru/api/Phalcon_Cache_Frontend_None.md +++ b/ru/api/Phalcon_Cache_Frontend_None.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Frontend\\None** -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/ru/api/Phalcon_Cache_Frontend_Output.md b/ru/api/Phalcon_Cache_Frontend_Output.md index 8421c02f1276..c6a0543703d6 100644 --- a/ru/api/Phalcon_Cache_Frontend_Output.md +++ b/ru/api/Phalcon_Cache_Frontend_Output.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Frontend\\Output** -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/ru/api/Phalcon_Cache_Multiple.md b/ru/api/Phalcon_Cache_Multiple.md index bbfa61a13274..1d9fd1365aa9 100644 --- a/ru/api/Phalcon_Cache_Multiple.md +++ b/ru/api/Phalcon_Cache_Multiple.md @@ -65,11 +65,11 @@ $cache->save("my-key", $data); ## Methods -public **__construct** ([[Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface[]) $backends]) +public **__construct** ([[Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface[]) $backends]) Phalcon\\Cache\\Multiple constructor -public **push** ([Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) $backend) +public **push** ([Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) $backend) Adds a backend diff --git a/ru/api/Phalcon_Cli_Console.md b/ru/api/Phalcon_Cli_Console.md index c769b7ad7659..f0337bf3f1ec 100644 --- a/ru/api/Phalcon_Cli_Console.md +++ b/ru/api/Phalcon_Cli_Console.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cli\\Console** -*extends* abstract class [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +*extends* abstract class [Phalcon\Application](/en/3.2/api/Phalcon_Application) -*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -36,19 +36,19 @@ public **setArgument** ([*array* $arguments], [*mixed* $str], [*mixed* $shift]) Set an specific argument -public **__construct** ([[Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector]) inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **__construct** ([[Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector]) inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Phalcon\\Application -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Sets the events manager -public **getEventsManager** () inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **getEventsManager** () inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Returns the internal event manager -public **registerModules** (*array* $modules, [*mixed* $merge]) inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **registerModules** (*array* $modules, [*mixed* $merge]) inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Register an array of modules present in the application @@ -70,30 +70,30 @@ $this->registerModules( ``` -public **getModules** () inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **getModules** () inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Return the modules registered in the application -public **getModule** (*mixed* $name) inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **getModule** (*mixed* $name) inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Gets the module definition registered in the application via module name -public **setDefaultModule** (*mixed* $defaultModule) inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **setDefaultModule** (*mixed* $defaultModule) inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Sets the module name to be used if the router doesn't return a valid module -public **getDefaultModule** () inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **getDefaultModule** () inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Returns the default module name -public **setDI** ([Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **setDI** ([Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Sets the dependency injector -public **getDI** () inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **getDI** () inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Returns the internal dependency injector -public **__get** (*mixed* $propertyName) inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **__get** (*mixed* $propertyName) inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Magic method __get \ No newline at end of file diff --git a/ru/api/Phalcon_Cli_Console_Exception.md b/ru/api/Phalcon_Cli_Console_Exception.md index 64a6f1f9162a..e7bfea5dbde1 100644 --- a/ru/api/Phalcon_Cli_Console_Exception.md +++ b/ru/api/Phalcon_Cli_Console_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cli\\Console\\Exception** -*extends* class [Phalcon\Application\Exception](/en/3.1.2/api/Phalcon_Application_Exception) +*extends* class [Phalcon\Application\Exception](/en/3.2/api/Phalcon_Application_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/ru/api/Phalcon_Cli_Dispatcher.md b/ru/api/Phalcon_Cli_Dispatcher.md index 7b91f5c9f537..f03b7c7c61ac 100644 --- a/ru/api/Phalcon_Cli_Dispatcher.md +++ b/ru/api/Phalcon_Cli_Dispatcher.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cli\\Dispatcher** -*extends* abstract class [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +*extends* abstract class [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) -*implements* [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface), [Phalcon\Cli\DispatcherInterface](/en/3.1.2/api/Phalcon_Cli_DispatcherInterface) +*implements* [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface), [Phalcon\Cli\DispatcherInterface](/en/3.2/api/Phalcon_Cli_DispatcherInterface) Source on GitHub @@ -11,10 +11,11 @@ Dispatching is the process of taking the command-line arguments, extracting the ```php setDi($di); $dispatcher->setTaskName("posts"); @@ -81,107 +82,115 @@ public **getOptions** () Get dispatched options +public **getOption** (*mixed* $option, [*string* | *array* $filters], [*mixed* $defaultValue]) + +Gets an option by its name or numeric index + +public **hasOption** (*mixed* $option) + +Check if an option exists + public **callActionMethod** (*mixed* $handler, *mixed* $actionMethod, [*array* $params]) -... +Calls the action method. -public **setDI** ([Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setDI** ([Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the dependency injector -public **getDI** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getDI** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns the internal dependency injector -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the events manager -public **getEventsManager** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getEventsManager** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns the internal event manager -public **setActionSuffix** (*mixed* $actionSuffix) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setActionSuffix** (*mixed* $actionSuffix) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the default action suffix -public **getActionSuffix** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getActionSuffix** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets the default action suffix -public **setModuleName** (*mixed* $moduleName) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setModuleName** (*mixed* $moduleName) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the module where the controller is (only informative) -public **getModuleName** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getModuleName** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets the module where the controller class is -public **setNamespaceName** (*mixed* $namespaceName) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setNamespaceName** (*mixed* $namespaceName) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the namespace where the controller class is -public **getNamespaceName** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getNamespaceName** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets a namespace to be prepended to the current handler name -public **setDefaultNamespace** (*mixed* $namespaceName) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setDefaultNamespace** (*mixed* $namespaceName) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the default namespace -public **getDefaultNamespace** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getDefaultNamespace** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns the default namespace -public **setDefaultAction** (*mixed* $actionName) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setDefaultAction** (*mixed* $actionName) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the default action name -public **setActionName** (*mixed* $actionName) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setActionName** (*mixed* $actionName) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the action name to be dispatched -public **getActionName** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getActionName** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets the latest dispatched action name -public **setParams** (*array* $params) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setParams** (*array* $params) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets action params to be dispatched -public **getParams** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getParams** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets action params -public **setParam** (*mixed* $param, *mixed* $value) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setParam** (*mixed* $param, *mixed* $value) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Set a param by its name or numeric index -public *mixed* **getParam** (*mixed* $param, [*string* | *array* $filters], [*mixed* $defaultValue]) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public *mixed* **getParam** (*mixed* $param, [*string* | *array* $filters], [*mixed* $defaultValue]) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets a param by its name or numeric index -public *boolean* **hasParam** (*mixed* $param) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public *boolean* **hasParam** (*mixed* $param) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Check if a param exists -public **getActiveMethod** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getActiveMethod** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns the current method to be/executed in the dispatcher -public **isFinished** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **isFinished** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Checks if the dispatch loop is finished or has more pendent controllers/tasks to dispatch -public **setReturnedValue** (*mixed* $value) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setReturnedValue** (*mixed* $value) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the latest returned value by an action manually -public *mixed* **getReturnedValue** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public *mixed* **getReturnedValue** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns value returned by the latest dispatched action -public **setModelBinding** (*mixed* $value, [*mixed* $cache]) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setModelBinding** (*mixed* $value, [*mixed* $cache]) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Enable/Disable model binding during dispatch @@ -197,7 +206,7 @@ $di->set('dispatcher', function() { ``` -public **setModelBinder** ([Phalcon\Mvc\Model\BinderInterface](/en/3.1.2/api/Phalcon_Mvc_Model_BinderInterface) $modelBinder, [*mixed* $cache]) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setModelBinder** ([Phalcon\Mvc\Model\BinderInterface](/en/3.2/api/Phalcon_Mvc_Model_BinderInterface) $modelBinder, [*mixed* $cache]) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Enable model binding during dispatch @@ -213,21 +222,21 @@ $di->set('dispatcher', function() { ``` -public **getModelBinder** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getModelBinder** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets model binder -public *object* **dispatch** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public *object* **dispatch** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Dispatches a handle action taking into account the routing parameters -protected *object* **_dispatch** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +protected *object* **_dispatch** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Dispatches a handle action taking into account the routing parameters -public **forward** (*array* $forward) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **forward** (*array* $forward) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) -Forwards the execution flow to another controller/action Dispatchers are unique per module. Forwarding between modules is not allowed +Forwards the execution flow to another controller/action. ```php dispatcher->forward( ``` -public **wasForwarded** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **wasForwarded** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Check if the current executed action was forwarded by another one -public **getHandlerClass** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getHandlerClass** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Possible class name that will be located to dispatch the request -public **getBoundModels** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getBoundModels** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns bound models from binder instance @@ -266,6 +275,6 @@ class UserController extends Controller ``` -protected **_resolveEmptyProperties** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +protected **_resolveEmptyProperties** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Set empty properties to their defaults (where defaults are available) \ No newline at end of file diff --git a/ru/api/Phalcon_Cli_DispatcherInterface.md b/ru/api/Phalcon_Cli_DispatcherInterface.md index 58914bf4b682..78f4d7b40c9c 100644 --- a/ru/api/Phalcon_Cli_DispatcherInterface.md +++ b/ru/api/Phalcon_Cli_DispatcherInterface.md @@ -1,6 +1,6 @@ # Interface **Phalcon\\Cli\\DispatcherInterface** -*implements* [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +*implements* [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) Source on GitHub @@ -30,70 +30,70 @@ abstract public **getActiveTask** () ... -abstract public **setActionSuffix** (*mixed* $actionSuffix) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setActionSuffix** (*mixed* $actionSuffix) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **getActionSuffix** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **getActionSuffix** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setDefaultNamespace** (*mixed* $defaultNamespace) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setDefaultNamespace** (*mixed* $defaultNamespace) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setDefaultAction** (*mixed* $actionName) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setDefaultAction** (*mixed* $actionName) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setNamespaceName** (*mixed* $namespaceName) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setNamespaceName** (*mixed* $namespaceName) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setModuleName** (*mixed* $moduleName) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setModuleName** (*mixed* $moduleName) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setActionName** (*mixed* $actionName) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setActionName** (*mixed* $actionName) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **getActionName** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **getActionName** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setParams** (*mixed* $params) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setParams** (*mixed* $params) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **getParams** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **getParams** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setParam** (*mixed* $param, *mixed* $value) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setParam** (*mixed* $param, *mixed* $value) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **getParam** (*mixed* $param, [*mixed* $filters]) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **getParam** (*mixed* $param, [*mixed* $filters]) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **hasParam** (*mixed* $param) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **hasParam** (*mixed* $param) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **isFinished** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **isFinished** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **getReturnedValue** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **getReturnedValue** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **dispatch** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **dispatch** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **forward** (*mixed* $forward) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **forward** (*mixed* $forward) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... \ No newline at end of file diff --git a/ru/api/Phalcon_Cli_Dispatcher_Exception.md b/ru/api/Phalcon_Cli_Dispatcher_Exception.md index 0eeb05860d89..fbd0a6c4292d 100644 --- a/ru/api/Phalcon_Cli_Dispatcher_Exception.md +++ b/ru/api/Phalcon_Cli_Dispatcher_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cli\\Dispatcher\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/ru/api/Phalcon_Cli_Router.md b/ru/api/Phalcon_Cli_Router.md index d2cb10a44276..5a0943627b36 100644 --- a/ru/api/Phalcon_Cli_Router.md +++ b/ru/api/Phalcon_Cli_Router.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cli\\Router** -*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface) +*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface) Source on GitHub @@ -29,7 +29,7 @@ public **__construct** ([*mixed* $defaultRoutes]) Phalcon\\Cli\\Router constructor -public **setDI** ([Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector) +public **setDI** ([Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector) Sets the dependency injector @@ -69,7 +69,7 @@ public **handle** ([*array* $arguments]) Handles routing information received from command-line arguments -public [Phalcon\Cli\Router\Route](/en/3.1.2/api/Phalcon_Cli_Router_Route) **add** (*string* $pattern, [*string/array* $paths]) +public [Phalcon\Cli\Router\Route](/en/3.2/api/Phalcon_Cli_Router_Route) **add** (*string* $pattern, [*string/array* $paths]) Adds a route to the router @@ -112,7 +112,7 @@ public **getRoutes** () Returns all the routes defined in the router -public [Phalcon\Cli\Router\Route](/en/3.1.2/api/Phalcon_Cli_Router_Route) **getRouteById** (*int* $id) +public [Phalcon\Cli\Router\Route](/en/3.2/api/Phalcon_Cli_Router_Route) **getRouteById** (*int* $id) Returns a route object by its id diff --git a/ru/api/Phalcon_Cli_Router_Exception.md b/ru/api/Phalcon_Cli_Router_Exception.md index ebd81a411422..e063b3861132 100644 --- a/ru/api/Phalcon_Cli_Router_Exception.md +++ b/ru/api/Phalcon_Cli_Router_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cli\\Router\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/ru/api/Phalcon_Db_Adapter.md b/ru/api/Phalcon_Db_Adapter.md index c1deaded19cd..a5d397a98c83 100644 --- a/ru/api/Phalcon_Db_Adapter.md +++ b/ru/api/Phalcon_Db_Adapter.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Db\\Adapter** -*implements* [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -24,7 +24,7 @@ public **__construct** (*array* $descriptor) Phalcon\\Db\\Adapter constructor -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) Sets the event manager @@ -32,7 +32,7 @@ public **getEventsManager** () Returns the internal event manager -public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) $dialect) +public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) $dialect) Sets the dialect used to produce the SQL @@ -309,11 +309,11 @@ public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExist Drops a view -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Adds a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) Modifies a table column based on a definition @@ -321,7 +321,7 @@ public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnN Drops a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Adds an index to a table @@ -329,7 +329,7 @@ public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexNam Drop an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Adds a primary key to a table @@ -337,7 +337,7 @@ public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) Drops a table's primary key -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) Adds a foreign key to a table @@ -345,7 +345,7 @@ public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $ref Drops a foreign key from a table -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Returns the SQL column definition from a column @@ -375,7 +375,7 @@ print_r( ``` -public [Phalcon\Db\Index](/en/3.1.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) +public [Phalcon\Db\Index](/en/3.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) Lists table indexes @@ -512,54 +512,54 @@ public *array* **getSQLBindTypes** () Active SQL statement in the object -abstract public **connect** ([*array* $descriptor]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **connect** ([*array* $descriptor]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **query** (*mixed* $sqlStatement, [*mixed* $placeholders], [*mixed* $dataTypes]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **query** (*mixed* $sqlStatement, [*mixed* $placeholders], [*mixed* $dataTypes]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **execute** (*mixed* $sqlStatement, [*mixed* $placeholders], [*mixed* $dataTypes]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **execute** (*mixed* $sqlStatement, [*mixed* $placeholders], [*mixed* $dataTypes]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **affectedRows** () inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **affectedRows** () inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **close** () inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **close** () inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **lastInsertId** ([*mixed* $sequenceName]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **lastInsertId** ([*mixed* $sequenceName]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **isUnderTransaction** () inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **isUnderTransaction** () inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **getInternalHandler** () inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **getInternalHandler** () inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... \ No newline at end of file diff --git a/ru/api/Phalcon_Db_AdapterInterface.md b/ru/api/Phalcon_Db_AdapterInterface.md index 2b9bec9a2acd..4c6a8f54b3f1 100644 --- a/ru/api/Phalcon_Db_AdapterInterface.md +++ b/ru/api/Phalcon_Db_AdapterInterface.md @@ -64,11 +64,11 @@ abstract public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* ... -abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) ... -abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) ... @@ -76,7 +76,7 @@ abstract public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* ... -abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) ... @@ -84,7 +84,7 @@ abstract public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* ... -abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) ... @@ -92,7 +92,7 @@ abstract public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) ... -abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) ... @@ -100,7 +100,7 @@ abstract public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mi ... -abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) ... diff --git a/ru/api/Phalcon_Db_Adapter_Pdo.md b/ru/api/Phalcon_Db_Adapter_Pdo.md index 44de7d9e6e1f..c23a014e3d58 100644 --- a/ru/api/Phalcon_Db_Adapter_Pdo.md +++ b/ru/api/Phalcon_Db_Adapter_Pdo.md @@ -1,8 +1,8 @@ # Abstract class **Phalcon\\Db\\Adapter\\Pdo** -*extends* abstract class [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +*extends* abstract class [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) -*implements* [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +*implements* [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) Source on GitHub @@ -262,35 +262,35 @@ public *array* **getErrorInfo** () Return the error info, if any -public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Name of the dialect used -public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Type of database system the adapter is used for -public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL bound parameter variables -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the event manager -public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the internal event manager -public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the dialect used to produce the SQL -public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns internal dialect instance -public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the first row in a SQL query result @@ -307,7 +307,7 @@ print_r($robot); ``` -public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Dumps the complete result of a query into an array @@ -338,7 +338,7 @@ foreach($robots as $robot) { ``` -public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the n'th field of first row in a SQL query result @@ -358,7 +358,7 @@ print_r($robot); ``` -public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RDBMS SQL syntax @@ -377,7 +377,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RBDM SQL syntax @@ -398,7 +398,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax @@ -435,7 +435,7 @@ $success = $connection->update( Warning! If $whereCondition is string it not escaped. -public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax Another, more convenient syntax @@ -456,7 +456,7 @@ UPDATE `robots` SET `name` = "Astro boy" WHERE id = 101 ``` -public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Deletes data from a table using custom RBDM SQL syntax @@ -474,7 +474,7 @@ DELETE FROM `robots` WHERE `id` = 101 ``` -public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Escapes a column/table/schema name @@ -494,11 +494,11 @@ $escapedTable = $connection->escapeIdentifier( ``` -public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets a list of columns -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Appends a LIMIT clause to $sqlQuery argument @@ -509,7 +509,7 @@ echo $connection->limit("SELECT * FROM robots", 5); ``` -public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.table @@ -522,7 +522,7 @@ var_dump( ``` -public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.view @@ -535,71 +535,71 @@ var_dump( ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a FOR UPDATE clause -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a LOCK IN SHARE MODE clause -public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a table -public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table from a schema/database -public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a view -public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a view -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Modifies a table column based on a definition -public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds an index to a table -public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drop an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a primary key to a table -public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table's primary key -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a foreign key to a table -public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a foreign key from a table -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the SQL column definition from a column -public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all tables on a database @@ -612,7 +612,7 @@ print_r( ``` -public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all views on a database @@ -625,7 +625,7 @@ print_r( ``` -public [Phalcon\Db\Index](/en/3.1.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public [Phalcon\Db\Index](/en/3.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Lists table indexes @@ -638,7 +638,7 @@ print_r( ``` -public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Lists table references @@ -651,7 +651,7 @@ print_r( ``` -public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets creation options from a table @@ -664,31 +664,31 @@ print_r( ``` -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Releases given savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Rollbacks given savepoint -public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Set if nested transactions should use savepoints -public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns if nested transactions should use savepoints -public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the savepoint name to use for nested transactions -public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default identity value to be inserted in an identity column @@ -712,7 +712,7 @@ $success = $connection->insert( ``` -public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default value to make the RBDM use the default value declared in the table definition @@ -734,34 +734,34 @@ $success = $connection->insert( ``` -public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Check whether the database system requires a sequence to produce auto-numeric values -public **useExplicitIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **useExplicitIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Check whether the database system requires an explicit value for identity columns -public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Return descriptor used to connect to the active database -public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets the active connection unique identifier -public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object -public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object without replace bound parameters -public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object -abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... \ No newline at end of file diff --git a/ru/api/Phalcon_Db_Adapter_Pdo_Mysql.md b/ru/api/Phalcon_Db_Adapter_Pdo_Mysql.md index fe17030fddcf..5013bf0def80 100644 --- a/ru/api/Phalcon_Db_Adapter_Pdo_Mysql.md +++ b/ru/api/Phalcon_Db_Adapter_Pdo_Mysql.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Adapter\\Pdo\\Mysql** -*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) -*implements* [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -40,7 +40,7 @@ print_r( ``` -public [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface[]) **describeIndexes** (*string* $table, [*string* $schema]) +public [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface[]) **describeIndexes** (*string* $table, [*string* $schema]) Lists table indexes @@ -66,11 +66,11 @@ print_r( ``` -public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Constructor for Phalcon\\Db\\Adapter\\Pdo -public **connect** ([*array* $descriptor]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **connect** ([*array* $descriptor]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) This method is automatically called in \\Phalcon\\Db\\Adapter\\Pdo constructor. Call it when you need to restore a database connection. @@ -95,7 +95,7 @@ $connection->connect(); ``` -public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns a PDO prepared statement to be executed with 'executePrepared' @@ -120,7 +120,7 @@ $result = $connection->executePrepared( ``` -public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Executes a prepared statement binding. This function uses integer indexes starting from zero @@ -145,7 +145,7 @@ $result = $connection->executePrepared( ``` -public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server is returning rows @@ -166,7 +166,7 @@ $resultset = $connection->query( ``` -public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server doesn't return any rows @@ -188,7 +188,7 @@ $success = $connection->execute( ``` -public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the number of affected rows by the latest INSERT/UPDATE/DELETE executed in the database system @@ -203,11 +203,11 @@ echo $connection->affectedRows(), " were deleted"; ``` -public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Closes the active connection returning success. Phalcon automatically closes and destroys active connections when the request ends -public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Escapes a value to avoid SQL injections according to the active charset in the connection @@ -218,7 +218,7 @@ $escapedStr = $connection->escapeString("some dangerous value"); ``` -public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Converts bound parameters such as :name: or ?1 into PDO bind params ? @@ -236,7 +236,7 @@ print_r( ``` -public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the insert id for the auto_increment/serial column inserted in the latest executed SQL statement @@ -261,23 +261,23 @@ $id = $connection->lastInsertId(); ``` -public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Starts a transaction in the connection -public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Rollbacks the active transaction in the connection -public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Commits the active transaction in the connection -public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the current transaction nesting level -public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Checks whether the connection is under a transaction @@ -293,43 +293,43 @@ var_dump( ``` -public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return internal PDO handler -public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return the error info, if any -public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Name of the dialect used -public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Type of database system the adapter is used for -public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL bound parameter variables -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the event manager -public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the internal event manager -public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the dialect used to produce the SQL -public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns internal dialect instance -public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the first row in a SQL query result @@ -346,7 +346,7 @@ print_r($robot); ``` -public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Dumps the complete result of a query into an array @@ -377,7 +377,7 @@ foreach($robots as $robot) { ``` -public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the n'th field of first row in a SQL query result @@ -397,7 +397,7 @@ print_r($robot); ``` -public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RDBMS SQL syntax @@ -416,7 +416,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RBDM SQL syntax @@ -437,7 +437,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax @@ -474,7 +474,7 @@ $success = $connection->update( Warning! If $whereCondition is string it not escaped. -public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax Another, more convenient syntax @@ -495,7 +495,7 @@ UPDATE `robots` SET `name` = "Astro boy" WHERE id = 101 ``` -public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Deletes data from a table using custom RBDM SQL syntax @@ -513,7 +513,7 @@ DELETE FROM `robots` WHERE `id` = 101 ``` -public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Escapes a column/table/schema name @@ -533,11 +533,11 @@ $escapedTable = $connection->escapeIdentifier( ``` -public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets a list of columns -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Appends a LIMIT clause to $sqlQuery argument @@ -548,7 +548,7 @@ echo $connection->limit("SELECT * FROM robots", 5); ``` -public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.table @@ -561,7 +561,7 @@ var_dump( ``` -public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.view @@ -574,71 +574,71 @@ var_dump( ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a FOR UPDATE clause -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a LOCK IN SHARE MODE clause -public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a table -public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table from a schema/database -public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a view -public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a view -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Modifies a table column based on a definition -public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds an index to a table -public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drop an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a primary key to a table -public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table's primary key -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a foreign key to a table -public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a foreign key from a table -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the SQL column definition from a column -public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all tables on a database @@ -651,7 +651,7 @@ print_r( ``` -public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all views on a database @@ -664,7 +664,7 @@ print_r( ``` -public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets creation options from a table @@ -677,31 +677,31 @@ print_r( ``` -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Releases given savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Rollbacks given savepoint -public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Set if nested transactions should use savepoints -public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns if nested transactions should use savepoints -public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the savepoint name to use for nested transactions -public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default identity value to be inserted in an identity column @@ -725,7 +725,7 @@ $success = $connection->insert( ``` -public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default value to make the RBDM use the default value declared in the table definition @@ -747,30 +747,30 @@ $success = $connection->insert( ``` -public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Check whether the database system requires a sequence to produce auto-numeric values -public **useExplicitIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **useExplicitIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Check whether the database system requires an explicit value for identity columns -public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Return descriptor used to connect to the active database -public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets the active connection unique identifier -public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object -public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object without replace bound parameters -public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object \ No newline at end of file diff --git a/ru/api/Phalcon_Db_Adapter_Pdo_Postgresql.md b/ru/api/Phalcon_Db_Adapter_Pdo_Postgresql.md index c7f35273d52a..9a66f69a4ec1 100644 --- a/ru/api/Phalcon_Db_Adapter_Pdo_Postgresql.md +++ b/ru/api/Phalcon_Db_Adapter_Pdo_Postgresql.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Adapter\\Pdo\\Postgresql** -*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) -*implements* [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -48,7 +48,7 @@ public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $defini Creates a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) Modifies a table column based on a definition @@ -84,11 +84,11 @@ public **supportSequences** () Check whether the database system requires a sequence to produce auto-numeric values -public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Constructor for Phalcon\\Db\\Adapter\\Pdo -public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns a PDO prepared statement to be executed with 'executePrepared' @@ -113,7 +113,7 @@ $result = $connection->executePrepared( ``` -public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Executes a prepared statement binding. This function uses integer indexes starting from zero @@ -138,7 +138,7 @@ $result = $connection->executePrepared( ``` -public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server is returning rows @@ -159,7 +159,7 @@ $resultset = $connection->query( ``` -public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server doesn't return any rows @@ -181,7 +181,7 @@ $success = $connection->execute( ``` -public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the number of affected rows by the latest INSERT/UPDATE/DELETE executed in the database system @@ -196,11 +196,11 @@ echo $connection->affectedRows(), " were deleted"; ``` -public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Closes the active connection returning success. Phalcon automatically closes and destroys active connections when the request ends -public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Escapes a value to avoid SQL injections according to the active charset in the connection @@ -211,7 +211,7 @@ $escapedStr = $connection->escapeString("some dangerous value"); ``` -public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Converts bound parameters such as :name: or ?1 into PDO bind params ? @@ -229,7 +229,7 @@ print_r( ``` -public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the insert id for the auto_increment/serial column inserted in the latest executed SQL statement @@ -254,23 +254,23 @@ $id = $connection->lastInsertId(); ``` -public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Starts a transaction in the connection -public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Rollbacks the active transaction in the connection -public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Commits the active transaction in the connection -public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the current transaction nesting level -public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Checks whether the connection is under a transaction @@ -286,43 +286,43 @@ var_dump( ``` -public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return internal PDO handler -public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return the error info, if any -public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Name of the dialect used -public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Type of database system the adapter is used for -public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL bound parameter variables -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the event manager -public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the internal event manager -public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the dialect used to produce the SQL -public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns internal dialect instance -public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the first row in a SQL query result @@ -339,7 +339,7 @@ print_r($robot); ``` -public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Dumps the complete result of a query into an array @@ -370,7 +370,7 @@ foreach($robots as $robot) { ``` -public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the n'th field of first row in a SQL query result @@ -390,7 +390,7 @@ print_r($robot); ``` -public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RDBMS SQL syntax @@ -409,7 +409,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RBDM SQL syntax @@ -430,7 +430,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax @@ -467,7 +467,7 @@ $success = $connection->update( Warning! If $whereCondition is string it not escaped. -public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax Another, more convenient syntax @@ -488,7 +488,7 @@ UPDATE `robots` SET `name` = "Astro boy" WHERE id = 101 ``` -public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Deletes data from a table using custom RBDM SQL syntax @@ -506,7 +506,7 @@ DELETE FROM `robots` WHERE `id` = 101 ``` -public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Escapes a column/table/schema name @@ -526,11 +526,11 @@ $escapedTable = $connection->escapeIdentifier( ``` -public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets a list of columns -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Appends a LIMIT clause to $sqlQuery argument @@ -541,7 +541,7 @@ echo $connection->limit("SELECT * FROM robots", 5); ``` -public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.table @@ -554,7 +554,7 @@ var_dump( ``` -public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.view @@ -567,63 +567,63 @@ var_dump( ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a FOR UPDATE clause -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a LOCK IN SHARE MODE clause -public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table from a schema/database -public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a view -public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a view -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a column to a table -public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds an index to a table -public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drop an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a primary key to a table -public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table's primary key -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a foreign key to a table -public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a foreign key from a table -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the SQL column definition from a column -public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all tables on a database @@ -636,7 +636,7 @@ print_r( ``` -public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all views on a database @@ -649,7 +649,7 @@ print_r( ``` -public [Phalcon\Db\Index](/en/3.1.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public [Phalcon\Db\Index](/en/3.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Lists table indexes @@ -662,7 +662,7 @@ print_r( ``` -public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Lists table references @@ -675,7 +675,7 @@ print_r( ``` -public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets creation options from a table @@ -688,31 +688,31 @@ print_r( ``` -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Releases given savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Rollbacks given savepoint -public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Set if nested transactions should use savepoints -public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns if nested transactions should use savepoints -public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the savepoint name to use for nested transactions -public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default value to make the RBDM use the default value declared in the table definition @@ -734,22 +734,22 @@ $success = $connection->insert( ``` -public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Return descriptor used to connect to the active database -public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets the active connection unique identifier -public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object -public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object without replace bound parameters -public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object \ No newline at end of file diff --git a/ru/api/Phalcon_Db_Adapter_Pdo_Sqlite.md b/ru/api/Phalcon_Db_Adapter_Pdo_Sqlite.md index 1f92cfbfc6bd..a568c933ce4a 100644 --- a/ru/api/Phalcon_Db_Adapter_Pdo_Sqlite.md +++ b/ru/api/Phalcon_Db_Adapter_Pdo_Sqlite.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Adapter\\Pdo\\Sqlite** -*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) -*implements* [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -40,7 +40,7 @@ print_r( ``` -public [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface[]) **describeIndexes** (*string* $table, [*string* $schema]) +public [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface[]) **describeIndexes** (*string* $table, [*string* $schema]) Lists table indexes @@ -53,7 +53,7 @@ print_r( ``` -public [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface[]) **describeReferences** (*string* $table, [*string* $schema]) +public [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface[]) **describeReferences** (*string* $table, [*string* $schema]) Lists table references @@ -83,11 +83,11 @@ $success = $connection->insert( ``` -public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Constructor for Phalcon\\Db\\Adapter\\Pdo -public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns a PDO prepared statement to be executed with 'executePrepared' @@ -112,7 +112,7 @@ $result = $connection->executePrepared( ``` -public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Executes a prepared statement binding. This function uses integer indexes starting from zero @@ -137,7 +137,7 @@ $result = $connection->executePrepared( ``` -public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server is returning rows @@ -158,7 +158,7 @@ $resultset = $connection->query( ``` -public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server doesn't return any rows @@ -180,7 +180,7 @@ $success = $connection->execute( ``` -public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the number of affected rows by the latest INSERT/UPDATE/DELETE executed in the database system @@ -195,11 +195,11 @@ echo $connection->affectedRows(), " were deleted"; ``` -public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Closes the active connection returning success. Phalcon automatically closes and destroys active connections when the request ends -public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Escapes a value to avoid SQL injections according to the active charset in the connection @@ -210,7 +210,7 @@ $escapedStr = $connection->escapeString("some dangerous value"); ``` -public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Converts bound parameters such as :name: or ?1 into PDO bind params ? @@ -228,7 +228,7 @@ print_r( ``` -public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the insert id for the auto_increment/serial column inserted in the latest executed SQL statement @@ -253,23 +253,23 @@ $id = $connection->lastInsertId(); ``` -public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Starts a transaction in the connection -public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Rollbacks the active transaction in the connection -public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Commits the active transaction in the connection -public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the current transaction nesting level -public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Checks whether the connection is under a transaction @@ -285,43 +285,43 @@ var_dump( ``` -public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return internal PDO handler -public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return the error info, if any -public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Name of the dialect used -public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Type of database system the adapter is used for -public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL bound parameter variables -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the event manager -public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the internal event manager -public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the dialect used to produce the SQL -public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns internal dialect instance -public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the first row in a SQL query result @@ -338,7 +338,7 @@ print_r($robot); ``` -public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Dumps the complete result of a query into an array @@ -369,7 +369,7 @@ foreach($robots as $robot) { ``` -public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the n'th field of first row in a SQL query result @@ -389,7 +389,7 @@ print_r($robot); ``` -public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RDBMS SQL syntax @@ -408,7 +408,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RBDM SQL syntax @@ -429,7 +429,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax @@ -466,7 +466,7 @@ $success = $connection->update( Warning! If $whereCondition is string it not escaped. -public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax Another, more convenient syntax @@ -487,7 +487,7 @@ UPDATE `robots` SET `name` = "Astro boy" WHERE id = 101 ``` -public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Deletes data from a table using custom RBDM SQL syntax @@ -505,7 +505,7 @@ DELETE FROM `robots` WHERE `id` = 101 ``` -public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Escapes a column/table/schema name @@ -525,11 +525,11 @@ $escapedTable = $connection->escapeIdentifier( ``` -public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets a list of columns -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Appends a LIMIT clause to $sqlQuery argument @@ -540,7 +540,7 @@ echo $connection->limit("SELECT * FROM robots", 5); ``` -public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.table @@ -553,7 +553,7 @@ var_dump( ``` -public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.view @@ -566,71 +566,71 @@ var_dump( ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a FOR UPDATE clause -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a LOCK IN SHARE MODE clause -public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a table -public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table from a schema/database -public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a view -public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a view -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Modifies a table column based on a definition -public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds an index to a table -public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drop an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a primary key to a table -public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table's primary key -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a foreign key to a table -public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a foreign key from a table -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the SQL column definition from a column -public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all tables on a database @@ -643,7 +643,7 @@ print_r( ``` -public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all views on a database @@ -656,7 +656,7 @@ print_r( ``` -public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets creation options from a table @@ -669,31 +669,31 @@ print_r( ``` -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Releases given savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Rollbacks given savepoint -public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Set if nested transactions should use savepoints -public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns if nested transactions should use savepoints -public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the savepoint name to use for nested transactions -public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default identity value to be inserted in an identity column @@ -717,26 +717,26 @@ $success = $connection->insert( ``` -public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Check whether the database system requires a sequence to produce auto-numeric values -public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Return descriptor used to connect to the active database -public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets the active connection unique identifier -public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object -public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object without replace bound parameters -public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object \ No newline at end of file diff --git a/ru/api/Phalcon_Db_Column.md b/ru/api/Phalcon_Db_Column.md index ab2fdfb7a40e..fe0210a2b411 100644 --- a/ru/api/Phalcon_Db_Column.md +++ b/ru/api/Phalcon_Db_Column.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Db\\Column** -*implements* [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) +*implements* [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) Source on GitHub diff --git a/ru/api/Phalcon_Db_Dialect.md b/ru/api/Phalcon_Db_Dialect.md index 11c52ea58df4..df25f0af03ab 100644 --- a/ru/api/Phalcon_Db_Dialect.md +++ b/ru/api/Phalcon_Db_Dialect.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Db\\Dialect** -*implements* [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +*implements* [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) Source on GitHub @@ -199,86 +199,86 @@ protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $es Prepares qualified for this RDBMS -abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropTable** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropTable** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **describeIndexes** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **describeIndexes** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **tableOptions** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **tableOptions** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... \ No newline at end of file diff --git a/ru/api/Phalcon_Db_DialectInterface.md b/ru/api/Phalcon_Db_DialectInterface.md index 0bf993854d79..90ee58afb9e1 100644 --- a/ru/api/Phalcon_Db_DialectInterface.md +++ b/ru/api/Phalcon_Db_DialectInterface.md @@ -24,15 +24,15 @@ abstract public **getColumnList** (*array* $columnList) ... -abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) ... -abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) ... -abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) ... @@ -40,7 +40,7 @@ abstract public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* ... -abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) ... @@ -48,7 +48,7 @@ abstract public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* ... -abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) ... @@ -56,7 +56,7 @@ abstract public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) ... -abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) ... diff --git a/ru/api/Phalcon_Db_Dialect_Mysql.md b/ru/api/Phalcon_Db_Dialect_Mysql.md index 6178388fc739..d1a80102e14c 100644 --- a/ru/api/Phalcon_Db_Dialect_Mysql.md +++ b/ru/api/Phalcon_Db_Dialect_Mysql.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Dialect\\Mysql** -*extends* abstract class [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +*extends* abstract class [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) -*implements* [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +*implements* [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) Source on GitHub @@ -10,15 +10,15 @@ Generates database specific SQL for the MySQL RDBMS ## Methods -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Gets the column name in MySQL -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Generates SQL to add a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) Generates SQL to modify a column in a table @@ -26,7 +26,7 @@ public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnN Generates SQL to delete a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add an index to a table @@ -34,7 +34,7 @@ public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexNam Generates SQL to delete an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add the primary key to a table @@ -42,7 +42,7 @@ public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) Generates SQL to delete primary key from a table -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) Generates SQL to add an index to a table @@ -133,23 +133,23 @@ protected **_getTableOptions** (*array* $definition) Generates SQL to add the table creation options -public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Registers custom SQL functions -public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns registered functions -final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape Schema -final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape identifiers -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generates the SQL for LIMIT clause @@ -164,7 +164,7 @@ echo $sql; // SELECT * FROM robots LIMIT 10 OFFSET 50 ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a FOR UPDATE clause @@ -176,7 +176,7 @@ echo $sql; // SELECT * FROM robots FOR UPDATE ``` -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a LOCK IN SHARE MODE clause @@ -188,7 +188,7 @@ echo $sql; // SELECT * FROM robots LOCK IN SHARE MODE ``` -final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Gets a list of columns with escaped identifiers @@ -204,122 +204,122 @@ echo $dialect->getColumnList( ``` -final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transforms an intermediate representation for an expression into a database system valid expression -final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transform an intermediate representation of a schema/table into a database system valid expression -public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Builds a SELECT statement -public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports savepoints -public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports releasing savepoints. -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to create a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to release a savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to rollback a savepoint -final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve object expressions -final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve qualified expressions -final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve binary operations expressions -final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve unary operations expressions -final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve function calls -final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Lists -final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve * -final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CAST of values -final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CONVERT of values encodings -final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CASE expressions -final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a FROM clause -final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a JOINs clause -final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a WHERE clause -final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a GROUP BY clause -final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a HAVING clause -final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve an ORDER BY clause -final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a LIMIT clause -protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares column for this RDBMS -protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares table for this RDBMS -protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares qualified for this RDBMS \ No newline at end of file diff --git a/ru/api/Phalcon_Db_Dialect_Postgresql.md b/ru/api/Phalcon_Db_Dialect_Postgresql.md index 01fe5982984c..f10d03525235 100644 --- a/ru/api/Phalcon_Db_Dialect_Postgresql.md +++ b/ru/api/Phalcon_Db_Dialect_Postgresql.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Dialect\\Postgresql** -*extends* abstract class [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +*extends* abstract class [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) -*implements* [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +*implements* [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) Source on GitHub @@ -10,15 +10,15 @@ Generates database specific SQL for the PostgreSQL RDBMS ## Methods -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Gets the column name in PostgreSQL -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Generates SQL to add a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) Generates SQL to modify a column in a table @@ -26,7 +26,7 @@ public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnN Generates SQL to delete a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add an index to a table @@ -34,7 +34,7 @@ public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexNam Generates SQL to delete an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add the primary key to a table @@ -42,7 +42,7 @@ public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) Generates SQL to delete primary key from a table -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) Generates SQL to add an index to a table @@ -129,7 +129,7 @@ public **tableOptions** (*mixed* $table, [*mixed* $schema]) Generates the SQL to describe the table creation options -protected **_castDefault** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +protected **_castDefault** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) ... @@ -137,23 +137,23 @@ protected **_getTableOptions** (*array* $definition) ... -public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Registers custom SQL functions -public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns registered functions -final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape Schema -final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape identifiers -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generates the SQL for LIMIT clause @@ -168,7 +168,7 @@ echo $sql; // SELECT * FROM robots LIMIT 10 OFFSET 50 ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a FOR UPDATE clause @@ -180,7 +180,7 @@ echo $sql; // SELECT * FROM robots FOR UPDATE ``` -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a LOCK IN SHARE MODE clause @@ -192,7 +192,7 @@ echo $sql; // SELECT * FROM robots LOCK IN SHARE MODE ``` -final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Gets a list of columns with escaped identifiers @@ -208,122 +208,122 @@ echo $dialect->getColumnList( ``` -final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transforms an intermediate representation for an expression into a database system valid expression -final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transform an intermediate representation of a schema/table into a database system valid expression -public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Builds a SELECT statement -public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports savepoints -public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports releasing savepoints. -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to create a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to release a savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to rollback a savepoint -final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve object expressions -final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve qualified expressions -final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve binary operations expressions -final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve unary operations expressions -final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve function calls -final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Lists -final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve * -final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CAST of values -final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CONVERT of values encodings -final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CASE expressions -final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a FROM clause -final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a JOINs clause -final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a WHERE clause -final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a GROUP BY clause -final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a HAVING clause -final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve an ORDER BY clause -final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a LIMIT clause -protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares column for this RDBMS -protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares table for this RDBMS -protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares qualified for this RDBMS \ No newline at end of file diff --git a/ru/api/Phalcon_Db_Dialect_Sqlite.md b/ru/api/Phalcon_Db_Dialect_Sqlite.md index 7b38162151a0..dabec6d39e49 100644 --- a/ru/api/Phalcon_Db_Dialect_Sqlite.md +++ b/ru/api/Phalcon_Db_Dialect_Sqlite.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Dialect\\Sqlite** -*extends* abstract class [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +*extends* abstract class [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) -*implements* [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +*implements* [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) Source on GitHub @@ -10,15 +10,15 @@ Generates database specific SQL for the Sqlite RDBMS ## Methods -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Gets the column name in SQLite -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Generates SQL to add a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) Generates SQL to modify a column in a table @@ -26,7 +26,7 @@ public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnN Generates SQL to delete a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add an index to a table @@ -34,7 +34,7 @@ public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexNam Generates SQL to delete an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add the primary key to a table @@ -42,7 +42,7 @@ public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) Generates SQL to delete primary key from a table -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) Generates SQL to add an index to a table @@ -146,23 +146,23 @@ public **tableOptions** (*mixed* $table, [*mixed* $schema]) Generates the SQL to describe the table creation options -public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Registers custom SQL functions -public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns registered functions -final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape Schema -final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape identifiers -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generates the SQL for LIMIT clause @@ -177,7 +177,7 @@ echo $sql; // SELECT * FROM robots LIMIT 10 OFFSET 50 ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a FOR UPDATE clause @@ -189,7 +189,7 @@ echo $sql; // SELECT * FROM robots FOR UPDATE ``` -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a LOCK IN SHARE MODE clause @@ -201,7 +201,7 @@ echo $sql; // SELECT * FROM robots LOCK IN SHARE MODE ``` -final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Gets a list of columns with escaped identifiers @@ -217,122 +217,122 @@ echo $dialect->getColumnList( ``` -final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transforms an intermediate representation for an expression into a database system valid expression -final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transform an intermediate representation of a schema/table into a database system valid expression -public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Builds a SELECT statement -public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports savepoints -public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports releasing savepoints. -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to create a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to release a savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to rollback a savepoint -final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve object expressions -final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve qualified expressions -final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve binary operations expressions -final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve unary operations expressions -final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve function calls -final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Lists -final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve * -final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CAST of values -final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CONVERT of values encodings -final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CASE expressions -final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a FROM clause -final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a JOINs clause -final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a WHERE clause -final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a GROUP BY clause -final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a HAVING clause -final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve an ORDER BY clause -final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a LIMIT clause -protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares column for this RDBMS -protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares table for this RDBMS -protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares qualified for this RDBMS \ No newline at end of file diff --git a/ru/api/Phalcon_Db_Exception.md b/ru/api/Phalcon_Db_Exception.md index 839c2d00fbf8..00160179b065 100644 --- a/ru/api/Phalcon_Db_Exception.md +++ b/ru/api/Phalcon_Db_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Db\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/ru/api/Phalcon_Db_Index.md b/ru/api/Phalcon_Db_Index.md index 60a5b41f764f..9ca94ad0e146 100644 --- a/ru/api/Phalcon_Db_Index.md +++ b/ru/api/Phalcon_Db_Index.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Db\\Index** -*implements* [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) +*implements* [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) Source on GitHub diff --git a/ru/api/Phalcon_Db_Profiler.md b/ru/api/Phalcon_Db_Profiler.md index 05a913cb9c2c..1d6dde6d6e69 100644 --- a/ru/api/Phalcon_Db_Profiler.md +++ b/ru/api/Phalcon_Db_Profiler.md @@ -31,7 +31,7 @@ echo "Total Elapsed Time: ", $profile->getTotalElapsedSeconds(), "\n"; ## Methods -public [Phalcon\Db\Profiler](/en/3.1.2/api/Phalcon_Db_Profiler) **startProfile** (*string* $sqlStatement, [*mixed* $sqlVariables], [*mixed* $sqlBindTypes]) +public [Phalcon\Db\Profiler](/en/3.2/api/Phalcon_Db_Profiler) **startProfile** (*string* $sqlStatement, [*mixed* $sqlVariables], [*mixed* $sqlBindTypes]) Starts the profile of a SQL sentence diff --git a/ru/api/Phalcon_Db_Reference.md b/ru/api/Phalcon_Db_Reference.md index 30ac1a686521..2e83e14de226 100644 --- a/ru/api/Phalcon_Db_Reference.md +++ b/ru/api/Phalcon_Db_Reference.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Db\\Reference** -*implements* [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) +*implements* [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) Source on GitHub diff --git a/ru/api/Phalcon_Db_Result_Pdo.md b/ru/api/Phalcon_Db_Result_Pdo.md index 2e053d67ae6f..91808dece71f 100644 --- a/ru/api/Phalcon_Db_Result_Pdo.md +++ b/ru/api/Phalcon_Db_Result_Pdo.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Db\\Result\\Pdo** -*implements* [Phalcon\Db\ResultInterface](/en/3.1.2/api/Phalcon_Db_ResultInterface) +*implements* [Phalcon\Db\ResultInterface](/en/3.2/api/Phalcon_Db_ResultInterface) Source on GitHub @@ -23,7 +23,7 @@ while ($robot = $result->fetchArray()) { ## Methods -public **__construct** ([Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) $connection, [PDOStatement](http://php.net/manual/en/class.pdostatement.php) $result, [*string* $sqlStatement], [*array* $bindParams], [*array* $bindTypes]) +public **__construct** ([Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) $connection, [PDOStatement](http://php.net/manual/en/class.pdostatement.php) $result, [*string* $sqlStatement], [*array* $bindParams], [*array* $bindTypes]) Phalcon\\Db\\Result\\Pdo constructor diff --git a/tr/api/Phalcon_Acl_Adapter.md b/tr/api/Phalcon_Acl_Adapter.md index 9f86a2a2a142..1696a50b6e15 100644 --- a/tr/api/Phalcon_Acl_Adapter.md +++ b/tr/api/Phalcon_Acl_Adapter.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Acl\\Adapter** -*implements* [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -20,7 +20,7 @@ public **getActiveAccess** () Active access which the list is checking if some role can access it -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) Sets the events manager @@ -36,58 +36,58 @@ public **getDefaultAction** () Returns the default ACL access level -abstract public **setNoArgumentsDefaultAction** (*mixed* $defaultAccess) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **setNoArgumentsDefaultAction** (*mixed* $defaultAccess) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **getNoArgumentsDefaultAction** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **getNoArgumentsDefaultAction** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **addRole** (*mixed* $role, [*mixed* $accessInherits]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **addRole** (*mixed* $role, [*mixed* $accessInherits]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **addInherit** (*mixed* $roleName, *mixed* $roleToInherit) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **addInherit** (*mixed* $roleName, *mixed* $roleToInherit) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **isRole** (*mixed* $roleName) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **isRole** (*mixed* $roleName) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **isResource** (*mixed* $resourceName) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **isResource** (*mixed* $resourceName) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **addResource** (*mixed* $resourceObject, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **addResource** (*mixed* $resourceObject, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **addResourceAccess** (*mixed* $resourceName, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **addResourceAccess** (*mixed* $resourceName, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **dropResourceAccess** (*mixed* $resourceName, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **dropResourceAccess** (*mixed* $resourceName, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **allow** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*mixed* $func]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **allow** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*mixed* $func]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **deny** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*mixed* $func]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **deny** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*mixed* $func]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **isAllowed** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*array* $parameters]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **isAllowed** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*array* $parameters]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **getRoles** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **getRoles** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **getResources** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **getResources** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... \ No newline at end of file diff --git a/tr/api/Phalcon_Acl_Adapter_Memory.md b/tr/api/Phalcon_Acl_Adapter_Memory.md index e9ea95ccda45..889751c95b98 100644 --- a/tr/api/Phalcon_Acl_Adapter_Memory.md +++ b/tr/api/Phalcon_Acl_Adapter_Memory.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Acl\\Adapter\\Memory** -*extends* abstract class [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +*extends* abstract class [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) -*implements* [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +*implements* [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) Source on GitHub @@ -105,7 +105,7 @@ public **isResource** (*mixed* $resourceName) Check whether resource exist in the resources list -public **addResource** ([Phalcon\Acl\Resource](/en/3.1.2/api/Phalcon_Acl_Resource) | *string* $resourceValue, *array* | *string* $accessList) +public **addResource** ([Phalcon\Acl\Resource](/en/3.2/api/Phalcon_Acl_Resource) | *string* $resourceValue, *array* | *string* $accessList) Adds a resource to the ACL list Access names can be a particular action, by example search, update, delete, etc or a list of them Example: @@ -224,30 +224,30 @@ public **getResources** () Return an array with every resource registered in the list -public **getActiveRole** () inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **getActiveRole** () inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Role which the list is checking if it's allowed to certain resource/access -public **getActiveResource** () inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **getActiveResource** () inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Resource which the list is checking if some role can access it -public **getActiveAccess** () inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **getActiveAccess** () inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Active access which the list is checking if some role can access it -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Sets the events manager -public **getEventsManager** () inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **getEventsManager** () inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Returns the internal event manager -public **setDefaultAction** (*mixed* $defaultAccess) inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **setDefaultAction** (*mixed* $defaultAccess) inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Sets the default access level (Phalcon\\Acl::ALLOW or Phalcon\\Acl::DENY) -public **getDefaultAction** () inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **getDefaultAction** () inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Returns the default ACL access level \ No newline at end of file diff --git a/tr/api/Phalcon_Acl_Exception.md b/tr/api/Phalcon_Acl_Exception.md index 153094579c30..9c1b44ab7b5d 100644 --- a/tr/api/Phalcon_Acl_Exception.md +++ b/tr/api/Phalcon_Acl_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Acl\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/tr/api/Phalcon_Acl_Resource.md b/tr/api/Phalcon_Acl_Resource.md index 1663e1ad2e93..25ac2d3e792b 100644 --- a/tr/api/Phalcon_Acl_Resource.md +++ b/tr/api/Phalcon_Acl_Resource.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Acl\\Resource** -*implements* [Phalcon\Acl\ResourceInterface](/en/3.1.2/api/Phalcon_Acl_ResourceInterface) +*implements* [Phalcon\Acl\ResourceInterface](/en/3.2/api/Phalcon_Acl_ResourceInterface) Source on GitHub diff --git a/tr/api/Phalcon_Acl_Role.md b/tr/api/Phalcon_Acl_Role.md index e105183dd7f4..c8252648d6c8 100644 --- a/tr/api/Phalcon_Acl_Role.md +++ b/tr/api/Phalcon_Acl_Role.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Acl\\Role** -*implements* [Phalcon\Acl\RoleInterface](/en/3.1.2/api/Phalcon_Acl_RoleInterface) +*implements* [Phalcon\Acl\RoleInterface](/en/3.2/api/Phalcon_Acl_RoleInterface) Source on GitHub diff --git a/tr/api/Phalcon_Annotations_Adapter.md b/tr/api/Phalcon_Annotations_Adapter.md index 7a2b31fc4dc1..d42ac348bbc9 100644 --- a/tr/api/Phalcon_Annotations_Adapter.md +++ b/tr/api/Phalcon_Annotations_Adapter.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Annotations\\Adapter** -*implements* [Phalcon\Annotations\AdapterInterface](/en/3.1.2/api/Phalcon_Annotations_AdapterInterface) +*implements* [Phalcon\Annotations\AdapterInterface](/en/3.2/api/Phalcon_Annotations_AdapterInterface) Source on GitHub @@ -8,7 +8,7 @@ This is the base class for Phalcon\\Annotations adapters ## Methods -public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) +public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) Sets the annotations parser diff --git a/tr/api/Phalcon_Annotations_AdapterInterface.md b/tr/api/Phalcon_Annotations_AdapterInterface.md index a4e2c689503a..a1ff65cb01a1 100644 --- a/tr/api/Phalcon_Annotations_AdapterInterface.md +++ b/tr/api/Phalcon_Annotations_AdapterInterface.md @@ -4,7 +4,7 @@ ## Methods -abstract public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) +abstract public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) ... diff --git a/tr/api/Phalcon_Annotations_Adapter_Apc.md b/tr/api/Phalcon_Annotations_Adapter_Apc.md index 1b8a1d6d0d7d..467622a88425 100644 --- a/tr/api/Phalcon_Annotations_Adapter_Apc.md +++ b/tr/api/Phalcon_Annotations_Adapter_Apc.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Annotations\\Adapter\\Apc** -*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) -*implements* [Phalcon\Annotations\AdapterInterface](/en/3.1.2/api/Phalcon_Annotations_AdapterInterface) +*implements* [Phalcon\Annotations\AdapterInterface](/en/3.2/api/Phalcon_Annotations_AdapterInterface) Source on GitHub @@ -27,34 +27,34 @@ public **read** (*mixed* $key) Reads parsed annotations from APC -public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) $data) +public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) $data) Writes parsed annotations to APC -public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Sets the annotations parser -public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotation reader -public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Parses or retrieves all the annotations found in a class -public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific method -public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific property \ No newline at end of file diff --git a/tr/api/Phalcon_Annotations_Adapter_Files.md b/tr/api/Phalcon_Annotations_Adapter_Files.md index fcb4c23e6c2e..e4c407e5954e 100644 --- a/tr/api/Phalcon_Annotations_Adapter_Files.md +++ b/tr/api/Phalcon_Annotations_Adapter_Files.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Annotations\\Adapter\\Files** -*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) -*implements* [Phalcon\Annotations\AdapterInterface](/en/3.1.2/api/Phalcon_Annotations_AdapterInterface) +*implements* [Phalcon\Annotations\AdapterInterface](/en/3.2/api/Phalcon_Annotations_AdapterInterface) Source on GitHub @@ -27,38 +27,38 @@ public **__construct** ([*array* $options]) Phalcon\\Annotations\\Adapter\\Files constructor -public [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) **read** (*string* $key) +public [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) **read** (*string* $key) Reads parsed annotations from files -public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) $data) +public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) $data) Writes parsed annotations to files -public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Sets the annotations parser -public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotation reader -public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Parses or retrieves all the annotations found in a class -public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific method -public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific property \ No newline at end of file diff --git a/tr/api/Phalcon_Annotations_Adapter_Memory.md b/tr/api/Phalcon_Annotations_Adapter_Memory.md index 53fc2e3769c7..205f20e6b1b8 100644 --- a/tr/api/Phalcon_Annotations_Adapter_Memory.md +++ b/tr/api/Phalcon_Annotations_Adapter_Memory.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Annotations\\Adapter\\Memory** -*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) -*implements* [Phalcon\Annotations\AdapterInterface](/en/3.1.2/api/Phalcon_Annotations_AdapterInterface) +*implements* [Phalcon\Annotations\AdapterInterface](/en/3.2/api/Phalcon_Annotations_AdapterInterface) Source on GitHub @@ -14,34 +14,34 @@ public **read** (*mixed* $key) Reads parsed annotations from memory -public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) $data) +public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) $data) Writes parsed annotations to memory -public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Sets the annotations parser -public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotation reader -public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Parses or retrieves all the annotations found in a class -public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific method -public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific property \ No newline at end of file diff --git a/tr/api/Phalcon_Annotations_Adapter_Xcache.md b/tr/api/Phalcon_Annotations_Adapter_Xcache.md index 79bfa9e6b4d3..37c97e7e6b8c 100644 --- a/tr/api/Phalcon_Annotations_Adapter_Xcache.md +++ b/tr/api/Phalcon_Annotations_Adapter_Xcache.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Annotations\\Adapter\\Xcache** -*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) -*implements* [Phalcon\Annotations\AdapterInterface](/en/3.1.2/api/Phalcon_Annotations_AdapterInterface) +*implements* [Phalcon\Annotations\AdapterInterface](/en/3.2/api/Phalcon_Annotations_AdapterInterface) Source on GitHub @@ -17,38 +17,38 @@ $annotations = new \Phalcon\Annotations\Adapter\Xcache(); ## Methods -public [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) **read** (*string* $key) +public [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) **read** (*string* $key) Reads parsed annotations from XCache -public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) $data) +public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) $data) Writes parsed annotations to XCache -public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Sets the annotations parser -public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotation reader -public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Parses or retrieves all the annotations found in a class -public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific method -public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific property \ No newline at end of file diff --git a/tr/api/Phalcon_Annotations_Collection.md b/tr/api/Phalcon_Annotations_Collection.md index 8176520b43ea..ba33511a50fe 100644 --- a/tr/api/Phalcon_Annotations_Collection.md +++ b/tr/api/Phalcon_Annotations_Collection.md @@ -36,7 +36,7 @@ public **rewind** () Rewinds the internal iterator -public [Phalcon\Annotations\Annotation](/en/3.1.2/api/Phalcon_Annotations_Annotation) **current** () +public [Phalcon\Annotations\Annotation](/en/3.2/api/Phalcon_Annotations_Annotation) **current** () Returns the current annotation in the iterator diff --git a/tr/api/Phalcon_Annotations_Reader.md b/tr/api/Phalcon_Annotations_Reader.md index 56ca9b058cd1..4e8e513ffea9 100644 --- a/tr/api/Phalcon_Annotations_Reader.md +++ b/tr/api/Phalcon_Annotations_Reader.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Annotations\\Reader** -*implements* [Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) +*implements* [Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) Source on GitHub diff --git a/tr/api/Phalcon_Application.md b/tr/api/Phalcon_Application.md index e7e767824af2..5ff2b07edaf4 100644 --- a/tr/api/Phalcon_Application.md +++ b/tr/api/Phalcon_Application.md @@ -1,8 +1,8 @@ # Abstract class **Phalcon\\Application** -*extends* abstract class [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +*extends* abstract class [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) -*implements* [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface) +*implements* [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface) Source on GitHub @@ -10,9 +10,9 @@ Base class for Phalcon\\Cli\\Console and Phalcon\\Mvc\\Application. ## Methods -public **__construct** ([[Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector]) +public **__construct** ([[Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector]) -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) Sets the events manager @@ -62,14 +62,14 @@ abstract public **handle** () Handles a request -public **setDI** ([Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **setDI** ([Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Sets the dependency injector -public **getDI** () inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **getDI** () inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Returns the internal dependency injector -public **__get** (*mixed* $propertyName) inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **__get** (*mixed* $propertyName) inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Magic method __get \ No newline at end of file diff --git a/tr/api/Phalcon_Application_Exception.md b/tr/api/Phalcon_Application_Exception.md index ade9f4d1b49e..49637aa88e5e 100644 --- a/tr/api/Phalcon_Application_Exception.md +++ b/tr/api/Phalcon_Application_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Application\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/tr/api/Phalcon_Assets_Collection.md b/tr/api/Phalcon_Assets_Collection.md index 9c3e06cdb077..f6f18d5a1d60 100644 --- a/tr/api/Phalcon_Assets_Collection.md +++ b/tr/api/Phalcon_Assets_Collection.md @@ -56,14 +56,35 @@ public **getSourcePath** () ... -public **add** ([Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) $resource) +public **__construct** () + +Phalcon\\Assets\\Collection constructor + +public **add** ([Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) $resource) Adds a resource to the collection -public **addInline** ([Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) $code) +public **addInline** ([Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) $code) Adds an inline code to the collection +public **has** ([Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) $resource) + +Checks this the resource is added to the collection. + +```php +has($resource); // true + +``` + public **addCss** (*mixed* $path, [*mixed* $local], [*mixed* $filter], [*mixed* $attributes]) Adds a CSS resource to the collection @@ -72,7 +93,7 @@ public **addInlineCss** (*mixed* $content, [*mixed* $filter], [*mixed* $attribut Adds an inline CSS to the collection -public [Phalcon\Assets\Collection](/en/3.1.2/api/Phalcon_Assets_Collection) **addJs** (*string* $path, [*boolean* $local], [*boolean* $filter], [*array* $attributes]) +public [Phalcon\Assets\Collection](/en/3.2/api/Phalcon_Assets_Collection) **addJs** (*string* $path, [*boolean* $local], [*boolean* $filter], [*array* $attributes]) Adds a javascript resource to the collection @@ -144,6 +165,10 @@ public **getRealTargetPath** (*mixed* $basePath) Returns the complete location where the joined/filtered collection must be written -public **addFilter** ([Phalcon\Assets\FilterInterface](/en/3.1.2/api/Phalcon_Assets_FilterInterface) $filter) +public **addFilter** ([Phalcon\Assets\FilterInterface](/en/3.2/api/Phalcon_Assets_FilterInterface) $filter) + +Adds a filter to the collection + +final protected **addResource** ([Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) $resource) -Adds a filter to the collection \ No newline at end of file +Adds a resource or inline-code to the collection \ No newline at end of file diff --git a/tr/api/Phalcon_Assets_Exception.md b/tr/api/Phalcon_Assets_Exception.md index bf3c9a57c01a..4c8c0516fd94 100644 --- a/tr/api/Phalcon_Assets_Exception.md +++ b/tr/api/Phalcon_Assets_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Assets\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/tr/api/Phalcon_Assets_Filters_Cssmin.md b/tr/api/Phalcon_Assets_Filters_Cssmin.md index 75e2781f79a0..a807a59e4880 100644 --- a/tr/api/Phalcon_Assets_Filters_Cssmin.md +++ b/tr/api/Phalcon_Assets_Filters_Cssmin.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Assets\\Filters\\Cssmin** -*implements* [Phalcon\Assets\FilterInterface](/en/3.1.2/api/Phalcon_Assets_FilterInterface) +*implements* [Phalcon\Assets\FilterInterface](/en/3.2/api/Phalcon_Assets_FilterInterface) Source on GitHub diff --git a/tr/api/Phalcon_Assets_Filters_Jsmin.md b/tr/api/Phalcon_Assets_Filters_Jsmin.md index 2ee9aa7f5390..2bfe2b4851a4 100644 --- a/tr/api/Phalcon_Assets_Filters_Jsmin.md +++ b/tr/api/Phalcon_Assets_Filters_Jsmin.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Assets\\Filters\\Jsmin** -*implements* [Phalcon\Assets\FilterInterface](/en/3.1.2/api/Phalcon_Assets_FilterInterface) +*implements* [Phalcon\Assets\FilterInterface](/en/3.2/api/Phalcon_Assets_FilterInterface) Source on GitHub diff --git a/tr/api/Phalcon_Assets_Filters_None.md b/tr/api/Phalcon_Assets_Filters_None.md index 93c79dd941f6..60e59aac09de 100644 --- a/tr/api/Phalcon_Assets_Filters_None.md +++ b/tr/api/Phalcon_Assets_Filters_None.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Assets\\Filters\\None** -*implements* [Phalcon\Assets\FilterInterface](/en/3.1.2/api/Phalcon_Assets_FilterInterface) +*implements* [Phalcon\Assets\FilterInterface](/en/3.2/api/Phalcon_Assets_FilterInterface) Source on GitHub diff --git a/tr/api/Phalcon_Assets_Inline.md b/tr/api/Phalcon_Assets_Inline.md index 05a1f622aa48..e5c3ef631536 100644 --- a/tr/api/Phalcon_Assets_Inline.md +++ b/tr/api/Phalcon_Assets_Inline.md @@ -1,5 +1,7 @@ # Class **Phalcon\\Assets\\Inline** +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) + Source on GitHub Represents an inline asset @@ -43,4 +45,8 @@ Sets if the resource must be filtered or not public **setAttributes** (*array* $attributes) -Sets extra HTML attributes \ No newline at end of file +Sets extra HTML attributes + +public **getResourceKey** () + +Gets the resource's key. \ No newline at end of file diff --git a/tr/api/Phalcon_Assets_Inline_Css.md b/tr/api/Phalcon_Assets_Inline_Css.md index c4d7a9d0e919..aad74b78beca 100644 --- a/tr/api/Phalcon_Assets_Inline_Css.md +++ b/tr/api/Phalcon_Assets_Inline_Css.md @@ -1,6 +1,8 @@ # Class **Phalcon\\Assets\\Inline\\Css** -*extends* class [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +*extends* class [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) + +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) Source on GitHub @@ -10,30 +12,34 @@ Represents an inlined CSS public **__construct** (*string* $content, [*boolean* $filter], [*array* $attributes]) -public **getType** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getType** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getContent** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getContent** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getFilter** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getFilter** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getAttributes** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getAttributes** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) Sets the inline's type -public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) Sets if the resource must be filtered or not -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) + +Sets extra HTML attributes + +public **getResourceKey** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) -Sets extra HTML attributes \ No newline at end of file +Gets the resource's key. \ No newline at end of file diff --git a/tr/api/Phalcon_Assets_Inline_Js.md b/tr/api/Phalcon_Assets_Inline_Js.md index 27d57246d817..1cce336b4116 100644 --- a/tr/api/Phalcon_Assets_Inline_Js.md +++ b/tr/api/Phalcon_Assets_Inline_Js.md @@ -1,6 +1,8 @@ # Class **Phalcon\\Assets\\Inline\\Js** -*extends* class [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +*extends* class [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) + +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) Source on GitHub @@ -10,30 +12,34 @@ Represents an inline Javascript public **__construct** (*string* $content, [*boolean* $filter], [*array* $attributes]) -public **getType** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getType** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getContent** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getContent** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getFilter** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getFilter** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getAttributes** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getAttributes** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) Sets the inline's type -public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) Sets if the resource must be filtered or not -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) + +Sets extra HTML attributes + +public **getResourceKey** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) -Sets extra HTML attributes \ No newline at end of file +Gets the resource's key. \ No newline at end of file diff --git a/tr/api/Phalcon_Assets_Manager.md b/tr/api/Phalcon_Assets_Manager.md index 55ab07f19201..13ecabf4ff9c 100644 --- a/tr/api/Phalcon_Assets_Manager.md +++ b/tr/api/Phalcon_Assets_Manager.md @@ -52,7 +52,7 @@ public **addInlineJs** (*mixed* $content, [*mixed* $filter], [*mixed* $attribute Adds an inline javascript to the 'js' collection -public **addResourceByType** (*mixed* $type, [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) $resource) +public **addResourceByType** (*mixed* $type, [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) $resource) Adds a resource by its type @@ -65,11 +65,11 @@ $assets->addResourceByType("css", ``` -public **addInlineCodeByType** (*mixed* $type, [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) $code) +public **addInlineCodeByType** (*mixed* $type, [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) $code) Adds an inline code by its type -public **addResource** ([Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) $resource) +public **addResource** ([Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) $resource) Adds a raw resource to the manager @@ -82,11 +82,11 @@ $assets->addResource( ``` -public **addInlineCode** ([Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) $code) +public **addInlineCode** ([Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) $code) Adds a raw inline code to the manager -public **set** (*mixed* $id, [Phalcon\Assets\Collection](/en/3.1.2/api/Phalcon_Assets_Collection) $collection) +public **set** (*mixed* $id, [Phalcon\Assets\Collection](/en/3.2/api/Phalcon_Assets_Collection) $collection) Sets a collection in the Assets Manager @@ -99,7 +99,7 @@ $assets->set("js", $collection); public **get** (*mixed* $id) -Returns a collection by its id +Returns a collection by its id. ```php exists("jsHeader")) { + // \Phalcon\Assets\Collection + $collection = $assets->get("jsHeader"); +} + +``` \ No newline at end of file diff --git a/tr/api/Phalcon_Assets_Resource.md b/tr/api/Phalcon_Assets_Resource.md index 9718061c348e..d67dc71b7929 100644 --- a/tr/api/Phalcon_Assets_Resource.md +++ b/tr/api/Phalcon_Assets_Resource.md @@ -1,5 +1,7 @@ # Class **Phalcon\\Assets\\Resource** +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) + Source on GitHub Represents an asset resource @@ -85,4 +87,8 @@ Returns the complete location where the resource is located public **getRealTargetPath** ([*mixed* $basePath]) -Returns the complete location where the resource must be written \ No newline at end of file +Returns the complete location where the resource must be written + +public **getResourceKey** () + +Gets the resource's key. \ No newline at end of file diff --git a/tr/api/Phalcon_Assets_Resource_Css.md b/tr/api/Phalcon_Assets_Resource_Css.md index 9376a4de5f6d..11c938e391ca 100644 --- a/tr/api/Phalcon_Assets_Resource_Css.md +++ b/tr/api/Phalcon_Assets_Resource_Css.md @@ -1,6 +1,8 @@ # Class **Phalcon\\Assets\\Resource\\Css** -*extends* class [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +*extends* class [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) + +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) Source on GitHub @@ -10,72 +12,76 @@ Represents CSS resources public **__construct** (*string* $path, [*boolean* $local], [*boolean* $filter], [*array* $attributes]) -public **getType** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getType** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getPath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getPath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getLocal** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getLocal** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getFilter** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getFilter** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getAttributes** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getAttributes** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getSourcePath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getSourcePath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **getTargetPath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getTargetPath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **getTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's type -public **setPath** (*mixed* $path) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setPath** (*mixed* $path) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's path -public **setLocal** (*mixed* $local) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setLocal** (*mixed* $local) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets if the resource is local or external -public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets if the resource must be filtered or not -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets extra HTML attributes -public **setTargetUri** (*mixed* $targetUri) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setTargetUri** (*mixed* $targetUri) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets a target uri for the generated HTML -public **setSourcePath** (*mixed* $sourcePath) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setSourcePath** (*mixed* $sourcePath) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's source path -public **setTargetPath** (*mixed* $targetPath) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setTargetPath** (*mixed* $targetPath) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's target path -public **getContent** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getContent** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the content of the resource as an string Optionally a base path where the resource is located can be set -public **getRealTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the real target uri for the generated HTML -public **getRealSourcePath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealSourcePath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the complete location where the resource is located -public **getRealTargetPath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealTargetPath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) + +Returns the complete location where the resource must be written + +public **getResourceKey** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -Returns the complete location where the resource must be written \ No newline at end of file +Gets the resource's key. \ No newline at end of file diff --git a/tr/api/Phalcon_Assets_Resource_Js.md b/tr/api/Phalcon_Assets_Resource_Js.md index a4c132ff1ed1..2acc4d239b9d 100644 --- a/tr/api/Phalcon_Assets_Resource_Js.md +++ b/tr/api/Phalcon_Assets_Resource_Js.md @@ -1,6 +1,8 @@ # Class **Phalcon\\Assets\\Resource\\Js** -*extends* class [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +*extends* class [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) + +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) Source on GitHub @@ -10,72 +12,76 @@ Represents Javascript resources public **__construct** (*string* $path, [*boolean* $local], [*boolean* $filter], [*array* $attributes]) -public **getType** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getType** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getPath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getPath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getLocal** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getLocal** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getFilter** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getFilter** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getAttributes** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getAttributes** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getSourcePath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getSourcePath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **getTargetPath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getTargetPath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **getTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's type -public **setPath** (*mixed* $path) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setPath** (*mixed* $path) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's path -public **setLocal** (*mixed* $local) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setLocal** (*mixed* $local) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets if the resource is local or external -public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets if the resource must be filtered or not -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets extra HTML attributes -public **setTargetUri** (*mixed* $targetUri) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setTargetUri** (*mixed* $targetUri) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets a target uri for the generated HTML -public **setSourcePath** (*mixed* $sourcePath) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setSourcePath** (*mixed* $sourcePath) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's source path -public **setTargetPath** (*mixed* $targetPath) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setTargetPath** (*mixed* $targetPath) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's target path -public **getContent** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getContent** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the content of the resource as an string Optionally a base path where the resource is located can be set -public **getRealTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the real target uri for the generated HTML -public **getRealSourcePath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealSourcePath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the complete location where the resource is located -public **getRealTargetPath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealTargetPath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) + +Returns the complete location where the resource must be written + +public **getResourceKey** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -Returns the complete location where the resource must be written \ No newline at end of file +Gets the resource's key. \ No newline at end of file diff --git a/tr/api/Phalcon_Cache_Backend.md b/tr/api/Phalcon_Cache_Backend.md index f81ba2e57820..6e8b2e14bbff 100644 --- a/tr/api/Phalcon_Cache_Backend.md +++ b/tr/api/Phalcon_Cache_Backend.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Cache\\Backend** -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -32,7 +32,7 @@ public **setLastKey** (*mixed* $lastKey) ... -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend constructor @@ -56,22 +56,22 @@ public *int* **getLifetime** () Gets the last lifetime set -abstract public **get** (*mixed* $keyName, [*mixed* $lifetime]) inherited from [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +abstract public **get** (*mixed* $keyName, [*mixed* $lifetime]) inherited from [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) ... -abstract public **save** ([*mixed* $keyName], [*mixed* $content], [*mixed* $lifetime], [*mixed* $stopBuffer]) inherited from [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +abstract public **save** ([*mixed* $keyName], [*mixed* $content], [*mixed* $lifetime], [*mixed* $stopBuffer]) inherited from [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) ... -abstract public **delete** (*mixed* $keyName) inherited from [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +abstract public **delete** (*mixed* $keyName) inherited from [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) ... -abstract public **queryKeys** ([*mixed* $prefix]) inherited from [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +abstract public **queryKeys** ([*mixed* $prefix]) inherited from [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) ... -abstract public **exists** ([*mixed* $keyName], [*mixed* $lifetime]) inherited from [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +abstract public **exists** ([*mixed* $keyName], [*mixed* $lifetime]) inherited from [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) ... \ No newline at end of file diff --git a/tr/api/Phalcon_Cache_Backend_Apc.md b/tr/api/Phalcon_Cache_Backend_Apc.md index 6f08c1fef4b7..92b01c89d25a 100644 --- a/tr/api/Phalcon_Cache_Backend_Apc.md +++ b/tr/api/Phalcon_Cache_Backend_Apc.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Apc** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -94,50 +94,50 @@ $cache->flush(); ``` -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Phalcon\\Cache\\Backend constructor -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/tr/api/Phalcon_Cache_Backend_File.md b/tr/api/Phalcon_Cache_Backend_File.md index 78c3aff0e84c..3ea73b705889 100644 --- a/tr/api/Phalcon_Cache_Backend_File.md +++ b/tr/api/Phalcon_Cache_Backend_File.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\File** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -44,7 +44,7 @@ if ($content === null) { ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, *array* $options) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, *array* $options) Phalcon\\Cache\\Backend\\File constructor @@ -98,46 +98,46 @@ public **useSafeKey** (*mixed* $useSafeKey) Set whether to use the safekey or not -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/tr/api/Phalcon_Cache_Backend_Libmemcached.md b/tr/api/Phalcon_Cache_Backend_Libmemcached.md index 88948897b300..9ec4b031d82e 100644 --- a/tr/api/Phalcon_Cache_Backend_Libmemcached.md +++ b/tr/api/Phalcon_Cache_Backend_Libmemcached.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Libmemcached** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -49,7 +49,7 @@ $data = $cache->get("my-data"); ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend\\Memcache constructor @@ -116,46 +116,46 @@ $cache->flush(); ``` -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/tr/api/Phalcon_Cache_Backend_Memcache.md b/tr/api/Phalcon_Cache_Backend_Memcache.md index 7310592149b1..6f2575ca5c8d 100644 --- a/tr/api/Phalcon_Cache_Backend_Memcache.md +++ b/tr/api/Phalcon_Cache_Backend_Memcache.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Memcache** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -43,7 +43,7 @@ $data = $cache->get("my-data"); ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend\\Memcache constructor @@ -97,46 +97,46 @@ public **flush** () Immediately invalidates all existing items. -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/tr/api/Phalcon_Cache_Backend_Memory.md b/tr/api/Phalcon_Cache_Backend_Memory.md index 06a4216cf7ac..a269432ab9f3 100644 --- a/tr/api/Phalcon_Cache_Backend_Memory.md +++ b/tr/api/Phalcon_Cache_Backend_Memory.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Memory** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface), [Serializable](http://php.net/manual/en/class.serializable.php) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface), [Serializable](http://php.net/manual/en/class.serializable.php) Source on GitHub @@ -79,50 +79,50 @@ public **unserialize** (*mixed* $data) Required for interface \\Serializable -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Phalcon\\Cache\\Backend constructor -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/tr/api/Phalcon_Cache_Backend_Mongo.md b/tr/api/Phalcon_Cache_Backend_Mongo.md index 9ad0f67b530c..6421cd0f4f29 100644 --- a/tr/api/Phalcon_Cache_Backend_Mongo.md +++ b/tr/api/Phalcon_Cache_Backend_Mongo.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Mongo** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -44,7 +44,7 @@ $data = $cache->get("my-data"); ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend\\Mongo constructor @@ -98,46 +98,46 @@ public **flush** () Immediately invalidates all existing items. -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/tr/api/Phalcon_Cache_Backend_Redis.md b/tr/api/Phalcon_Cache_Backend_Redis.md index 123bf025f2af..a3509251d509 100644 --- a/tr/api/Phalcon_Cache_Backend_Redis.md +++ b/tr/api/Phalcon_Cache_Backend_Redis.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Redis** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -45,7 +45,7 @@ $data = $cache->get("my-data"); ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend\\Redis constructor @@ -105,46 +105,46 @@ public **flush** () Immediately invalidates all existing items. -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/tr/api/Phalcon_Cache_Backend_Xcache.md b/tr/api/Phalcon_Cache_Backend_Xcache.md index b91e75b19c79..7dac8215d5f3 100644 --- a/tr/api/Phalcon_Cache_Backend_Xcache.md +++ b/tr/api/Phalcon_Cache_Backend_Xcache.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Xcache** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -38,7 +38,7 @@ $data = $cache->get("my-data"); ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend\\Xcache constructor @@ -84,46 +84,46 @@ public **flush** () Immediately invalidates all existing items. -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/tr/api/Phalcon_Cache_Exception.md b/tr/api/Phalcon_Cache_Exception.md index cbb05a3a76e4..87f2372e7864 100644 --- a/tr/api/Phalcon_Cache_Exception.md +++ b/tr/api/Phalcon_Cache_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/tr/api/Phalcon_Cache_Frontend_Base64.md b/tr/api/Phalcon_Cache_Frontend_Base64.md index 92f36996b4b7..473895a88aa8 100644 --- a/tr/api/Phalcon_Cache_Frontend_Base64.md +++ b/tr/api/Phalcon_Cache_Frontend_Base64.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Frontend\\Base64** -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/tr/api/Phalcon_Cache_Frontend_Data.md b/tr/api/Phalcon_Cache_Frontend_Data.md index f46469ab7410..1f249be7103c 100644 --- a/tr/api/Phalcon_Cache_Frontend_Data.md +++ b/tr/api/Phalcon_Cache_Frontend_Data.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Frontend\\Data** -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/tr/api/Phalcon_Cache_Frontend_Igbinary.md b/tr/api/Phalcon_Cache_Frontend_Igbinary.md index 1460a42ce867..714a96bb4de1 100644 --- a/tr/api/Phalcon_Cache_Frontend_Igbinary.md +++ b/tr/api/Phalcon_Cache_Frontend_Igbinary.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Frontend\\Igbinary** -*extends* class [Phalcon\Cache\Frontend\Data](/en/3.1.2/api/Phalcon_Cache_Frontend_Data) +*extends* class [Phalcon\Cache\Frontend\Data](/en/3.2/api/Phalcon_Cache_Frontend_Data) -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/tr/api/Phalcon_Cache_Frontend_Json.md b/tr/api/Phalcon_Cache_Frontend_Json.md index 64a296ca976f..bfe39cdc53c4 100644 --- a/tr/api/Phalcon_Cache_Frontend_Json.md +++ b/tr/api/Phalcon_Cache_Frontend_Json.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Frontend\\Json** -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/tr/api/Phalcon_Cache_Frontend_Msgpack.md b/tr/api/Phalcon_Cache_Frontend_Msgpack.md index f77a99a21168..857b40d4bbdc 100644 --- a/tr/api/Phalcon_Cache_Frontend_Msgpack.md +++ b/tr/api/Phalcon_Cache_Frontend_Msgpack.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Frontend\\Msgpack** -*extends* class [Phalcon\Cache\Frontend\Data](/en/3.1.2/api/Phalcon_Cache_Frontend_Data) +*extends* class [Phalcon\Cache\Frontend\Data](/en/3.2/api/Phalcon_Cache_Frontend_Data) -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/tr/api/Phalcon_Cache_Frontend_None.md b/tr/api/Phalcon_Cache_Frontend_None.md index 521fcd02f344..bdc0af2d4135 100644 --- a/tr/api/Phalcon_Cache_Frontend_None.md +++ b/tr/api/Phalcon_Cache_Frontend_None.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Frontend\\None** -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/tr/api/Phalcon_Cache_Frontend_Output.md b/tr/api/Phalcon_Cache_Frontend_Output.md index 8421c02f1276..c6a0543703d6 100644 --- a/tr/api/Phalcon_Cache_Frontend_Output.md +++ b/tr/api/Phalcon_Cache_Frontend_Output.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Frontend\\Output** -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/tr/api/Phalcon_Cache_Multiple.md b/tr/api/Phalcon_Cache_Multiple.md index bbfa61a13274..1d9fd1365aa9 100644 --- a/tr/api/Phalcon_Cache_Multiple.md +++ b/tr/api/Phalcon_Cache_Multiple.md @@ -65,11 +65,11 @@ $cache->save("my-key", $data); ## Methods -public **__construct** ([[Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface[]) $backends]) +public **__construct** ([[Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface[]) $backends]) Phalcon\\Cache\\Multiple constructor -public **push** ([Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) $backend) +public **push** ([Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) $backend) Adds a backend diff --git a/tr/api/Phalcon_Cli_Console.md b/tr/api/Phalcon_Cli_Console.md index c769b7ad7659..f0337bf3f1ec 100644 --- a/tr/api/Phalcon_Cli_Console.md +++ b/tr/api/Phalcon_Cli_Console.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cli\\Console** -*extends* abstract class [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +*extends* abstract class [Phalcon\Application](/en/3.2/api/Phalcon_Application) -*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -36,19 +36,19 @@ public **setArgument** ([*array* $arguments], [*mixed* $str], [*mixed* $shift]) Set an specific argument -public **__construct** ([[Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector]) inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **__construct** ([[Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector]) inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Phalcon\\Application -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Sets the events manager -public **getEventsManager** () inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **getEventsManager** () inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Returns the internal event manager -public **registerModules** (*array* $modules, [*mixed* $merge]) inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **registerModules** (*array* $modules, [*mixed* $merge]) inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Register an array of modules present in the application @@ -70,30 +70,30 @@ $this->registerModules( ``` -public **getModules** () inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **getModules** () inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Return the modules registered in the application -public **getModule** (*mixed* $name) inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **getModule** (*mixed* $name) inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Gets the module definition registered in the application via module name -public **setDefaultModule** (*mixed* $defaultModule) inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **setDefaultModule** (*mixed* $defaultModule) inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Sets the module name to be used if the router doesn't return a valid module -public **getDefaultModule** () inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **getDefaultModule** () inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Returns the default module name -public **setDI** ([Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **setDI** ([Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Sets the dependency injector -public **getDI** () inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **getDI** () inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Returns the internal dependency injector -public **__get** (*mixed* $propertyName) inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **__get** (*mixed* $propertyName) inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Magic method __get \ No newline at end of file diff --git a/tr/api/Phalcon_Cli_Console_Exception.md b/tr/api/Phalcon_Cli_Console_Exception.md index 64a6f1f9162a..e7bfea5dbde1 100644 --- a/tr/api/Phalcon_Cli_Console_Exception.md +++ b/tr/api/Phalcon_Cli_Console_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cli\\Console\\Exception** -*extends* class [Phalcon\Application\Exception](/en/3.1.2/api/Phalcon_Application_Exception) +*extends* class [Phalcon\Application\Exception](/en/3.2/api/Phalcon_Application_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/tr/api/Phalcon_Cli_Dispatcher.md b/tr/api/Phalcon_Cli_Dispatcher.md index 7b91f5c9f537..f03b7c7c61ac 100644 --- a/tr/api/Phalcon_Cli_Dispatcher.md +++ b/tr/api/Phalcon_Cli_Dispatcher.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cli\\Dispatcher** -*extends* abstract class [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +*extends* abstract class [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) -*implements* [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface), [Phalcon\Cli\DispatcherInterface](/en/3.1.2/api/Phalcon_Cli_DispatcherInterface) +*implements* [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface), [Phalcon\Cli\DispatcherInterface](/en/3.2/api/Phalcon_Cli_DispatcherInterface) Source on GitHub @@ -11,10 +11,11 @@ Dispatching is the process of taking the command-line arguments, extracting the ```php setDi($di); $dispatcher->setTaskName("posts"); @@ -81,107 +82,115 @@ public **getOptions** () Get dispatched options +public **getOption** (*mixed* $option, [*string* | *array* $filters], [*mixed* $defaultValue]) + +Gets an option by its name or numeric index + +public **hasOption** (*mixed* $option) + +Check if an option exists + public **callActionMethod** (*mixed* $handler, *mixed* $actionMethod, [*array* $params]) -... +Calls the action method. -public **setDI** ([Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setDI** ([Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the dependency injector -public **getDI** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getDI** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns the internal dependency injector -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the events manager -public **getEventsManager** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getEventsManager** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns the internal event manager -public **setActionSuffix** (*mixed* $actionSuffix) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setActionSuffix** (*mixed* $actionSuffix) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the default action suffix -public **getActionSuffix** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getActionSuffix** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets the default action suffix -public **setModuleName** (*mixed* $moduleName) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setModuleName** (*mixed* $moduleName) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the module where the controller is (only informative) -public **getModuleName** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getModuleName** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets the module where the controller class is -public **setNamespaceName** (*mixed* $namespaceName) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setNamespaceName** (*mixed* $namespaceName) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the namespace where the controller class is -public **getNamespaceName** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getNamespaceName** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets a namespace to be prepended to the current handler name -public **setDefaultNamespace** (*mixed* $namespaceName) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setDefaultNamespace** (*mixed* $namespaceName) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the default namespace -public **getDefaultNamespace** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getDefaultNamespace** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns the default namespace -public **setDefaultAction** (*mixed* $actionName) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setDefaultAction** (*mixed* $actionName) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the default action name -public **setActionName** (*mixed* $actionName) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setActionName** (*mixed* $actionName) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the action name to be dispatched -public **getActionName** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getActionName** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets the latest dispatched action name -public **setParams** (*array* $params) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setParams** (*array* $params) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets action params to be dispatched -public **getParams** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getParams** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets action params -public **setParam** (*mixed* $param, *mixed* $value) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setParam** (*mixed* $param, *mixed* $value) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Set a param by its name or numeric index -public *mixed* **getParam** (*mixed* $param, [*string* | *array* $filters], [*mixed* $defaultValue]) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public *mixed* **getParam** (*mixed* $param, [*string* | *array* $filters], [*mixed* $defaultValue]) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets a param by its name or numeric index -public *boolean* **hasParam** (*mixed* $param) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public *boolean* **hasParam** (*mixed* $param) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Check if a param exists -public **getActiveMethod** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getActiveMethod** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns the current method to be/executed in the dispatcher -public **isFinished** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **isFinished** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Checks if the dispatch loop is finished or has more pendent controllers/tasks to dispatch -public **setReturnedValue** (*mixed* $value) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setReturnedValue** (*mixed* $value) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the latest returned value by an action manually -public *mixed* **getReturnedValue** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public *mixed* **getReturnedValue** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns value returned by the latest dispatched action -public **setModelBinding** (*mixed* $value, [*mixed* $cache]) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setModelBinding** (*mixed* $value, [*mixed* $cache]) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Enable/Disable model binding during dispatch @@ -197,7 +206,7 @@ $di->set('dispatcher', function() { ``` -public **setModelBinder** ([Phalcon\Mvc\Model\BinderInterface](/en/3.1.2/api/Phalcon_Mvc_Model_BinderInterface) $modelBinder, [*mixed* $cache]) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setModelBinder** ([Phalcon\Mvc\Model\BinderInterface](/en/3.2/api/Phalcon_Mvc_Model_BinderInterface) $modelBinder, [*mixed* $cache]) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Enable model binding during dispatch @@ -213,21 +222,21 @@ $di->set('dispatcher', function() { ``` -public **getModelBinder** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getModelBinder** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets model binder -public *object* **dispatch** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public *object* **dispatch** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Dispatches a handle action taking into account the routing parameters -protected *object* **_dispatch** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +protected *object* **_dispatch** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Dispatches a handle action taking into account the routing parameters -public **forward** (*array* $forward) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **forward** (*array* $forward) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) -Forwards the execution flow to another controller/action Dispatchers are unique per module. Forwarding between modules is not allowed +Forwards the execution flow to another controller/action. ```php dispatcher->forward( ``` -public **wasForwarded** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **wasForwarded** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Check if the current executed action was forwarded by another one -public **getHandlerClass** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getHandlerClass** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Possible class name that will be located to dispatch the request -public **getBoundModels** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getBoundModels** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns bound models from binder instance @@ -266,6 +275,6 @@ class UserController extends Controller ``` -protected **_resolveEmptyProperties** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +protected **_resolveEmptyProperties** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Set empty properties to their defaults (where defaults are available) \ No newline at end of file diff --git a/tr/api/Phalcon_Cli_DispatcherInterface.md b/tr/api/Phalcon_Cli_DispatcherInterface.md index 58914bf4b682..78f4d7b40c9c 100644 --- a/tr/api/Phalcon_Cli_DispatcherInterface.md +++ b/tr/api/Phalcon_Cli_DispatcherInterface.md @@ -1,6 +1,6 @@ # Interface **Phalcon\\Cli\\DispatcherInterface** -*implements* [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +*implements* [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) Source on GitHub @@ -30,70 +30,70 @@ abstract public **getActiveTask** () ... -abstract public **setActionSuffix** (*mixed* $actionSuffix) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setActionSuffix** (*mixed* $actionSuffix) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **getActionSuffix** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **getActionSuffix** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setDefaultNamespace** (*mixed* $defaultNamespace) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setDefaultNamespace** (*mixed* $defaultNamespace) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setDefaultAction** (*mixed* $actionName) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setDefaultAction** (*mixed* $actionName) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setNamespaceName** (*mixed* $namespaceName) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setNamespaceName** (*mixed* $namespaceName) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setModuleName** (*mixed* $moduleName) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setModuleName** (*mixed* $moduleName) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setActionName** (*mixed* $actionName) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setActionName** (*mixed* $actionName) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **getActionName** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **getActionName** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setParams** (*mixed* $params) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setParams** (*mixed* $params) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **getParams** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **getParams** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setParam** (*mixed* $param, *mixed* $value) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setParam** (*mixed* $param, *mixed* $value) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **getParam** (*mixed* $param, [*mixed* $filters]) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **getParam** (*mixed* $param, [*mixed* $filters]) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **hasParam** (*mixed* $param) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **hasParam** (*mixed* $param) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **isFinished** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **isFinished** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **getReturnedValue** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **getReturnedValue** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **dispatch** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **dispatch** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **forward** (*mixed* $forward) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **forward** (*mixed* $forward) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... \ No newline at end of file diff --git a/tr/api/Phalcon_Cli_Dispatcher_Exception.md b/tr/api/Phalcon_Cli_Dispatcher_Exception.md index 0eeb05860d89..fbd0a6c4292d 100644 --- a/tr/api/Phalcon_Cli_Dispatcher_Exception.md +++ b/tr/api/Phalcon_Cli_Dispatcher_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cli\\Dispatcher\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/tr/api/Phalcon_Cli_Router.md b/tr/api/Phalcon_Cli_Router.md index d2cb10a44276..5a0943627b36 100644 --- a/tr/api/Phalcon_Cli_Router.md +++ b/tr/api/Phalcon_Cli_Router.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cli\\Router** -*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface) +*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface) Source on GitHub @@ -29,7 +29,7 @@ public **__construct** ([*mixed* $defaultRoutes]) Phalcon\\Cli\\Router constructor -public **setDI** ([Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector) +public **setDI** ([Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector) Sets the dependency injector @@ -69,7 +69,7 @@ public **handle** ([*array* $arguments]) Handles routing information received from command-line arguments -public [Phalcon\Cli\Router\Route](/en/3.1.2/api/Phalcon_Cli_Router_Route) **add** (*string* $pattern, [*string/array* $paths]) +public [Phalcon\Cli\Router\Route](/en/3.2/api/Phalcon_Cli_Router_Route) **add** (*string* $pattern, [*string/array* $paths]) Adds a route to the router @@ -112,7 +112,7 @@ public **getRoutes** () Returns all the routes defined in the router -public [Phalcon\Cli\Router\Route](/en/3.1.2/api/Phalcon_Cli_Router_Route) **getRouteById** (*int* $id) +public [Phalcon\Cli\Router\Route](/en/3.2/api/Phalcon_Cli_Router_Route) **getRouteById** (*int* $id) Returns a route object by its id diff --git a/tr/api/Phalcon_Db_Adapter.md b/tr/api/Phalcon_Db_Adapter.md index c1deaded19cd..a5d397a98c83 100644 --- a/tr/api/Phalcon_Db_Adapter.md +++ b/tr/api/Phalcon_Db_Adapter.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Db\\Adapter** -*implements* [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -24,7 +24,7 @@ public **__construct** (*array* $descriptor) Phalcon\\Db\\Adapter constructor -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) Sets the event manager @@ -32,7 +32,7 @@ public **getEventsManager** () Returns the internal event manager -public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) $dialect) +public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) $dialect) Sets the dialect used to produce the SQL @@ -309,11 +309,11 @@ public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExist Drops a view -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Adds a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) Modifies a table column based on a definition @@ -321,7 +321,7 @@ public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnN Drops a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Adds an index to a table @@ -329,7 +329,7 @@ public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexNam Drop an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Adds a primary key to a table @@ -337,7 +337,7 @@ public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) Drops a table's primary key -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) Adds a foreign key to a table @@ -345,7 +345,7 @@ public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $ref Drops a foreign key from a table -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Returns the SQL column definition from a column @@ -375,7 +375,7 @@ print_r( ``` -public [Phalcon\Db\Index](/en/3.1.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) +public [Phalcon\Db\Index](/en/3.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) Lists table indexes @@ -512,54 +512,54 @@ public *array* **getSQLBindTypes** () Active SQL statement in the object -abstract public **connect** ([*array* $descriptor]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **connect** ([*array* $descriptor]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **query** (*mixed* $sqlStatement, [*mixed* $placeholders], [*mixed* $dataTypes]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **query** (*mixed* $sqlStatement, [*mixed* $placeholders], [*mixed* $dataTypes]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **execute** (*mixed* $sqlStatement, [*mixed* $placeholders], [*mixed* $dataTypes]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **execute** (*mixed* $sqlStatement, [*mixed* $placeholders], [*mixed* $dataTypes]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **affectedRows** () inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **affectedRows** () inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **close** () inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **close** () inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **lastInsertId** ([*mixed* $sequenceName]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **lastInsertId** ([*mixed* $sequenceName]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **isUnderTransaction** () inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **isUnderTransaction** () inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **getInternalHandler** () inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **getInternalHandler** () inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... \ No newline at end of file diff --git a/tr/api/Phalcon_Db_AdapterInterface.md b/tr/api/Phalcon_Db_AdapterInterface.md index 2b9bec9a2acd..4c6a8f54b3f1 100644 --- a/tr/api/Phalcon_Db_AdapterInterface.md +++ b/tr/api/Phalcon_Db_AdapterInterface.md @@ -64,11 +64,11 @@ abstract public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* ... -abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) ... -abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) ... @@ -76,7 +76,7 @@ abstract public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* ... -abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) ... @@ -84,7 +84,7 @@ abstract public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* ... -abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) ... @@ -92,7 +92,7 @@ abstract public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) ... -abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) ... @@ -100,7 +100,7 @@ abstract public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mi ... -abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) ... diff --git a/tr/api/Phalcon_Db_Adapter_Pdo.md b/tr/api/Phalcon_Db_Adapter_Pdo.md index 44de7d9e6e1f..c23a014e3d58 100644 --- a/tr/api/Phalcon_Db_Adapter_Pdo.md +++ b/tr/api/Phalcon_Db_Adapter_Pdo.md @@ -1,8 +1,8 @@ # Abstract class **Phalcon\\Db\\Adapter\\Pdo** -*extends* abstract class [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +*extends* abstract class [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) -*implements* [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +*implements* [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) Source on GitHub @@ -262,35 +262,35 @@ public *array* **getErrorInfo** () Return the error info, if any -public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Name of the dialect used -public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Type of database system the adapter is used for -public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL bound parameter variables -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the event manager -public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the internal event manager -public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the dialect used to produce the SQL -public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns internal dialect instance -public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the first row in a SQL query result @@ -307,7 +307,7 @@ print_r($robot); ``` -public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Dumps the complete result of a query into an array @@ -338,7 +338,7 @@ foreach($robots as $robot) { ``` -public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the n'th field of first row in a SQL query result @@ -358,7 +358,7 @@ print_r($robot); ``` -public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RDBMS SQL syntax @@ -377,7 +377,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RBDM SQL syntax @@ -398,7 +398,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax @@ -435,7 +435,7 @@ $success = $connection->update( Warning! If $whereCondition is string it not escaped. -public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax Another, more convenient syntax @@ -456,7 +456,7 @@ UPDATE `robots` SET `name` = "Astro boy" WHERE id = 101 ``` -public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Deletes data from a table using custom RBDM SQL syntax @@ -474,7 +474,7 @@ DELETE FROM `robots` WHERE `id` = 101 ``` -public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Escapes a column/table/schema name @@ -494,11 +494,11 @@ $escapedTable = $connection->escapeIdentifier( ``` -public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets a list of columns -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Appends a LIMIT clause to $sqlQuery argument @@ -509,7 +509,7 @@ echo $connection->limit("SELECT * FROM robots", 5); ``` -public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.table @@ -522,7 +522,7 @@ var_dump( ``` -public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.view @@ -535,71 +535,71 @@ var_dump( ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a FOR UPDATE clause -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a LOCK IN SHARE MODE clause -public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a table -public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table from a schema/database -public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a view -public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a view -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Modifies a table column based on a definition -public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds an index to a table -public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drop an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a primary key to a table -public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table's primary key -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a foreign key to a table -public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a foreign key from a table -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the SQL column definition from a column -public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all tables on a database @@ -612,7 +612,7 @@ print_r( ``` -public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all views on a database @@ -625,7 +625,7 @@ print_r( ``` -public [Phalcon\Db\Index](/en/3.1.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public [Phalcon\Db\Index](/en/3.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Lists table indexes @@ -638,7 +638,7 @@ print_r( ``` -public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Lists table references @@ -651,7 +651,7 @@ print_r( ``` -public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets creation options from a table @@ -664,31 +664,31 @@ print_r( ``` -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Releases given savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Rollbacks given savepoint -public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Set if nested transactions should use savepoints -public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns if nested transactions should use savepoints -public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the savepoint name to use for nested transactions -public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default identity value to be inserted in an identity column @@ -712,7 +712,7 @@ $success = $connection->insert( ``` -public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default value to make the RBDM use the default value declared in the table definition @@ -734,34 +734,34 @@ $success = $connection->insert( ``` -public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Check whether the database system requires a sequence to produce auto-numeric values -public **useExplicitIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **useExplicitIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Check whether the database system requires an explicit value for identity columns -public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Return descriptor used to connect to the active database -public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets the active connection unique identifier -public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object -public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object without replace bound parameters -public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object -abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... \ No newline at end of file diff --git a/tr/api/Phalcon_Db_Adapter_Pdo_Mysql.md b/tr/api/Phalcon_Db_Adapter_Pdo_Mysql.md index fe17030fddcf..5013bf0def80 100644 --- a/tr/api/Phalcon_Db_Adapter_Pdo_Mysql.md +++ b/tr/api/Phalcon_Db_Adapter_Pdo_Mysql.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Adapter\\Pdo\\Mysql** -*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) -*implements* [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -40,7 +40,7 @@ print_r( ``` -public [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface[]) **describeIndexes** (*string* $table, [*string* $schema]) +public [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface[]) **describeIndexes** (*string* $table, [*string* $schema]) Lists table indexes @@ -66,11 +66,11 @@ print_r( ``` -public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Constructor for Phalcon\\Db\\Adapter\\Pdo -public **connect** ([*array* $descriptor]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **connect** ([*array* $descriptor]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) This method is automatically called in \\Phalcon\\Db\\Adapter\\Pdo constructor. Call it when you need to restore a database connection. @@ -95,7 +95,7 @@ $connection->connect(); ``` -public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns a PDO prepared statement to be executed with 'executePrepared' @@ -120,7 +120,7 @@ $result = $connection->executePrepared( ``` -public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Executes a prepared statement binding. This function uses integer indexes starting from zero @@ -145,7 +145,7 @@ $result = $connection->executePrepared( ``` -public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server is returning rows @@ -166,7 +166,7 @@ $resultset = $connection->query( ``` -public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server doesn't return any rows @@ -188,7 +188,7 @@ $success = $connection->execute( ``` -public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the number of affected rows by the latest INSERT/UPDATE/DELETE executed in the database system @@ -203,11 +203,11 @@ echo $connection->affectedRows(), " were deleted"; ``` -public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Closes the active connection returning success. Phalcon automatically closes and destroys active connections when the request ends -public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Escapes a value to avoid SQL injections according to the active charset in the connection @@ -218,7 +218,7 @@ $escapedStr = $connection->escapeString("some dangerous value"); ``` -public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Converts bound parameters such as :name: or ?1 into PDO bind params ? @@ -236,7 +236,7 @@ print_r( ``` -public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the insert id for the auto_increment/serial column inserted in the latest executed SQL statement @@ -261,23 +261,23 @@ $id = $connection->lastInsertId(); ``` -public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Starts a transaction in the connection -public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Rollbacks the active transaction in the connection -public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Commits the active transaction in the connection -public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the current transaction nesting level -public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Checks whether the connection is under a transaction @@ -293,43 +293,43 @@ var_dump( ``` -public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return internal PDO handler -public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return the error info, if any -public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Name of the dialect used -public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Type of database system the adapter is used for -public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL bound parameter variables -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the event manager -public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the internal event manager -public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the dialect used to produce the SQL -public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns internal dialect instance -public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the first row in a SQL query result @@ -346,7 +346,7 @@ print_r($robot); ``` -public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Dumps the complete result of a query into an array @@ -377,7 +377,7 @@ foreach($robots as $robot) { ``` -public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the n'th field of first row in a SQL query result @@ -397,7 +397,7 @@ print_r($robot); ``` -public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RDBMS SQL syntax @@ -416,7 +416,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RBDM SQL syntax @@ -437,7 +437,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax @@ -474,7 +474,7 @@ $success = $connection->update( Warning! If $whereCondition is string it not escaped. -public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax Another, more convenient syntax @@ -495,7 +495,7 @@ UPDATE `robots` SET `name` = "Astro boy" WHERE id = 101 ``` -public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Deletes data from a table using custom RBDM SQL syntax @@ -513,7 +513,7 @@ DELETE FROM `robots` WHERE `id` = 101 ``` -public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Escapes a column/table/schema name @@ -533,11 +533,11 @@ $escapedTable = $connection->escapeIdentifier( ``` -public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets a list of columns -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Appends a LIMIT clause to $sqlQuery argument @@ -548,7 +548,7 @@ echo $connection->limit("SELECT * FROM robots", 5); ``` -public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.table @@ -561,7 +561,7 @@ var_dump( ``` -public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.view @@ -574,71 +574,71 @@ var_dump( ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a FOR UPDATE clause -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a LOCK IN SHARE MODE clause -public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a table -public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table from a schema/database -public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a view -public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a view -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Modifies a table column based on a definition -public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds an index to a table -public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drop an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a primary key to a table -public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table's primary key -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a foreign key to a table -public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a foreign key from a table -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the SQL column definition from a column -public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all tables on a database @@ -651,7 +651,7 @@ print_r( ``` -public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all views on a database @@ -664,7 +664,7 @@ print_r( ``` -public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets creation options from a table @@ -677,31 +677,31 @@ print_r( ``` -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Releases given savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Rollbacks given savepoint -public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Set if nested transactions should use savepoints -public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns if nested transactions should use savepoints -public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the savepoint name to use for nested transactions -public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default identity value to be inserted in an identity column @@ -725,7 +725,7 @@ $success = $connection->insert( ``` -public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default value to make the RBDM use the default value declared in the table definition @@ -747,30 +747,30 @@ $success = $connection->insert( ``` -public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Check whether the database system requires a sequence to produce auto-numeric values -public **useExplicitIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **useExplicitIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Check whether the database system requires an explicit value for identity columns -public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Return descriptor used to connect to the active database -public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets the active connection unique identifier -public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object -public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object without replace bound parameters -public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object \ No newline at end of file diff --git a/tr/api/Phalcon_Db_Adapter_Pdo_Postgresql.md b/tr/api/Phalcon_Db_Adapter_Pdo_Postgresql.md index c7f35273d52a..9a66f69a4ec1 100644 --- a/tr/api/Phalcon_Db_Adapter_Pdo_Postgresql.md +++ b/tr/api/Phalcon_Db_Adapter_Pdo_Postgresql.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Adapter\\Pdo\\Postgresql** -*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) -*implements* [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -48,7 +48,7 @@ public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $defini Creates a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) Modifies a table column based on a definition @@ -84,11 +84,11 @@ public **supportSequences** () Check whether the database system requires a sequence to produce auto-numeric values -public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Constructor for Phalcon\\Db\\Adapter\\Pdo -public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns a PDO prepared statement to be executed with 'executePrepared' @@ -113,7 +113,7 @@ $result = $connection->executePrepared( ``` -public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Executes a prepared statement binding. This function uses integer indexes starting from zero @@ -138,7 +138,7 @@ $result = $connection->executePrepared( ``` -public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server is returning rows @@ -159,7 +159,7 @@ $resultset = $connection->query( ``` -public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server doesn't return any rows @@ -181,7 +181,7 @@ $success = $connection->execute( ``` -public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the number of affected rows by the latest INSERT/UPDATE/DELETE executed in the database system @@ -196,11 +196,11 @@ echo $connection->affectedRows(), " were deleted"; ``` -public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Closes the active connection returning success. Phalcon automatically closes and destroys active connections when the request ends -public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Escapes a value to avoid SQL injections according to the active charset in the connection @@ -211,7 +211,7 @@ $escapedStr = $connection->escapeString("some dangerous value"); ``` -public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Converts bound parameters such as :name: or ?1 into PDO bind params ? @@ -229,7 +229,7 @@ print_r( ``` -public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the insert id for the auto_increment/serial column inserted in the latest executed SQL statement @@ -254,23 +254,23 @@ $id = $connection->lastInsertId(); ``` -public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Starts a transaction in the connection -public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Rollbacks the active transaction in the connection -public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Commits the active transaction in the connection -public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the current transaction nesting level -public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Checks whether the connection is under a transaction @@ -286,43 +286,43 @@ var_dump( ``` -public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return internal PDO handler -public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return the error info, if any -public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Name of the dialect used -public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Type of database system the adapter is used for -public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL bound parameter variables -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the event manager -public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the internal event manager -public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the dialect used to produce the SQL -public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns internal dialect instance -public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the first row in a SQL query result @@ -339,7 +339,7 @@ print_r($robot); ``` -public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Dumps the complete result of a query into an array @@ -370,7 +370,7 @@ foreach($robots as $robot) { ``` -public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the n'th field of first row in a SQL query result @@ -390,7 +390,7 @@ print_r($robot); ``` -public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RDBMS SQL syntax @@ -409,7 +409,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RBDM SQL syntax @@ -430,7 +430,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax @@ -467,7 +467,7 @@ $success = $connection->update( Warning! If $whereCondition is string it not escaped. -public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax Another, more convenient syntax @@ -488,7 +488,7 @@ UPDATE `robots` SET `name` = "Astro boy" WHERE id = 101 ``` -public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Deletes data from a table using custom RBDM SQL syntax @@ -506,7 +506,7 @@ DELETE FROM `robots` WHERE `id` = 101 ``` -public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Escapes a column/table/schema name @@ -526,11 +526,11 @@ $escapedTable = $connection->escapeIdentifier( ``` -public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets a list of columns -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Appends a LIMIT clause to $sqlQuery argument @@ -541,7 +541,7 @@ echo $connection->limit("SELECT * FROM robots", 5); ``` -public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.table @@ -554,7 +554,7 @@ var_dump( ``` -public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.view @@ -567,63 +567,63 @@ var_dump( ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a FOR UPDATE clause -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a LOCK IN SHARE MODE clause -public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table from a schema/database -public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a view -public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a view -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a column to a table -public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds an index to a table -public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drop an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a primary key to a table -public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table's primary key -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a foreign key to a table -public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a foreign key from a table -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the SQL column definition from a column -public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all tables on a database @@ -636,7 +636,7 @@ print_r( ``` -public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all views on a database @@ -649,7 +649,7 @@ print_r( ``` -public [Phalcon\Db\Index](/en/3.1.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public [Phalcon\Db\Index](/en/3.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Lists table indexes @@ -662,7 +662,7 @@ print_r( ``` -public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Lists table references @@ -675,7 +675,7 @@ print_r( ``` -public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets creation options from a table @@ -688,31 +688,31 @@ print_r( ``` -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Releases given savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Rollbacks given savepoint -public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Set if nested transactions should use savepoints -public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns if nested transactions should use savepoints -public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the savepoint name to use for nested transactions -public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default value to make the RBDM use the default value declared in the table definition @@ -734,22 +734,22 @@ $success = $connection->insert( ``` -public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Return descriptor used to connect to the active database -public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets the active connection unique identifier -public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object -public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object without replace bound parameters -public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object \ No newline at end of file diff --git a/tr/api/Phalcon_Db_Adapter_Pdo_Sqlite.md b/tr/api/Phalcon_Db_Adapter_Pdo_Sqlite.md index 1f92cfbfc6bd..a568c933ce4a 100644 --- a/tr/api/Phalcon_Db_Adapter_Pdo_Sqlite.md +++ b/tr/api/Phalcon_Db_Adapter_Pdo_Sqlite.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Adapter\\Pdo\\Sqlite** -*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) -*implements* [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -40,7 +40,7 @@ print_r( ``` -public [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface[]) **describeIndexes** (*string* $table, [*string* $schema]) +public [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface[]) **describeIndexes** (*string* $table, [*string* $schema]) Lists table indexes @@ -53,7 +53,7 @@ print_r( ``` -public [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface[]) **describeReferences** (*string* $table, [*string* $schema]) +public [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface[]) **describeReferences** (*string* $table, [*string* $schema]) Lists table references @@ -83,11 +83,11 @@ $success = $connection->insert( ``` -public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Constructor for Phalcon\\Db\\Adapter\\Pdo -public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns a PDO prepared statement to be executed with 'executePrepared' @@ -112,7 +112,7 @@ $result = $connection->executePrepared( ``` -public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Executes a prepared statement binding. This function uses integer indexes starting from zero @@ -137,7 +137,7 @@ $result = $connection->executePrepared( ``` -public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server is returning rows @@ -158,7 +158,7 @@ $resultset = $connection->query( ``` -public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server doesn't return any rows @@ -180,7 +180,7 @@ $success = $connection->execute( ``` -public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the number of affected rows by the latest INSERT/UPDATE/DELETE executed in the database system @@ -195,11 +195,11 @@ echo $connection->affectedRows(), " were deleted"; ``` -public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Closes the active connection returning success. Phalcon automatically closes and destroys active connections when the request ends -public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Escapes a value to avoid SQL injections according to the active charset in the connection @@ -210,7 +210,7 @@ $escapedStr = $connection->escapeString("some dangerous value"); ``` -public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Converts bound parameters such as :name: or ?1 into PDO bind params ? @@ -228,7 +228,7 @@ print_r( ``` -public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the insert id for the auto_increment/serial column inserted in the latest executed SQL statement @@ -253,23 +253,23 @@ $id = $connection->lastInsertId(); ``` -public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Starts a transaction in the connection -public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Rollbacks the active transaction in the connection -public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Commits the active transaction in the connection -public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the current transaction nesting level -public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Checks whether the connection is under a transaction @@ -285,43 +285,43 @@ var_dump( ``` -public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return internal PDO handler -public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return the error info, if any -public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Name of the dialect used -public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Type of database system the adapter is used for -public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL bound parameter variables -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the event manager -public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the internal event manager -public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the dialect used to produce the SQL -public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns internal dialect instance -public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the first row in a SQL query result @@ -338,7 +338,7 @@ print_r($robot); ``` -public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Dumps the complete result of a query into an array @@ -369,7 +369,7 @@ foreach($robots as $robot) { ``` -public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the n'th field of first row in a SQL query result @@ -389,7 +389,7 @@ print_r($robot); ``` -public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RDBMS SQL syntax @@ -408,7 +408,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RBDM SQL syntax @@ -429,7 +429,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax @@ -466,7 +466,7 @@ $success = $connection->update( Warning! If $whereCondition is string it not escaped. -public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax Another, more convenient syntax @@ -487,7 +487,7 @@ UPDATE `robots` SET `name` = "Astro boy" WHERE id = 101 ``` -public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Deletes data from a table using custom RBDM SQL syntax @@ -505,7 +505,7 @@ DELETE FROM `robots` WHERE `id` = 101 ``` -public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Escapes a column/table/schema name @@ -525,11 +525,11 @@ $escapedTable = $connection->escapeIdentifier( ``` -public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets a list of columns -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Appends a LIMIT clause to $sqlQuery argument @@ -540,7 +540,7 @@ echo $connection->limit("SELECT * FROM robots", 5); ``` -public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.table @@ -553,7 +553,7 @@ var_dump( ``` -public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.view @@ -566,71 +566,71 @@ var_dump( ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a FOR UPDATE clause -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a LOCK IN SHARE MODE clause -public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a table -public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table from a schema/database -public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a view -public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a view -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Modifies a table column based on a definition -public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds an index to a table -public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drop an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a primary key to a table -public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table's primary key -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a foreign key to a table -public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a foreign key from a table -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the SQL column definition from a column -public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all tables on a database @@ -643,7 +643,7 @@ print_r( ``` -public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all views on a database @@ -656,7 +656,7 @@ print_r( ``` -public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets creation options from a table @@ -669,31 +669,31 @@ print_r( ``` -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Releases given savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Rollbacks given savepoint -public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Set if nested transactions should use savepoints -public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns if nested transactions should use savepoints -public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the savepoint name to use for nested transactions -public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default identity value to be inserted in an identity column @@ -717,26 +717,26 @@ $success = $connection->insert( ``` -public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Check whether the database system requires a sequence to produce auto-numeric values -public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Return descriptor used to connect to the active database -public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets the active connection unique identifier -public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object -public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object without replace bound parameters -public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object \ No newline at end of file diff --git a/tr/api/Phalcon_Db_Column.md b/tr/api/Phalcon_Db_Column.md index ab2fdfb7a40e..fe0210a2b411 100644 --- a/tr/api/Phalcon_Db_Column.md +++ b/tr/api/Phalcon_Db_Column.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Db\\Column** -*implements* [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) +*implements* [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) Source on GitHub diff --git a/tr/api/Phalcon_Db_Dialect.md b/tr/api/Phalcon_Db_Dialect.md index 11c52ea58df4..df25f0af03ab 100644 --- a/tr/api/Phalcon_Db_Dialect.md +++ b/tr/api/Phalcon_Db_Dialect.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Db\\Dialect** -*implements* [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +*implements* [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) Source on GitHub @@ -199,86 +199,86 @@ protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $es Prepares qualified for this RDBMS -abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropTable** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropTable** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **describeIndexes** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **describeIndexes** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **tableOptions** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **tableOptions** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... \ No newline at end of file diff --git a/tr/api/Phalcon_Db_DialectInterface.md b/tr/api/Phalcon_Db_DialectInterface.md index 0bf993854d79..90ee58afb9e1 100644 --- a/tr/api/Phalcon_Db_DialectInterface.md +++ b/tr/api/Phalcon_Db_DialectInterface.md @@ -24,15 +24,15 @@ abstract public **getColumnList** (*array* $columnList) ... -abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) ... -abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) ... -abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) ... @@ -40,7 +40,7 @@ abstract public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* ... -abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) ... @@ -48,7 +48,7 @@ abstract public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* ... -abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) ... @@ -56,7 +56,7 @@ abstract public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) ... -abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) ... diff --git a/tr/api/Phalcon_Db_Dialect_Mysql.md b/tr/api/Phalcon_Db_Dialect_Mysql.md index 6178388fc739..d1a80102e14c 100644 --- a/tr/api/Phalcon_Db_Dialect_Mysql.md +++ b/tr/api/Phalcon_Db_Dialect_Mysql.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Dialect\\Mysql** -*extends* abstract class [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +*extends* abstract class [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) -*implements* [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +*implements* [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) Source on GitHub @@ -10,15 +10,15 @@ Generates database specific SQL for the MySQL RDBMS ## Methods -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Gets the column name in MySQL -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Generates SQL to add a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) Generates SQL to modify a column in a table @@ -26,7 +26,7 @@ public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnN Generates SQL to delete a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add an index to a table @@ -34,7 +34,7 @@ public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexNam Generates SQL to delete an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add the primary key to a table @@ -42,7 +42,7 @@ public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) Generates SQL to delete primary key from a table -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) Generates SQL to add an index to a table @@ -133,23 +133,23 @@ protected **_getTableOptions** (*array* $definition) Generates SQL to add the table creation options -public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Registers custom SQL functions -public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns registered functions -final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape Schema -final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape identifiers -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generates the SQL for LIMIT clause @@ -164,7 +164,7 @@ echo $sql; // SELECT * FROM robots LIMIT 10 OFFSET 50 ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a FOR UPDATE clause @@ -176,7 +176,7 @@ echo $sql; // SELECT * FROM robots FOR UPDATE ``` -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a LOCK IN SHARE MODE clause @@ -188,7 +188,7 @@ echo $sql; // SELECT * FROM robots LOCK IN SHARE MODE ``` -final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Gets a list of columns with escaped identifiers @@ -204,122 +204,122 @@ echo $dialect->getColumnList( ``` -final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transforms an intermediate representation for an expression into a database system valid expression -final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transform an intermediate representation of a schema/table into a database system valid expression -public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Builds a SELECT statement -public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports savepoints -public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports releasing savepoints. -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to create a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to release a savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to rollback a savepoint -final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve object expressions -final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve qualified expressions -final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve binary operations expressions -final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve unary operations expressions -final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve function calls -final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Lists -final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve * -final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CAST of values -final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CONVERT of values encodings -final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CASE expressions -final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a FROM clause -final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a JOINs clause -final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a WHERE clause -final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a GROUP BY clause -final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a HAVING clause -final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve an ORDER BY clause -final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a LIMIT clause -protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares column for this RDBMS -protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares table for this RDBMS -protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares qualified for this RDBMS \ No newline at end of file diff --git a/tr/api/Phalcon_Db_Dialect_Postgresql.md b/tr/api/Phalcon_Db_Dialect_Postgresql.md index 01fe5982984c..f10d03525235 100644 --- a/tr/api/Phalcon_Db_Dialect_Postgresql.md +++ b/tr/api/Phalcon_Db_Dialect_Postgresql.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Dialect\\Postgresql** -*extends* abstract class [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +*extends* abstract class [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) -*implements* [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +*implements* [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) Source on GitHub @@ -10,15 +10,15 @@ Generates database specific SQL for the PostgreSQL RDBMS ## Methods -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Gets the column name in PostgreSQL -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Generates SQL to add a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) Generates SQL to modify a column in a table @@ -26,7 +26,7 @@ public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnN Generates SQL to delete a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add an index to a table @@ -34,7 +34,7 @@ public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexNam Generates SQL to delete an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add the primary key to a table @@ -42,7 +42,7 @@ public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) Generates SQL to delete primary key from a table -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) Generates SQL to add an index to a table @@ -129,7 +129,7 @@ public **tableOptions** (*mixed* $table, [*mixed* $schema]) Generates the SQL to describe the table creation options -protected **_castDefault** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +protected **_castDefault** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) ... @@ -137,23 +137,23 @@ protected **_getTableOptions** (*array* $definition) ... -public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Registers custom SQL functions -public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns registered functions -final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape Schema -final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape identifiers -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generates the SQL for LIMIT clause @@ -168,7 +168,7 @@ echo $sql; // SELECT * FROM robots LIMIT 10 OFFSET 50 ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a FOR UPDATE clause @@ -180,7 +180,7 @@ echo $sql; // SELECT * FROM robots FOR UPDATE ``` -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a LOCK IN SHARE MODE clause @@ -192,7 +192,7 @@ echo $sql; // SELECT * FROM robots LOCK IN SHARE MODE ``` -final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Gets a list of columns with escaped identifiers @@ -208,122 +208,122 @@ echo $dialect->getColumnList( ``` -final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transforms an intermediate representation for an expression into a database system valid expression -final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transform an intermediate representation of a schema/table into a database system valid expression -public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Builds a SELECT statement -public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports savepoints -public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports releasing savepoints. -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to create a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to release a savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to rollback a savepoint -final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve object expressions -final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve qualified expressions -final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve binary operations expressions -final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve unary operations expressions -final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve function calls -final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Lists -final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve * -final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CAST of values -final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CONVERT of values encodings -final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CASE expressions -final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a FROM clause -final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a JOINs clause -final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a WHERE clause -final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a GROUP BY clause -final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a HAVING clause -final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve an ORDER BY clause -final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a LIMIT clause -protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares column for this RDBMS -protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares table for this RDBMS -protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares qualified for this RDBMS \ No newline at end of file diff --git a/tr/api/Phalcon_Db_Dialect_Sqlite.md b/tr/api/Phalcon_Db_Dialect_Sqlite.md index 7b38162151a0..dabec6d39e49 100644 --- a/tr/api/Phalcon_Db_Dialect_Sqlite.md +++ b/tr/api/Phalcon_Db_Dialect_Sqlite.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Dialect\\Sqlite** -*extends* abstract class [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +*extends* abstract class [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) -*implements* [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +*implements* [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) Source on GitHub @@ -10,15 +10,15 @@ Generates database specific SQL for the Sqlite RDBMS ## Methods -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Gets the column name in SQLite -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Generates SQL to add a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) Generates SQL to modify a column in a table @@ -26,7 +26,7 @@ public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnN Generates SQL to delete a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add an index to a table @@ -34,7 +34,7 @@ public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexNam Generates SQL to delete an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add the primary key to a table @@ -42,7 +42,7 @@ public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) Generates SQL to delete primary key from a table -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) Generates SQL to add an index to a table @@ -146,23 +146,23 @@ public **tableOptions** (*mixed* $table, [*mixed* $schema]) Generates the SQL to describe the table creation options -public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Registers custom SQL functions -public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns registered functions -final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape Schema -final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape identifiers -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generates the SQL for LIMIT clause @@ -177,7 +177,7 @@ echo $sql; // SELECT * FROM robots LIMIT 10 OFFSET 50 ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a FOR UPDATE clause @@ -189,7 +189,7 @@ echo $sql; // SELECT * FROM robots FOR UPDATE ``` -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a LOCK IN SHARE MODE clause @@ -201,7 +201,7 @@ echo $sql; // SELECT * FROM robots LOCK IN SHARE MODE ``` -final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Gets a list of columns with escaped identifiers @@ -217,122 +217,122 @@ echo $dialect->getColumnList( ``` -final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transforms an intermediate representation for an expression into a database system valid expression -final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transform an intermediate representation of a schema/table into a database system valid expression -public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Builds a SELECT statement -public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports savepoints -public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports releasing savepoints. -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to create a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to release a savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to rollback a savepoint -final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve object expressions -final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve qualified expressions -final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve binary operations expressions -final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve unary operations expressions -final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve function calls -final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Lists -final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve * -final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CAST of values -final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CONVERT of values encodings -final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CASE expressions -final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a FROM clause -final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a JOINs clause -final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a WHERE clause -final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a GROUP BY clause -final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a HAVING clause -final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve an ORDER BY clause -final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a LIMIT clause -protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares column for this RDBMS -protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares table for this RDBMS -protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares qualified for this RDBMS \ No newline at end of file diff --git a/tr/api/Phalcon_Db_Exception.md b/tr/api/Phalcon_Db_Exception.md index 839c2d00fbf8..00160179b065 100644 --- a/tr/api/Phalcon_Db_Exception.md +++ b/tr/api/Phalcon_Db_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Db\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/tr/api/Phalcon_Db_Index.md b/tr/api/Phalcon_Db_Index.md index 60a5b41f764f..9ca94ad0e146 100644 --- a/tr/api/Phalcon_Db_Index.md +++ b/tr/api/Phalcon_Db_Index.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Db\\Index** -*implements* [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) +*implements* [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) Source on GitHub diff --git a/tr/api/Phalcon_Db_Profiler.md b/tr/api/Phalcon_Db_Profiler.md index 05a913cb9c2c..1d6dde6d6e69 100644 --- a/tr/api/Phalcon_Db_Profiler.md +++ b/tr/api/Phalcon_Db_Profiler.md @@ -31,7 +31,7 @@ echo "Total Elapsed Time: ", $profile->getTotalElapsedSeconds(), "\n"; ## Methods -public [Phalcon\Db\Profiler](/en/3.1.2/api/Phalcon_Db_Profiler) **startProfile** (*string* $sqlStatement, [*mixed* $sqlVariables], [*mixed* $sqlBindTypes]) +public [Phalcon\Db\Profiler](/en/3.2/api/Phalcon_Db_Profiler) **startProfile** (*string* $sqlStatement, [*mixed* $sqlVariables], [*mixed* $sqlBindTypes]) Starts the profile of a SQL sentence diff --git a/tr/api/Phalcon_Db_Reference.md b/tr/api/Phalcon_Db_Reference.md index 30ac1a686521..2e83e14de226 100644 --- a/tr/api/Phalcon_Db_Reference.md +++ b/tr/api/Phalcon_Db_Reference.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Db\\Reference** -*implements* [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) +*implements* [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) Source on GitHub diff --git a/tr/api/Phalcon_Db_Result_Pdo.md b/tr/api/Phalcon_Db_Result_Pdo.md index 2e053d67ae6f..91808dece71f 100644 --- a/tr/api/Phalcon_Db_Result_Pdo.md +++ b/tr/api/Phalcon_Db_Result_Pdo.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Db\\Result\\Pdo** -*implements* [Phalcon\Db\ResultInterface](/en/3.1.2/api/Phalcon_Db_ResultInterface) +*implements* [Phalcon\Db\ResultInterface](/en/3.2/api/Phalcon_Db_ResultInterface) Source on GitHub @@ -23,7 +23,7 @@ while ($robot = $result->fetchArray()) { ## Methods -public **__construct** ([Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) $connection, [PDOStatement](http://php.net/manual/en/class.pdostatement.php) $result, [*string* $sqlStatement], [*array* $bindParams], [*array* $bindTypes]) +public **__construct** ([Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) $connection, [PDOStatement](http://php.net/manual/en/class.pdostatement.php) $result, [*string* $sqlStatement], [*array* $bindParams], [*array* $bindTypes]) Phalcon\\Db\\Result\\Pdo constructor diff --git a/uk/api/Phalcon_Acl_Adapter.md b/uk/api/Phalcon_Acl_Adapter.md index 9f86a2a2a142..1696a50b6e15 100644 --- a/uk/api/Phalcon_Acl_Adapter.md +++ b/uk/api/Phalcon_Acl_Adapter.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Acl\\Adapter** -*implements* [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -20,7 +20,7 @@ public **getActiveAccess** () Active access which the list is checking if some role can access it -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) Sets the events manager @@ -36,58 +36,58 @@ public **getDefaultAction** () Returns the default ACL access level -abstract public **setNoArgumentsDefaultAction** (*mixed* $defaultAccess) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **setNoArgumentsDefaultAction** (*mixed* $defaultAccess) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **getNoArgumentsDefaultAction** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **getNoArgumentsDefaultAction** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **addRole** (*mixed* $role, [*mixed* $accessInherits]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **addRole** (*mixed* $role, [*mixed* $accessInherits]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **addInherit** (*mixed* $roleName, *mixed* $roleToInherit) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **addInherit** (*mixed* $roleName, *mixed* $roleToInherit) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **isRole** (*mixed* $roleName) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **isRole** (*mixed* $roleName) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **isResource** (*mixed* $resourceName) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **isResource** (*mixed* $resourceName) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **addResource** (*mixed* $resourceObject, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **addResource** (*mixed* $resourceObject, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **addResourceAccess** (*mixed* $resourceName, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **addResourceAccess** (*mixed* $resourceName, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **dropResourceAccess** (*mixed* $resourceName, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **dropResourceAccess** (*mixed* $resourceName, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **allow** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*mixed* $func]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **allow** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*mixed* $func]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **deny** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*mixed* $func]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **deny** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*mixed* $func]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **isAllowed** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*array* $parameters]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **isAllowed** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*array* $parameters]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **getRoles** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **getRoles** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **getResources** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **getResources** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... \ No newline at end of file diff --git a/uk/api/Phalcon_Acl_Adapter_Memory.md b/uk/api/Phalcon_Acl_Adapter_Memory.md index e9ea95ccda45..889751c95b98 100644 --- a/uk/api/Phalcon_Acl_Adapter_Memory.md +++ b/uk/api/Phalcon_Acl_Adapter_Memory.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Acl\\Adapter\\Memory** -*extends* abstract class [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +*extends* abstract class [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) -*implements* [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +*implements* [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) Source on GitHub @@ -105,7 +105,7 @@ public **isResource** (*mixed* $resourceName) Check whether resource exist in the resources list -public **addResource** ([Phalcon\Acl\Resource](/en/3.1.2/api/Phalcon_Acl_Resource) | *string* $resourceValue, *array* | *string* $accessList) +public **addResource** ([Phalcon\Acl\Resource](/en/3.2/api/Phalcon_Acl_Resource) | *string* $resourceValue, *array* | *string* $accessList) Adds a resource to the ACL list Access names can be a particular action, by example search, update, delete, etc or a list of them Example: @@ -224,30 +224,30 @@ public **getResources** () Return an array with every resource registered in the list -public **getActiveRole** () inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **getActiveRole** () inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Role which the list is checking if it's allowed to certain resource/access -public **getActiveResource** () inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **getActiveResource** () inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Resource which the list is checking if some role can access it -public **getActiveAccess** () inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **getActiveAccess** () inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Active access which the list is checking if some role can access it -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Sets the events manager -public **getEventsManager** () inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **getEventsManager** () inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Returns the internal event manager -public **setDefaultAction** (*mixed* $defaultAccess) inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **setDefaultAction** (*mixed* $defaultAccess) inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Sets the default access level (Phalcon\\Acl::ALLOW or Phalcon\\Acl::DENY) -public **getDefaultAction** () inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **getDefaultAction** () inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Returns the default ACL access level \ No newline at end of file diff --git a/uk/api/Phalcon_Acl_Exception.md b/uk/api/Phalcon_Acl_Exception.md index 153094579c30..9c1b44ab7b5d 100644 --- a/uk/api/Phalcon_Acl_Exception.md +++ b/uk/api/Phalcon_Acl_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Acl\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/uk/api/Phalcon_Acl_Resource.md b/uk/api/Phalcon_Acl_Resource.md index 1663e1ad2e93..25ac2d3e792b 100644 --- a/uk/api/Phalcon_Acl_Resource.md +++ b/uk/api/Phalcon_Acl_Resource.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Acl\\Resource** -*implements* [Phalcon\Acl\ResourceInterface](/en/3.1.2/api/Phalcon_Acl_ResourceInterface) +*implements* [Phalcon\Acl\ResourceInterface](/en/3.2/api/Phalcon_Acl_ResourceInterface) Source on GitHub diff --git a/uk/api/Phalcon_Acl_Role.md b/uk/api/Phalcon_Acl_Role.md index e105183dd7f4..c8252648d6c8 100644 --- a/uk/api/Phalcon_Acl_Role.md +++ b/uk/api/Phalcon_Acl_Role.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Acl\\Role** -*implements* [Phalcon\Acl\RoleInterface](/en/3.1.2/api/Phalcon_Acl_RoleInterface) +*implements* [Phalcon\Acl\RoleInterface](/en/3.2/api/Phalcon_Acl_RoleInterface) Source on GitHub diff --git a/uk/api/Phalcon_Annotations_Adapter.md b/uk/api/Phalcon_Annotations_Adapter.md index 7a2b31fc4dc1..d42ac348bbc9 100644 --- a/uk/api/Phalcon_Annotations_Adapter.md +++ b/uk/api/Phalcon_Annotations_Adapter.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Annotations\\Adapter** -*implements* [Phalcon\Annotations\AdapterInterface](/en/3.1.2/api/Phalcon_Annotations_AdapterInterface) +*implements* [Phalcon\Annotations\AdapterInterface](/en/3.2/api/Phalcon_Annotations_AdapterInterface) Source on GitHub @@ -8,7 +8,7 @@ This is the base class for Phalcon\\Annotations adapters ## Methods -public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) +public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) Sets the annotations parser diff --git a/uk/api/Phalcon_Annotations_AdapterInterface.md b/uk/api/Phalcon_Annotations_AdapterInterface.md index a4e2c689503a..a1ff65cb01a1 100644 --- a/uk/api/Phalcon_Annotations_AdapterInterface.md +++ b/uk/api/Phalcon_Annotations_AdapterInterface.md @@ -4,7 +4,7 @@ ## Methods -abstract public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) +abstract public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) ... diff --git a/uk/api/Phalcon_Annotations_Adapter_Apc.md b/uk/api/Phalcon_Annotations_Adapter_Apc.md index 1b8a1d6d0d7d..467622a88425 100644 --- a/uk/api/Phalcon_Annotations_Adapter_Apc.md +++ b/uk/api/Phalcon_Annotations_Adapter_Apc.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Annotations\\Adapter\\Apc** -*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) -*implements* [Phalcon\Annotations\AdapterInterface](/en/3.1.2/api/Phalcon_Annotations_AdapterInterface) +*implements* [Phalcon\Annotations\AdapterInterface](/en/3.2/api/Phalcon_Annotations_AdapterInterface) Source on GitHub @@ -27,34 +27,34 @@ public **read** (*mixed* $key) Reads parsed annotations from APC -public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) $data) +public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) $data) Writes parsed annotations to APC -public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Sets the annotations parser -public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotation reader -public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Parses or retrieves all the annotations found in a class -public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific method -public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific property \ No newline at end of file diff --git a/uk/api/Phalcon_Annotations_Adapter_Files.md b/uk/api/Phalcon_Annotations_Adapter_Files.md index fcb4c23e6c2e..e4c407e5954e 100644 --- a/uk/api/Phalcon_Annotations_Adapter_Files.md +++ b/uk/api/Phalcon_Annotations_Adapter_Files.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Annotations\\Adapter\\Files** -*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) -*implements* [Phalcon\Annotations\AdapterInterface](/en/3.1.2/api/Phalcon_Annotations_AdapterInterface) +*implements* [Phalcon\Annotations\AdapterInterface](/en/3.2/api/Phalcon_Annotations_AdapterInterface) Source on GitHub @@ -27,38 +27,38 @@ public **__construct** ([*array* $options]) Phalcon\\Annotations\\Adapter\\Files constructor -public [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) **read** (*string* $key) +public [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) **read** (*string* $key) Reads parsed annotations from files -public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) $data) +public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) $data) Writes parsed annotations to files -public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Sets the annotations parser -public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotation reader -public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Parses or retrieves all the annotations found in a class -public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific method -public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific property \ No newline at end of file diff --git a/uk/api/Phalcon_Annotations_Adapter_Memory.md b/uk/api/Phalcon_Annotations_Adapter_Memory.md index 53fc2e3769c7..205f20e6b1b8 100644 --- a/uk/api/Phalcon_Annotations_Adapter_Memory.md +++ b/uk/api/Phalcon_Annotations_Adapter_Memory.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Annotations\\Adapter\\Memory** -*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) -*implements* [Phalcon\Annotations\AdapterInterface](/en/3.1.2/api/Phalcon_Annotations_AdapterInterface) +*implements* [Phalcon\Annotations\AdapterInterface](/en/3.2/api/Phalcon_Annotations_AdapterInterface) Source on GitHub @@ -14,34 +14,34 @@ public **read** (*mixed* $key) Reads parsed annotations from memory -public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) $data) +public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) $data) Writes parsed annotations to memory -public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Sets the annotations parser -public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotation reader -public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Parses or retrieves all the annotations found in a class -public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific method -public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific property \ No newline at end of file diff --git a/uk/api/Phalcon_Annotations_Adapter_Xcache.md b/uk/api/Phalcon_Annotations_Adapter_Xcache.md index 79bfa9e6b4d3..37c97e7e6b8c 100644 --- a/uk/api/Phalcon_Annotations_Adapter_Xcache.md +++ b/uk/api/Phalcon_Annotations_Adapter_Xcache.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Annotations\\Adapter\\Xcache** -*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) -*implements* [Phalcon\Annotations\AdapterInterface](/en/3.1.2/api/Phalcon_Annotations_AdapterInterface) +*implements* [Phalcon\Annotations\AdapterInterface](/en/3.2/api/Phalcon_Annotations_AdapterInterface) Source on GitHub @@ -17,38 +17,38 @@ $annotations = new \Phalcon\Annotations\Adapter\Xcache(); ## Methods -public [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) **read** (*string* $key) +public [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) **read** (*string* $key) Reads parsed annotations from XCache -public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) $data) +public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) $data) Writes parsed annotations to XCache -public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Sets the annotations parser -public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotation reader -public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Parses or retrieves all the annotations found in a class -public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific method -public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific property \ No newline at end of file diff --git a/uk/api/Phalcon_Annotations_Collection.md b/uk/api/Phalcon_Annotations_Collection.md index 8176520b43ea..ba33511a50fe 100644 --- a/uk/api/Phalcon_Annotations_Collection.md +++ b/uk/api/Phalcon_Annotations_Collection.md @@ -36,7 +36,7 @@ public **rewind** () Rewinds the internal iterator -public [Phalcon\Annotations\Annotation](/en/3.1.2/api/Phalcon_Annotations_Annotation) **current** () +public [Phalcon\Annotations\Annotation](/en/3.2/api/Phalcon_Annotations_Annotation) **current** () Returns the current annotation in the iterator diff --git a/uk/api/Phalcon_Annotations_Reader.md b/uk/api/Phalcon_Annotations_Reader.md index 56ca9b058cd1..4e8e513ffea9 100644 --- a/uk/api/Phalcon_Annotations_Reader.md +++ b/uk/api/Phalcon_Annotations_Reader.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Annotations\\Reader** -*implements* [Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) +*implements* [Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) Source on GitHub diff --git a/uk/api/Phalcon_Application.md b/uk/api/Phalcon_Application.md index e7e767824af2..5ff2b07edaf4 100644 --- a/uk/api/Phalcon_Application.md +++ b/uk/api/Phalcon_Application.md @@ -1,8 +1,8 @@ # Abstract class **Phalcon\\Application** -*extends* abstract class [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +*extends* abstract class [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) -*implements* [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface) +*implements* [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface) Source on GitHub @@ -10,9 +10,9 @@ Base class for Phalcon\\Cli\\Console and Phalcon\\Mvc\\Application. ## Methods -public **__construct** ([[Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector]) +public **__construct** ([[Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector]) -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) Sets the events manager @@ -62,14 +62,14 @@ abstract public **handle** () Handles a request -public **setDI** ([Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **setDI** ([Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Sets the dependency injector -public **getDI** () inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **getDI** () inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Returns the internal dependency injector -public **__get** (*mixed* $propertyName) inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **__get** (*mixed* $propertyName) inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Magic method __get \ No newline at end of file diff --git a/uk/api/Phalcon_Application_Exception.md b/uk/api/Phalcon_Application_Exception.md index ade9f4d1b49e..49637aa88e5e 100644 --- a/uk/api/Phalcon_Application_Exception.md +++ b/uk/api/Phalcon_Application_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Application\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/uk/api/Phalcon_Assets_Collection.md b/uk/api/Phalcon_Assets_Collection.md index 9c3e06cdb077..f6f18d5a1d60 100644 --- a/uk/api/Phalcon_Assets_Collection.md +++ b/uk/api/Phalcon_Assets_Collection.md @@ -56,14 +56,35 @@ public **getSourcePath** () ... -public **add** ([Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) $resource) +public **__construct** () + +Phalcon\\Assets\\Collection constructor + +public **add** ([Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) $resource) Adds a resource to the collection -public **addInline** ([Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) $code) +public **addInline** ([Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) $code) Adds an inline code to the collection +public **has** ([Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) $resource) + +Checks this the resource is added to the collection. + +```php +has($resource); // true + +``` + public **addCss** (*mixed* $path, [*mixed* $local], [*mixed* $filter], [*mixed* $attributes]) Adds a CSS resource to the collection @@ -72,7 +93,7 @@ public **addInlineCss** (*mixed* $content, [*mixed* $filter], [*mixed* $attribut Adds an inline CSS to the collection -public [Phalcon\Assets\Collection](/en/3.1.2/api/Phalcon_Assets_Collection) **addJs** (*string* $path, [*boolean* $local], [*boolean* $filter], [*array* $attributes]) +public [Phalcon\Assets\Collection](/en/3.2/api/Phalcon_Assets_Collection) **addJs** (*string* $path, [*boolean* $local], [*boolean* $filter], [*array* $attributes]) Adds a javascript resource to the collection @@ -144,6 +165,10 @@ public **getRealTargetPath** (*mixed* $basePath) Returns the complete location where the joined/filtered collection must be written -public **addFilter** ([Phalcon\Assets\FilterInterface](/en/3.1.2/api/Phalcon_Assets_FilterInterface) $filter) +public **addFilter** ([Phalcon\Assets\FilterInterface](/en/3.2/api/Phalcon_Assets_FilterInterface) $filter) + +Adds a filter to the collection + +final protected **addResource** ([Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) $resource) -Adds a filter to the collection \ No newline at end of file +Adds a resource or inline-code to the collection \ No newline at end of file diff --git a/uk/api/Phalcon_Assets_Exception.md b/uk/api/Phalcon_Assets_Exception.md index bf3c9a57c01a..4c8c0516fd94 100644 --- a/uk/api/Phalcon_Assets_Exception.md +++ b/uk/api/Phalcon_Assets_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Assets\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/uk/api/Phalcon_Assets_Filters_Cssmin.md b/uk/api/Phalcon_Assets_Filters_Cssmin.md index 75e2781f79a0..a807a59e4880 100644 --- a/uk/api/Phalcon_Assets_Filters_Cssmin.md +++ b/uk/api/Phalcon_Assets_Filters_Cssmin.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Assets\\Filters\\Cssmin** -*implements* [Phalcon\Assets\FilterInterface](/en/3.1.2/api/Phalcon_Assets_FilterInterface) +*implements* [Phalcon\Assets\FilterInterface](/en/3.2/api/Phalcon_Assets_FilterInterface) Source on GitHub diff --git a/uk/api/Phalcon_Assets_Filters_Jsmin.md b/uk/api/Phalcon_Assets_Filters_Jsmin.md index 2ee9aa7f5390..2bfe2b4851a4 100644 --- a/uk/api/Phalcon_Assets_Filters_Jsmin.md +++ b/uk/api/Phalcon_Assets_Filters_Jsmin.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Assets\\Filters\\Jsmin** -*implements* [Phalcon\Assets\FilterInterface](/en/3.1.2/api/Phalcon_Assets_FilterInterface) +*implements* [Phalcon\Assets\FilterInterface](/en/3.2/api/Phalcon_Assets_FilterInterface) Source on GitHub diff --git a/uk/api/Phalcon_Assets_Filters_None.md b/uk/api/Phalcon_Assets_Filters_None.md index 93c79dd941f6..60e59aac09de 100644 --- a/uk/api/Phalcon_Assets_Filters_None.md +++ b/uk/api/Phalcon_Assets_Filters_None.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Assets\\Filters\\None** -*implements* [Phalcon\Assets\FilterInterface](/en/3.1.2/api/Phalcon_Assets_FilterInterface) +*implements* [Phalcon\Assets\FilterInterface](/en/3.2/api/Phalcon_Assets_FilterInterface) Source on GitHub diff --git a/uk/api/Phalcon_Assets_Inline.md b/uk/api/Phalcon_Assets_Inline.md index 05a1f622aa48..e5c3ef631536 100644 --- a/uk/api/Phalcon_Assets_Inline.md +++ b/uk/api/Phalcon_Assets_Inline.md @@ -1,5 +1,7 @@ # Class **Phalcon\\Assets\\Inline** +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) + Source on GitHub Represents an inline asset @@ -43,4 +45,8 @@ Sets if the resource must be filtered or not public **setAttributes** (*array* $attributes) -Sets extra HTML attributes \ No newline at end of file +Sets extra HTML attributes + +public **getResourceKey** () + +Gets the resource's key. \ No newline at end of file diff --git a/uk/api/Phalcon_Assets_Inline_Css.md b/uk/api/Phalcon_Assets_Inline_Css.md index c4d7a9d0e919..aad74b78beca 100644 --- a/uk/api/Phalcon_Assets_Inline_Css.md +++ b/uk/api/Phalcon_Assets_Inline_Css.md @@ -1,6 +1,8 @@ # Class **Phalcon\\Assets\\Inline\\Css** -*extends* class [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +*extends* class [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) + +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) Source on GitHub @@ -10,30 +12,34 @@ Represents an inlined CSS public **__construct** (*string* $content, [*boolean* $filter], [*array* $attributes]) -public **getType** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getType** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getContent** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getContent** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getFilter** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getFilter** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getAttributes** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getAttributes** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) Sets the inline's type -public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) Sets if the resource must be filtered or not -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) + +Sets extra HTML attributes + +public **getResourceKey** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) -Sets extra HTML attributes \ No newline at end of file +Gets the resource's key. \ No newline at end of file diff --git a/uk/api/Phalcon_Assets_Inline_Js.md b/uk/api/Phalcon_Assets_Inline_Js.md index 27d57246d817..1cce336b4116 100644 --- a/uk/api/Phalcon_Assets_Inline_Js.md +++ b/uk/api/Phalcon_Assets_Inline_Js.md @@ -1,6 +1,8 @@ # Class **Phalcon\\Assets\\Inline\\Js** -*extends* class [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +*extends* class [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) + +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) Source on GitHub @@ -10,30 +12,34 @@ Represents an inline Javascript public **__construct** (*string* $content, [*boolean* $filter], [*array* $attributes]) -public **getType** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getType** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getContent** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getContent** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getFilter** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getFilter** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getAttributes** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getAttributes** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) Sets the inline's type -public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) Sets if the resource must be filtered or not -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) + +Sets extra HTML attributes + +public **getResourceKey** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) -Sets extra HTML attributes \ No newline at end of file +Gets the resource's key. \ No newline at end of file diff --git a/uk/api/Phalcon_Assets_Manager.md b/uk/api/Phalcon_Assets_Manager.md index 55ab07f19201..13ecabf4ff9c 100644 --- a/uk/api/Phalcon_Assets_Manager.md +++ b/uk/api/Phalcon_Assets_Manager.md @@ -52,7 +52,7 @@ public **addInlineJs** (*mixed* $content, [*mixed* $filter], [*mixed* $attribute Adds an inline javascript to the 'js' collection -public **addResourceByType** (*mixed* $type, [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) $resource) +public **addResourceByType** (*mixed* $type, [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) $resource) Adds a resource by its type @@ -65,11 +65,11 @@ $assets->addResourceByType("css", ``` -public **addInlineCodeByType** (*mixed* $type, [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) $code) +public **addInlineCodeByType** (*mixed* $type, [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) $code) Adds an inline code by its type -public **addResource** ([Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) $resource) +public **addResource** ([Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) $resource) Adds a raw resource to the manager @@ -82,11 +82,11 @@ $assets->addResource( ``` -public **addInlineCode** ([Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) $code) +public **addInlineCode** ([Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) $code) Adds a raw inline code to the manager -public **set** (*mixed* $id, [Phalcon\Assets\Collection](/en/3.1.2/api/Phalcon_Assets_Collection) $collection) +public **set** (*mixed* $id, [Phalcon\Assets\Collection](/en/3.2/api/Phalcon_Assets_Collection) $collection) Sets a collection in the Assets Manager @@ -99,7 +99,7 @@ $assets->set("js", $collection); public **get** (*mixed* $id) -Returns a collection by its id +Returns a collection by its id. ```php exists("jsHeader")) { + // \Phalcon\Assets\Collection + $collection = $assets->get("jsHeader"); +} + +``` \ No newline at end of file diff --git a/uk/api/Phalcon_Assets_Resource.md b/uk/api/Phalcon_Assets_Resource.md index 9718061c348e..d67dc71b7929 100644 --- a/uk/api/Phalcon_Assets_Resource.md +++ b/uk/api/Phalcon_Assets_Resource.md @@ -1,5 +1,7 @@ # Class **Phalcon\\Assets\\Resource** +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) + Source on GitHub Represents an asset resource @@ -85,4 +87,8 @@ Returns the complete location where the resource is located public **getRealTargetPath** ([*mixed* $basePath]) -Returns the complete location where the resource must be written \ No newline at end of file +Returns the complete location where the resource must be written + +public **getResourceKey** () + +Gets the resource's key. \ No newline at end of file diff --git a/uk/api/Phalcon_Assets_Resource_Css.md b/uk/api/Phalcon_Assets_Resource_Css.md index 9376a4de5f6d..11c938e391ca 100644 --- a/uk/api/Phalcon_Assets_Resource_Css.md +++ b/uk/api/Phalcon_Assets_Resource_Css.md @@ -1,6 +1,8 @@ # Class **Phalcon\\Assets\\Resource\\Css** -*extends* class [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +*extends* class [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) + +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) Source on GitHub @@ -10,72 +12,76 @@ Represents CSS resources public **__construct** (*string* $path, [*boolean* $local], [*boolean* $filter], [*array* $attributes]) -public **getType** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getType** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getPath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getPath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getLocal** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getLocal** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getFilter** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getFilter** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getAttributes** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getAttributes** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getSourcePath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getSourcePath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **getTargetPath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getTargetPath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **getTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's type -public **setPath** (*mixed* $path) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setPath** (*mixed* $path) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's path -public **setLocal** (*mixed* $local) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setLocal** (*mixed* $local) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets if the resource is local or external -public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets if the resource must be filtered or not -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets extra HTML attributes -public **setTargetUri** (*mixed* $targetUri) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setTargetUri** (*mixed* $targetUri) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets a target uri for the generated HTML -public **setSourcePath** (*mixed* $sourcePath) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setSourcePath** (*mixed* $sourcePath) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's source path -public **setTargetPath** (*mixed* $targetPath) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setTargetPath** (*mixed* $targetPath) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's target path -public **getContent** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getContent** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the content of the resource as an string Optionally a base path where the resource is located can be set -public **getRealTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the real target uri for the generated HTML -public **getRealSourcePath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealSourcePath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the complete location where the resource is located -public **getRealTargetPath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealTargetPath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) + +Returns the complete location where the resource must be written + +public **getResourceKey** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -Returns the complete location where the resource must be written \ No newline at end of file +Gets the resource's key. \ No newline at end of file diff --git a/uk/api/Phalcon_Assets_Resource_Js.md b/uk/api/Phalcon_Assets_Resource_Js.md index a4c132ff1ed1..2acc4d239b9d 100644 --- a/uk/api/Phalcon_Assets_Resource_Js.md +++ b/uk/api/Phalcon_Assets_Resource_Js.md @@ -1,6 +1,8 @@ # Class **Phalcon\\Assets\\Resource\\Js** -*extends* class [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +*extends* class [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) + +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) Source on GitHub @@ -10,72 +12,76 @@ Represents Javascript resources public **__construct** (*string* $path, [*boolean* $local], [*boolean* $filter], [*array* $attributes]) -public **getType** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getType** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getPath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getPath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getLocal** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getLocal** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getFilter** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getFilter** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getAttributes** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getAttributes** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getSourcePath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getSourcePath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **getTargetPath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getTargetPath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **getTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's type -public **setPath** (*mixed* $path) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setPath** (*mixed* $path) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's path -public **setLocal** (*mixed* $local) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setLocal** (*mixed* $local) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets if the resource is local or external -public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets if the resource must be filtered or not -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets extra HTML attributes -public **setTargetUri** (*mixed* $targetUri) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setTargetUri** (*mixed* $targetUri) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets a target uri for the generated HTML -public **setSourcePath** (*mixed* $sourcePath) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setSourcePath** (*mixed* $sourcePath) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's source path -public **setTargetPath** (*mixed* $targetPath) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setTargetPath** (*mixed* $targetPath) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's target path -public **getContent** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getContent** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the content of the resource as an string Optionally a base path where the resource is located can be set -public **getRealTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the real target uri for the generated HTML -public **getRealSourcePath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealSourcePath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the complete location where the resource is located -public **getRealTargetPath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealTargetPath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) + +Returns the complete location where the resource must be written + +public **getResourceKey** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -Returns the complete location where the resource must be written \ No newline at end of file +Gets the resource's key. \ No newline at end of file diff --git a/uk/api/Phalcon_Cache_Backend.md b/uk/api/Phalcon_Cache_Backend.md index f81ba2e57820..6e8b2e14bbff 100644 --- a/uk/api/Phalcon_Cache_Backend.md +++ b/uk/api/Phalcon_Cache_Backend.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Cache\\Backend** -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -32,7 +32,7 @@ public **setLastKey** (*mixed* $lastKey) ... -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend constructor @@ -56,22 +56,22 @@ public *int* **getLifetime** () Gets the last lifetime set -abstract public **get** (*mixed* $keyName, [*mixed* $lifetime]) inherited from [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +abstract public **get** (*mixed* $keyName, [*mixed* $lifetime]) inherited from [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) ... -abstract public **save** ([*mixed* $keyName], [*mixed* $content], [*mixed* $lifetime], [*mixed* $stopBuffer]) inherited from [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +abstract public **save** ([*mixed* $keyName], [*mixed* $content], [*mixed* $lifetime], [*mixed* $stopBuffer]) inherited from [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) ... -abstract public **delete** (*mixed* $keyName) inherited from [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +abstract public **delete** (*mixed* $keyName) inherited from [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) ... -abstract public **queryKeys** ([*mixed* $prefix]) inherited from [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +abstract public **queryKeys** ([*mixed* $prefix]) inherited from [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) ... -abstract public **exists** ([*mixed* $keyName], [*mixed* $lifetime]) inherited from [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +abstract public **exists** ([*mixed* $keyName], [*mixed* $lifetime]) inherited from [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) ... \ No newline at end of file diff --git a/uk/api/Phalcon_Cache_Backend_Apc.md b/uk/api/Phalcon_Cache_Backend_Apc.md index 6f08c1fef4b7..92b01c89d25a 100644 --- a/uk/api/Phalcon_Cache_Backend_Apc.md +++ b/uk/api/Phalcon_Cache_Backend_Apc.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Apc** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -94,50 +94,50 @@ $cache->flush(); ``` -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Phalcon\\Cache\\Backend constructor -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/uk/api/Phalcon_Cache_Backend_File.md b/uk/api/Phalcon_Cache_Backend_File.md index 78c3aff0e84c..3ea73b705889 100644 --- a/uk/api/Phalcon_Cache_Backend_File.md +++ b/uk/api/Phalcon_Cache_Backend_File.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\File** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -44,7 +44,7 @@ if ($content === null) { ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, *array* $options) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, *array* $options) Phalcon\\Cache\\Backend\\File constructor @@ -98,46 +98,46 @@ public **useSafeKey** (*mixed* $useSafeKey) Set whether to use the safekey or not -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/uk/api/Phalcon_Cache_Backend_Libmemcached.md b/uk/api/Phalcon_Cache_Backend_Libmemcached.md index 88948897b300..9ec4b031d82e 100644 --- a/uk/api/Phalcon_Cache_Backend_Libmemcached.md +++ b/uk/api/Phalcon_Cache_Backend_Libmemcached.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Libmemcached** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -49,7 +49,7 @@ $data = $cache->get("my-data"); ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend\\Memcache constructor @@ -116,46 +116,46 @@ $cache->flush(); ``` -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/uk/api/Phalcon_Cache_Backend_Memcache.md b/uk/api/Phalcon_Cache_Backend_Memcache.md index 7310592149b1..6f2575ca5c8d 100644 --- a/uk/api/Phalcon_Cache_Backend_Memcache.md +++ b/uk/api/Phalcon_Cache_Backend_Memcache.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Memcache** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -43,7 +43,7 @@ $data = $cache->get("my-data"); ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend\\Memcache constructor @@ -97,46 +97,46 @@ public **flush** () Immediately invalidates all existing items. -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/uk/api/Phalcon_Cache_Backend_Memory.md b/uk/api/Phalcon_Cache_Backend_Memory.md index 06a4216cf7ac..a269432ab9f3 100644 --- a/uk/api/Phalcon_Cache_Backend_Memory.md +++ b/uk/api/Phalcon_Cache_Backend_Memory.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Memory** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface), [Serializable](http://php.net/manual/en/class.serializable.php) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface), [Serializable](http://php.net/manual/en/class.serializable.php) Source on GitHub @@ -79,50 +79,50 @@ public **unserialize** (*mixed* $data) Required for interface \\Serializable -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Phalcon\\Cache\\Backend constructor -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/uk/api/Phalcon_Cache_Backend_Mongo.md b/uk/api/Phalcon_Cache_Backend_Mongo.md index 9ad0f67b530c..6421cd0f4f29 100644 --- a/uk/api/Phalcon_Cache_Backend_Mongo.md +++ b/uk/api/Phalcon_Cache_Backend_Mongo.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Mongo** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -44,7 +44,7 @@ $data = $cache->get("my-data"); ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend\\Mongo constructor @@ -98,46 +98,46 @@ public **flush** () Immediately invalidates all existing items. -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/uk/api/Phalcon_Cache_Backend_Redis.md b/uk/api/Phalcon_Cache_Backend_Redis.md index 123bf025f2af..a3509251d509 100644 --- a/uk/api/Phalcon_Cache_Backend_Redis.md +++ b/uk/api/Phalcon_Cache_Backend_Redis.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Redis** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -45,7 +45,7 @@ $data = $cache->get("my-data"); ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend\\Redis constructor @@ -105,46 +105,46 @@ public **flush** () Immediately invalidates all existing items. -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/uk/api/Phalcon_Cache_Backend_Xcache.md b/uk/api/Phalcon_Cache_Backend_Xcache.md index b91e75b19c79..7dac8215d5f3 100644 --- a/uk/api/Phalcon_Cache_Backend_Xcache.md +++ b/uk/api/Phalcon_Cache_Backend_Xcache.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Xcache** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -38,7 +38,7 @@ $data = $cache->get("my-data"); ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend\\Xcache constructor @@ -84,46 +84,46 @@ public **flush** () Immediately invalidates all existing items. -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/uk/api/Phalcon_Cache_Exception.md b/uk/api/Phalcon_Cache_Exception.md index cbb05a3a76e4..87f2372e7864 100644 --- a/uk/api/Phalcon_Cache_Exception.md +++ b/uk/api/Phalcon_Cache_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/uk/api/Phalcon_Cache_Frontend_Base64.md b/uk/api/Phalcon_Cache_Frontend_Base64.md index 92f36996b4b7..473895a88aa8 100644 --- a/uk/api/Phalcon_Cache_Frontend_Base64.md +++ b/uk/api/Phalcon_Cache_Frontend_Base64.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Frontend\\Base64** -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/uk/api/Phalcon_Cache_Frontend_Data.md b/uk/api/Phalcon_Cache_Frontend_Data.md index f46469ab7410..1f249be7103c 100644 --- a/uk/api/Phalcon_Cache_Frontend_Data.md +++ b/uk/api/Phalcon_Cache_Frontend_Data.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Frontend\\Data** -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/uk/api/Phalcon_Cache_Frontend_Igbinary.md b/uk/api/Phalcon_Cache_Frontend_Igbinary.md index 1460a42ce867..714a96bb4de1 100644 --- a/uk/api/Phalcon_Cache_Frontend_Igbinary.md +++ b/uk/api/Phalcon_Cache_Frontend_Igbinary.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Frontend\\Igbinary** -*extends* class [Phalcon\Cache\Frontend\Data](/en/3.1.2/api/Phalcon_Cache_Frontend_Data) +*extends* class [Phalcon\Cache\Frontend\Data](/en/3.2/api/Phalcon_Cache_Frontend_Data) -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/uk/api/Phalcon_Cache_Frontend_Json.md b/uk/api/Phalcon_Cache_Frontend_Json.md index 64a296ca976f..bfe39cdc53c4 100644 --- a/uk/api/Phalcon_Cache_Frontend_Json.md +++ b/uk/api/Phalcon_Cache_Frontend_Json.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Frontend\\Json** -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/uk/api/Phalcon_Cache_Frontend_Msgpack.md b/uk/api/Phalcon_Cache_Frontend_Msgpack.md index f77a99a21168..857b40d4bbdc 100644 --- a/uk/api/Phalcon_Cache_Frontend_Msgpack.md +++ b/uk/api/Phalcon_Cache_Frontend_Msgpack.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Frontend\\Msgpack** -*extends* class [Phalcon\Cache\Frontend\Data](/en/3.1.2/api/Phalcon_Cache_Frontend_Data) +*extends* class [Phalcon\Cache\Frontend\Data](/en/3.2/api/Phalcon_Cache_Frontend_Data) -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/uk/api/Phalcon_Cache_Frontend_None.md b/uk/api/Phalcon_Cache_Frontend_None.md index 521fcd02f344..bdc0af2d4135 100644 --- a/uk/api/Phalcon_Cache_Frontend_None.md +++ b/uk/api/Phalcon_Cache_Frontend_None.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Frontend\\None** -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/uk/api/Phalcon_Cache_Frontend_Output.md b/uk/api/Phalcon_Cache_Frontend_Output.md index 8421c02f1276..c6a0543703d6 100644 --- a/uk/api/Phalcon_Cache_Frontend_Output.md +++ b/uk/api/Phalcon_Cache_Frontend_Output.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Frontend\\Output** -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/uk/api/Phalcon_Cache_Multiple.md b/uk/api/Phalcon_Cache_Multiple.md index bbfa61a13274..1d9fd1365aa9 100644 --- a/uk/api/Phalcon_Cache_Multiple.md +++ b/uk/api/Phalcon_Cache_Multiple.md @@ -65,11 +65,11 @@ $cache->save("my-key", $data); ## Methods -public **__construct** ([[Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface[]) $backends]) +public **__construct** ([[Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface[]) $backends]) Phalcon\\Cache\\Multiple constructor -public **push** ([Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) $backend) +public **push** ([Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) $backend) Adds a backend diff --git a/uk/api/Phalcon_Cli_Console.md b/uk/api/Phalcon_Cli_Console.md index c769b7ad7659..f0337bf3f1ec 100644 --- a/uk/api/Phalcon_Cli_Console.md +++ b/uk/api/Phalcon_Cli_Console.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cli\\Console** -*extends* abstract class [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +*extends* abstract class [Phalcon\Application](/en/3.2/api/Phalcon_Application) -*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -36,19 +36,19 @@ public **setArgument** ([*array* $arguments], [*mixed* $str], [*mixed* $shift]) Set an specific argument -public **__construct** ([[Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector]) inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **__construct** ([[Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector]) inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Phalcon\\Application -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Sets the events manager -public **getEventsManager** () inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **getEventsManager** () inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Returns the internal event manager -public **registerModules** (*array* $modules, [*mixed* $merge]) inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **registerModules** (*array* $modules, [*mixed* $merge]) inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Register an array of modules present in the application @@ -70,30 +70,30 @@ $this->registerModules( ``` -public **getModules** () inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **getModules** () inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Return the modules registered in the application -public **getModule** (*mixed* $name) inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **getModule** (*mixed* $name) inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Gets the module definition registered in the application via module name -public **setDefaultModule** (*mixed* $defaultModule) inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **setDefaultModule** (*mixed* $defaultModule) inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Sets the module name to be used if the router doesn't return a valid module -public **getDefaultModule** () inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **getDefaultModule** () inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Returns the default module name -public **setDI** ([Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **setDI** ([Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Sets the dependency injector -public **getDI** () inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **getDI** () inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Returns the internal dependency injector -public **__get** (*mixed* $propertyName) inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **__get** (*mixed* $propertyName) inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Magic method __get \ No newline at end of file diff --git a/uk/api/Phalcon_Cli_Console_Exception.md b/uk/api/Phalcon_Cli_Console_Exception.md index 64a6f1f9162a..e7bfea5dbde1 100644 --- a/uk/api/Phalcon_Cli_Console_Exception.md +++ b/uk/api/Phalcon_Cli_Console_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cli\\Console\\Exception** -*extends* class [Phalcon\Application\Exception](/en/3.1.2/api/Phalcon_Application_Exception) +*extends* class [Phalcon\Application\Exception](/en/3.2/api/Phalcon_Application_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/uk/api/Phalcon_Cli_Dispatcher.md b/uk/api/Phalcon_Cli_Dispatcher.md index 7b91f5c9f537..f03b7c7c61ac 100644 --- a/uk/api/Phalcon_Cli_Dispatcher.md +++ b/uk/api/Phalcon_Cli_Dispatcher.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cli\\Dispatcher** -*extends* abstract class [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +*extends* abstract class [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) -*implements* [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface), [Phalcon\Cli\DispatcherInterface](/en/3.1.2/api/Phalcon_Cli_DispatcherInterface) +*implements* [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface), [Phalcon\Cli\DispatcherInterface](/en/3.2/api/Phalcon_Cli_DispatcherInterface) Source on GitHub @@ -11,10 +11,11 @@ Dispatching is the process of taking the command-line arguments, extracting the ```php setDi($di); $dispatcher->setTaskName("posts"); @@ -81,107 +82,115 @@ public **getOptions** () Get dispatched options +public **getOption** (*mixed* $option, [*string* | *array* $filters], [*mixed* $defaultValue]) + +Gets an option by its name or numeric index + +public **hasOption** (*mixed* $option) + +Check if an option exists + public **callActionMethod** (*mixed* $handler, *mixed* $actionMethod, [*array* $params]) -... +Calls the action method. -public **setDI** ([Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setDI** ([Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the dependency injector -public **getDI** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getDI** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns the internal dependency injector -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the events manager -public **getEventsManager** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getEventsManager** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns the internal event manager -public **setActionSuffix** (*mixed* $actionSuffix) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setActionSuffix** (*mixed* $actionSuffix) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the default action suffix -public **getActionSuffix** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getActionSuffix** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets the default action suffix -public **setModuleName** (*mixed* $moduleName) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setModuleName** (*mixed* $moduleName) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the module where the controller is (only informative) -public **getModuleName** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getModuleName** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets the module where the controller class is -public **setNamespaceName** (*mixed* $namespaceName) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setNamespaceName** (*mixed* $namespaceName) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the namespace where the controller class is -public **getNamespaceName** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getNamespaceName** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets a namespace to be prepended to the current handler name -public **setDefaultNamespace** (*mixed* $namespaceName) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setDefaultNamespace** (*mixed* $namespaceName) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the default namespace -public **getDefaultNamespace** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getDefaultNamespace** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns the default namespace -public **setDefaultAction** (*mixed* $actionName) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setDefaultAction** (*mixed* $actionName) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the default action name -public **setActionName** (*mixed* $actionName) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setActionName** (*mixed* $actionName) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the action name to be dispatched -public **getActionName** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getActionName** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets the latest dispatched action name -public **setParams** (*array* $params) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setParams** (*array* $params) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets action params to be dispatched -public **getParams** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getParams** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets action params -public **setParam** (*mixed* $param, *mixed* $value) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setParam** (*mixed* $param, *mixed* $value) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Set a param by its name or numeric index -public *mixed* **getParam** (*mixed* $param, [*string* | *array* $filters], [*mixed* $defaultValue]) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public *mixed* **getParam** (*mixed* $param, [*string* | *array* $filters], [*mixed* $defaultValue]) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets a param by its name or numeric index -public *boolean* **hasParam** (*mixed* $param) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public *boolean* **hasParam** (*mixed* $param) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Check if a param exists -public **getActiveMethod** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getActiveMethod** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns the current method to be/executed in the dispatcher -public **isFinished** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **isFinished** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Checks if the dispatch loop is finished or has more pendent controllers/tasks to dispatch -public **setReturnedValue** (*mixed* $value) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setReturnedValue** (*mixed* $value) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the latest returned value by an action manually -public *mixed* **getReturnedValue** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public *mixed* **getReturnedValue** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns value returned by the latest dispatched action -public **setModelBinding** (*mixed* $value, [*mixed* $cache]) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setModelBinding** (*mixed* $value, [*mixed* $cache]) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Enable/Disable model binding during dispatch @@ -197,7 +206,7 @@ $di->set('dispatcher', function() { ``` -public **setModelBinder** ([Phalcon\Mvc\Model\BinderInterface](/en/3.1.2/api/Phalcon_Mvc_Model_BinderInterface) $modelBinder, [*mixed* $cache]) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setModelBinder** ([Phalcon\Mvc\Model\BinderInterface](/en/3.2/api/Phalcon_Mvc_Model_BinderInterface) $modelBinder, [*mixed* $cache]) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Enable model binding during dispatch @@ -213,21 +222,21 @@ $di->set('dispatcher', function() { ``` -public **getModelBinder** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getModelBinder** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets model binder -public *object* **dispatch** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public *object* **dispatch** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Dispatches a handle action taking into account the routing parameters -protected *object* **_dispatch** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +protected *object* **_dispatch** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Dispatches a handle action taking into account the routing parameters -public **forward** (*array* $forward) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **forward** (*array* $forward) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) -Forwards the execution flow to another controller/action Dispatchers are unique per module. Forwarding between modules is not allowed +Forwards the execution flow to another controller/action. ```php dispatcher->forward( ``` -public **wasForwarded** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **wasForwarded** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Check if the current executed action was forwarded by another one -public **getHandlerClass** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getHandlerClass** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Possible class name that will be located to dispatch the request -public **getBoundModels** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getBoundModels** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns bound models from binder instance @@ -266,6 +275,6 @@ class UserController extends Controller ``` -protected **_resolveEmptyProperties** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +protected **_resolveEmptyProperties** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Set empty properties to their defaults (where defaults are available) \ No newline at end of file diff --git a/uk/api/Phalcon_Cli_DispatcherInterface.md b/uk/api/Phalcon_Cli_DispatcherInterface.md index 58914bf4b682..78f4d7b40c9c 100644 --- a/uk/api/Phalcon_Cli_DispatcherInterface.md +++ b/uk/api/Phalcon_Cli_DispatcherInterface.md @@ -1,6 +1,6 @@ # Interface **Phalcon\\Cli\\DispatcherInterface** -*implements* [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +*implements* [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) Source on GitHub @@ -30,70 +30,70 @@ abstract public **getActiveTask** () ... -abstract public **setActionSuffix** (*mixed* $actionSuffix) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setActionSuffix** (*mixed* $actionSuffix) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **getActionSuffix** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **getActionSuffix** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setDefaultNamespace** (*mixed* $defaultNamespace) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setDefaultNamespace** (*mixed* $defaultNamespace) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setDefaultAction** (*mixed* $actionName) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setDefaultAction** (*mixed* $actionName) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setNamespaceName** (*mixed* $namespaceName) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setNamespaceName** (*mixed* $namespaceName) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setModuleName** (*mixed* $moduleName) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setModuleName** (*mixed* $moduleName) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setActionName** (*mixed* $actionName) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setActionName** (*mixed* $actionName) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **getActionName** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **getActionName** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setParams** (*mixed* $params) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setParams** (*mixed* $params) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **getParams** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **getParams** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setParam** (*mixed* $param, *mixed* $value) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setParam** (*mixed* $param, *mixed* $value) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **getParam** (*mixed* $param, [*mixed* $filters]) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **getParam** (*mixed* $param, [*mixed* $filters]) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **hasParam** (*mixed* $param) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **hasParam** (*mixed* $param) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **isFinished** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **isFinished** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **getReturnedValue** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **getReturnedValue** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **dispatch** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **dispatch** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **forward** (*mixed* $forward) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **forward** (*mixed* $forward) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... \ No newline at end of file diff --git a/uk/api/Phalcon_Cli_Dispatcher_Exception.md b/uk/api/Phalcon_Cli_Dispatcher_Exception.md index 0eeb05860d89..fbd0a6c4292d 100644 --- a/uk/api/Phalcon_Cli_Dispatcher_Exception.md +++ b/uk/api/Phalcon_Cli_Dispatcher_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cli\\Dispatcher\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/uk/api/Phalcon_Cli_Router.md b/uk/api/Phalcon_Cli_Router.md index d2cb10a44276..5a0943627b36 100644 --- a/uk/api/Phalcon_Cli_Router.md +++ b/uk/api/Phalcon_Cli_Router.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cli\\Router** -*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface) +*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface) Source on GitHub @@ -29,7 +29,7 @@ public **__construct** ([*mixed* $defaultRoutes]) Phalcon\\Cli\\Router constructor -public **setDI** ([Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector) +public **setDI** ([Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector) Sets the dependency injector @@ -69,7 +69,7 @@ public **handle** ([*array* $arguments]) Handles routing information received from command-line arguments -public [Phalcon\Cli\Router\Route](/en/3.1.2/api/Phalcon_Cli_Router_Route) **add** (*string* $pattern, [*string/array* $paths]) +public [Phalcon\Cli\Router\Route](/en/3.2/api/Phalcon_Cli_Router_Route) **add** (*string* $pattern, [*string/array* $paths]) Adds a route to the router @@ -112,7 +112,7 @@ public **getRoutes** () Returns all the routes defined in the router -public [Phalcon\Cli\Router\Route](/en/3.1.2/api/Phalcon_Cli_Router_Route) **getRouteById** (*int* $id) +public [Phalcon\Cli\Router\Route](/en/3.2/api/Phalcon_Cli_Router_Route) **getRouteById** (*int* $id) Returns a route object by its id diff --git a/uk/api/Phalcon_Crypt_Exception.md b/uk/api/Phalcon_Crypt_Exception.md index 677b1db3e78e..ea2a2af5ed7e 100644 --- a/uk/api/Phalcon_Crypt_Exception.md +++ b/uk/api/Phalcon_Crypt_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Crypt\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/uk/api/Phalcon_Db_Adapter.md b/uk/api/Phalcon_Db_Adapter.md index c1deaded19cd..a5d397a98c83 100644 --- a/uk/api/Phalcon_Db_Adapter.md +++ b/uk/api/Phalcon_Db_Adapter.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Db\\Adapter** -*implements* [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -24,7 +24,7 @@ public **__construct** (*array* $descriptor) Phalcon\\Db\\Adapter constructor -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) Sets the event manager @@ -32,7 +32,7 @@ public **getEventsManager** () Returns the internal event manager -public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) $dialect) +public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) $dialect) Sets the dialect used to produce the SQL @@ -309,11 +309,11 @@ public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExist Drops a view -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Adds a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) Modifies a table column based on a definition @@ -321,7 +321,7 @@ public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnN Drops a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Adds an index to a table @@ -329,7 +329,7 @@ public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexNam Drop an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Adds a primary key to a table @@ -337,7 +337,7 @@ public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) Drops a table's primary key -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) Adds a foreign key to a table @@ -345,7 +345,7 @@ public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $ref Drops a foreign key from a table -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Returns the SQL column definition from a column @@ -375,7 +375,7 @@ print_r( ``` -public [Phalcon\Db\Index](/en/3.1.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) +public [Phalcon\Db\Index](/en/3.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) Lists table indexes @@ -512,54 +512,54 @@ public *array* **getSQLBindTypes** () Active SQL statement in the object -abstract public **connect** ([*array* $descriptor]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **connect** ([*array* $descriptor]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **query** (*mixed* $sqlStatement, [*mixed* $placeholders], [*mixed* $dataTypes]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **query** (*mixed* $sqlStatement, [*mixed* $placeholders], [*mixed* $dataTypes]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **execute** (*mixed* $sqlStatement, [*mixed* $placeholders], [*mixed* $dataTypes]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **execute** (*mixed* $sqlStatement, [*mixed* $placeholders], [*mixed* $dataTypes]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **affectedRows** () inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **affectedRows** () inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **close** () inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **close** () inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **lastInsertId** ([*mixed* $sequenceName]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **lastInsertId** ([*mixed* $sequenceName]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **isUnderTransaction** () inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **isUnderTransaction** () inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **getInternalHandler** () inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **getInternalHandler** () inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... \ No newline at end of file diff --git a/uk/api/Phalcon_Db_AdapterInterface.md b/uk/api/Phalcon_Db_AdapterInterface.md index 2b9bec9a2acd..4c6a8f54b3f1 100644 --- a/uk/api/Phalcon_Db_AdapterInterface.md +++ b/uk/api/Phalcon_Db_AdapterInterface.md @@ -64,11 +64,11 @@ abstract public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* ... -abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) ... -abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) ... @@ -76,7 +76,7 @@ abstract public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* ... -abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) ... @@ -84,7 +84,7 @@ abstract public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* ... -abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) ... @@ -92,7 +92,7 @@ abstract public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) ... -abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) ... @@ -100,7 +100,7 @@ abstract public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mi ... -abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) ... diff --git a/uk/api/Phalcon_Db_Adapter_Pdo.md b/uk/api/Phalcon_Db_Adapter_Pdo.md index 44de7d9e6e1f..c23a014e3d58 100644 --- a/uk/api/Phalcon_Db_Adapter_Pdo.md +++ b/uk/api/Phalcon_Db_Adapter_Pdo.md @@ -1,8 +1,8 @@ # Abstract class **Phalcon\\Db\\Adapter\\Pdo** -*extends* abstract class [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +*extends* abstract class [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) -*implements* [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +*implements* [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) Source on GitHub @@ -262,35 +262,35 @@ public *array* **getErrorInfo** () Return the error info, if any -public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Name of the dialect used -public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Type of database system the adapter is used for -public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL bound parameter variables -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the event manager -public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the internal event manager -public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the dialect used to produce the SQL -public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns internal dialect instance -public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the first row in a SQL query result @@ -307,7 +307,7 @@ print_r($robot); ``` -public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Dumps the complete result of a query into an array @@ -338,7 +338,7 @@ foreach($robots as $robot) { ``` -public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the n'th field of first row in a SQL query result @@ -358,7 +358,7 @@ print_r($robot); ``` -public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RDBMS SQL syntax @@ -377,7 +377,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RBDM SQL syntax @@ -398,7 +398,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax @@ -435,7 +435,7 @@ $success = $connection->update( Warning! If $whereCondition is string it not escaped. -public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax Another, more convenient syntax @@ -456,7 +456,7 @@ UPDATE `robots` SET `name` = "Astro boy" WHERE id = 101 ``` -public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Deletes data from a table using custom RBDM SQL syntax @@ -474,7 +474,7 @@ DELETE FROM `robots` WHERE `id` = 101 ``` -public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Escapes a column/table/schema name @@ -494,11 +494,11 @@ $escapedTable = $connection->escapeIdentifier( ``` -public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets a list of columns -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Appends a LIMIT clause to $sqlQuery argument @@ -509,7 +509,7 @@ echo $connection->limit("SELECT * FROM robots", 5); ``` -public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.table @@ -522,7 +522,7 @@ var_dump( ``` -public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.view @@ -535,71 +535,71 @@ var_dump( ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a FOR UPDATE clause -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a LOCK IN SHARE MODE clause -public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a table -public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table from a schema/database -public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a view -public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a view -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Modifies a table column based on a definition -public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds an index to a table -public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drop an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a primary key to a table -public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table's primary key -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a foreign key to a table -public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a foreign key from a table -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the SQL column definition from a column -public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all tables on a database @@ -612,7 +612,7 @@ print_r( ``` -public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all views on a database @@ -625,7 +625,7 @@ print_r( ``` -public [Phalcon\Db\Index](/en/3.1.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public [Phalcon\Db\Index](/en/3.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Lists table indexes @@ -638,7 +638,7 @@ print_r( ``` -public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Lists table references @@ -651,7 +651,7 @@ print_r( ``` -public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets creation options from a table @@ -664,31 +664,31 @@ print_r( ``` -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Releases given savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Rollbacks given savepoint -public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Set if nested transactions should use savepoints -public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns if nested transactions should use savepoints -public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the savepoint name to use for nested transactions -public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default identity value to be inserted in an identity column @@ -712,7 +712,7 @@ $success = $connection->insert( ``` -public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default value to make the RBDM use the default value declared in the table definition @@ -734,34 +734,34 @@ $success = $connection->insert( ``` -public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Check whether the database system requires a sequence to produce auto-numeric values -public **useExplicitIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **useExplicitIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Check whether the database system requires an explicit value for identity columns -public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Return descriptor used to connect to the active database -public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets the active connection unique identifier -public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object -public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object without replace bound parameters -public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object -abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... \ No newline at end of file diff --git a/uk/api/Phalcon_Db_Adapter_Pdo_Mysql.md b/uk/api/Phalcon_Db_Adapter_Pdo_Mysql.md index fe17030fddcf..5013bf0def80 100644 --- a/uk/api/Phalcon_Db_Adapter_Pdo_Mysql.md +++ b/uk/api/Phalcon_Db_Adapter_Pdo_Mysql.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Adapter\\Pdo\\Mysql** -*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) -*implements* [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -40,7 +40,7 @@ print_r( ``` -public [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface[]) **describeIndexes** (*string* $table, [*string* $schema]) +public [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface[]) **describeIndexes** (*string* $table, [*string* $schema]) Lists table indexes @@ -66,11 +66,11 @@ print_r( ``` -public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Constructor for Phalcon\\Db\\Adapter\\Pdo -public **connect** ([*array* $descriptor]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **connect** ([*array* $descriptor]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) This method is automatically called in \\Phalcon\\Db\\Adapter\\Pdo constructor. Call it when you need to restore a database connection. @@ -95,7 +95,7 @@ $connection->connect(); ``` -public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns a PDO prepared statement to be executed with 'executePrepared' @@ -120,7 +120,7 @@ $result = $connection->executePrepared( ``` -public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Executes a prepared statement binding. This function uses integer indexes starting from zero @@ -145,7 +145,7 @@ $result = $connection->executePrepared( ``` -public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server is returning rows @@ -166,7 +166,7 @@ $resultset = $connection->query( ``` -public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server doesn't return any rows @@ -188,7 +188,7 @@ $success = $connection->execute( ``` -public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the number of affected rows by the latest INSERT/UPDATE/DELETE executed in the database system @@ -203,11 +203,11 @@ echo $connection->affectedRows(), " were deleted"; ``` -public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Closes the active connection returning success. Phalcon automatically closes and destroys active connections when the request ends -public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Escapes a value to avoid SQL injections according to the active charset in the connection @@ -218,7 +218,7 @@ $escapedStr = $connection->escapeString("some dangerous value"); ``` -public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Converts bound parameters such as :name: or ?1 into PDO bind params ? @@ -236,7 +236,7 @@ print_r( ``` -public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the insert id for the auto_increment/serial column inserted in the latest executed SQL statement @@ -261,23 +261,23 @@ $id = $connection->lastInsertId(); ``` -public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Starts a transaction in the connection -public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Rollbacks the active transaction in the connection -public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Commits the active transaction in the connection -public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the current transaction nesting level -public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Checks whether the connection is under a transaction @@ -293,43 +293,43 @@ var_dump( ``` -public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return internal PDO handler -public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return the error info, if any -public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Name of the dialect used -public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Type of database system the adapter is used for -public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL bound parameter variables -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the event manager -public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the internal event manager -public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the dialect used to produce the SQL -public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns internal dialect instance -public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the first row in a SQL query result @@ -346,7 +346,7 @@ print_r($robot); ``` -public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Dumps the complete result of a query into an array @@ -377,7 +377,7 @@ foreach($robots as $robot) { ``` -public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the n'th field of first row in a SQL query result @@ -397,7 +397,7 @@ print_r($robot); ``` -public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RDBMS SQL syntax @@ -416,7 +416,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RBDM SQL syntax @@ -437,7 +437,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax @@ -474,7 +474,7 @@ $success = $connection->update( Warning! If $whereCondition is string it not escaped. -public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax Another, more convenient syntax @@ -495,7 +495,7 @@ UPDATE `robots` SET `name` = "Astro boy" WHERE id = 101 ``` -public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Deletes data from a table using custom RBDM SQL syntax @@ -513,7 +513,7 @@ DELETE FROM `robots` WHERE `id` = 101 ``` -public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Escapes a column/table/schema name @@ -533,11 +533,11 @@ $escapedTable = $connection->escapeIdentifier( ``` -public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets a list of columns -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Appends a LIMIT clause to $sqlQuery argument @@ -548,7 +548,7 @@ echo $connection->limit("SELECT * FROM robots", 5); ``` -public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.table @@ -561,7 +561,7 @@ var_dump( ``` -public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.view @@ -574,71 +574,71 @@ var_dump( ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a FOR UPDATE clause -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a LOCK IN SHARE MODE clause -public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a table -public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table from a schema/database -public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a view -public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a view -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Modifies a table column based on a definition -public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds an index to a table -public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drop an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a primary key to a table -public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table's primary key -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a foreign key to a table -public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a foreign key from a table -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the SQL column definition from a column -public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all tables on a database @@ -651,7 +651,7 @@ print_r( ``` -public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all views on a database @@ -664,7 +664,7 @@ print_r( ``` -public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets creation options from a table @@ -677,31 +677,31 @@ print_r( ``` -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Releases given savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Rollbacks given savepoint -public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Set if nested transactions should use savepoints -public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns if nested transactions should use savepoints -public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the savepoint name to use for nested transactions -public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default identity value to be inserted in an identity column @@ -725,7 +725,7 @@ $success = $connection->insert( ``` -public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default value to make the RBDM use the default value declared in the table definition @@ -747,30 +747,30 @@ $success = $connection->insert( ``` -public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Check whether the database system requires a sequence to produce auto-numeric values -public **useExplicitIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **useExplicitIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Check whether the database system requires an explicit value for identity columns -public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Return descriptor used to connect to the active database -public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets the active connection unique identifier -public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object -public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object without replace bound parameters -public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object \ No newline at end of file diff --git a/uk/api/Phalcon_Db_Adapter_Pdo_Postgresql.md b/uk/api/Phalcon_Db_Adapter_Pdo_Postgresql.md index c7f35273d52a..9a66f69a4ec1 100644 --- a/uk/api/Phalcon_Db_Adapter_Pdo_Postgresql.md +++ b/uk/api/Phalcon_Db_Adapter_Pdo_Postgresql.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Adapter\\Pdo\\Postgresql** -*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) -*implements* [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -48,7 +48,7 @@ public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $defini Creates a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) Modifies a table column based on a definition @@ -84,11 +84,11 @@ public **supportSequences** () Check whether the database system requires a sequence to produce auto-numeric values -public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Constructor for Phalcon\\Db\\Adapter\\Pdo -public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns a PDO prepared statement to be executed with 'executePrepared' @@ -113,7 +113,7 @@ $result = $connection->executePrepared( ``` -public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Executes a prepared statement binding. This function uses integer indexes starting from zero @@ -138,7 +138,7 @@ $result = $connection->executePrepared( ``` -public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server is returning rows @@ -159,7 +159,7 @@ $resultset = $connection->query( ``` -public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server doesn't return any rows @@ -181,7 +181,7 @@ $success = $connection->execute( ``` -public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the number of affected rows by the latest INSERT/UPDATE/DELETE executed in the database system @@ -196,11 +196,11 @@ echo $connection->affectedRows(), " were deleted"; ``` -public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Closes the active connection returning success. Phalcon automatically closes and destroys active connections when the request ends -public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Escapes a value to avoid SQL injections according to the active charset in the connection @@ -211,7 +211,7 @@ $escapedStr = $connection->escapeString("some dangerous value"); ``` -public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Converts bound parameters such as :name: or ?1 into PDO bind params ? @@ -229,7 +229,7 @@ print_r( ``` -public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the insert id for the auto_increment/serial column inserted in the latest executed SQL statement @@ -254,23 +254,23 @@ $id = $connection->lastInsertId(); ``` -public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Starts a transaction in the connection -public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Rollbacks the active transaction in the connection -public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Commits the active transaction in the connection -public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the current transaction nesting level -public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Checks whether the connection is under a transaction @@ -286,43 +286,43 @@ var_dump( ``` -public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return internal PDO handler -public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return the error info, if any -public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Name of the dialect used -public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Type of database system the adapter is used for -public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL bound parameter variables -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the event manager -public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the internal event manager -public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the dialect used to produce the SQL -public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns internal dialect instance -public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the first row in a SQL query result @@ -339,7 +339,7 @@ print_r($robot); ``` -public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Dumps the complete result of a query into an array @@ -370,7 +370,7 @@ foreach($robots as $robot) { ``` -public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the n'th field of first row in a SQL query result @@ -390,7 +390,7 @@ print_r($robot); ``` -public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RDBMS SQL syntax @@ -409,7 +409,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RBDM SQL syntax @@ -430,7 +430,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax @@ -467,7 +467,7 @@ $success = $connection->update( Warning! If $whereCondition is string it not escaped. -public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax Another, more convenient syntax @@ -488,7 +488,7 @@ UPDATE `robots` SET `name` = "Astro boy" WHERE id = 101 ``` -public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Deletes data from a table using custom RBDM SQL syntax @@ -506,7 +506,7 @@ DELETE FROM `robots` WHERE `id` = 101 ``` -public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Escapes a column/table/schema name @@ -526,11 +526,11 @@ $escapedTable = $connection->escapeIdentifier( ``` -public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets a list of columns -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Appends a LIMIT clause to $sqlQuery argument @@ -541,7 +541,7 @@ echo $connection->limit("SELECT * FROM robots", 5); ``` -public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.table @@ -554,7 +554,7 @@ var_dump( ``` -public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.view @@ -567,63 +567,63 @@ var_dump( ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a FOR UPDATE clause -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a LOCK IN SHARE MODE clause -public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table from a schema/database -public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a view -public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a view -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a column to a table -public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds an index to a table -public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drop an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a primary key to a table -public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table's primary key -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a foreign key to a table -public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a foreign key from a table -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the SQL column definition from a column -public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all tables on a database @@ -636,7 +636,7 @@ print_r( ``` -public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all views on a database @@ -649,7 +649,7 @@ print_r( ``` -public [Phalcon\Db\Index](/en/3.1.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public [Phalcon\Db\Index](/en/3.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Lists table indexes @@ -662,7 +662,7 @@ print_r( ``` -public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Lists table references @@ -675,7 +675,7 @@ print_r( ``` -public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets creation options from a table @@ -688,31 +688,31 @@ print_r( ``` -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Releases given savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Rollbacks given savepoint -public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Set if nested transactions should use savepoints -public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns if nested transactions should use savepoints -public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the savepoint name to use for nested transactions -public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default value to make the RBDM use the default value declared in the table definition @@ -734,22 +734,22 @@ $success = $connection->insert( ``` -public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Return descriptor used to connect to the active database -public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets the active connection unique identifier -public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object -public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object without replace bound parameters -public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object \ No newline at end of file diff --git a/uk/api/Phalcon_Db_Adapter_Pdo_Sqlite.md b/uk/api/Phalcon_Db_Adapter_Pdo_Sqlite.md index 1f92cfbfc6bd..a568c933ce4a 100644 --- a/uk/api/Phalcon_Db_Adapter_Pdo_Sqlite.md +++ b/uk/api/Phalcon_Db_Adapter_Pdo_Sqlite.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Adapter\\Pdo\\Sqlite** -*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) -*implements* [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -40,7 +40,7 @@ print_r( ``` -public [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface[]) **describeIndexes** (*string* $table, [*string* $schema]) +public [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface[]) **describeIndexes** (*string* $table, [*string* $schema]) Lists table indexes @@ -53,7 +53,7 @@ print_r( ``` -public [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface[]) **describeReferences** (*string* $table, [*string* $schema]) +public [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface[]) **describeReferences** (*string* $table, [*string* $schema]) Lists table references @@ -83,11 +83,11 @@ $success = $connection->insert( ``` -public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Constructor for Phalcon\\Db\\Adapter\\Pdo -public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns a PDO prepared statement to be executed with 'executePrepared' @@ -112,7 +112,7 @@ $result = $connection->executePrepared( ``` -public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Executes a prepared statement binding. This function uses integer indexes starting from zero @@ -137,7 +137,7 @@ $result = $connection->executePrepared( ``` -public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server is returning rows @@ -158,7 +158,7 @@ $resultset = $connection->query( ``` -public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server doesn't return any rows @@ -180,7 +180,7 @@ $success = $connection->execute( ``` -public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the number of affected rows by the latest INSERT/UPDATE/DELETE executed in the database system @@ -195,11 +195,11 @@ echo $connection->affectedRows(), " were deleted"; ``` -public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Closes the active connection returning success. Phalcon automatically closes and destroys active connections when the request ends -public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Escapes a value to avoid SQL injections according to the active charset in the connection @@ -210,7 +210,7 @@ $escapedStr = $connection->escapeString("some dangerous value"); ``` -public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Converts bound parameters such as :name: or ?1 into PDO bind params ? @@ -228,7 +228,7 @@ print_r( ``` -public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the insert id for the auto_increment/serial column inserted in the latest executed SQL statement @@ -253,23 +253,23 @@ $id = $connection->lastInsertId(); ``` -public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Starts a transaction in the connection -public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Rollbacks the active transaction in the connection -public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Commits the active transaction in the connection -public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the current transaction nesting level -public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Checks whether the connection is under a transaction @@ -285,43 +285,43 @@ var_dump( ``` -public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return internal PDO handler -public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return the error info, if any -public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Name of the dialect used -public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Type of database system the adapter is used for -public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL bound parameter variables -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the event manager -public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the internal event manager -public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the dialect used to produce the SQL -public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns internal dialect instance -public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the first row in a SQL query result @@ -338,7 +338,7 @@ print_r($robot); ``` -public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Dumps the complete result of a query into an array @@ -369,7 +369,7 @@ foreach($robots as $robot) { ``` -public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the n'th field of first row in a SQL query result @@ -389,7 +389,7 @@ print_r($robot); ``` -public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RDBMS SQL syntax @@ -408,7 +408,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RBDM SQL syntax @@ -429,7 +429,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax @@ -466,7 +466,7 @@ $success = $connection->update( Warning! If $whereCondition is string it not escaped. -public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax Another, more convenient syntax @@ -487,7 +487,7 @@ UPDATE `robots` SET `name` = "Astro boy" WHERE id = 101 ``` -public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Deletes data from a table using custom RBDM SQL syntax @@ -505,7 +505,7 @@ DELETE FROM `robots` WHERE `id` = 101 ``` -public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Escapes a column/table/schema name @@ -525,11 +525,11 @@ $escapedTable = $connection->escapeIdentifier( ``` -public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets a list of columns -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Appends a LIMIT clause to $sqlQuery argument @@ -540,7 +540,7 @@ echo $connection->limit("SELECT * FROM robots", 5); ``` -public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.table @@ -553,7 +553,7 @@ var_dump( ``` -public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.view @@ -566,71 +566,71 @@ var_dump( ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a FOR UPDATE clause -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a LOCK IN SHARE MODE clause -public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a table -public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table from a schema/database -public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a view -public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a view -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Modifies a table column based on a definition -public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds an index to a table -public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drop an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a primary key to a table -public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table's primary key -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a foreign key to a table -public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a foreign key from a table -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the SQL column definition from a column -public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all tables on a database @@ -643,7 +643,7 @@ print_r( ``` -public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all views on a database @@ -656,7 +656,7 @@ print_r( ``` -public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets creation options from a table @@ -669,31 +669,31 @@ print_r( ``` -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Releases given savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Rollbacks given savepoint -public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Set if nested transactions should use savepoints -public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns if nested transactions should use savepoints -public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the savepoint name to use for nested transactions -public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default identity value to be inserted in an identity column @@ -717,26 +717,26 @@ $success = $connection->insert( ``` -public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Check whether the database system requires a sequence to produce auto-numeric values -public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Return descriptor used to connect to the active database -public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets the active connection unique identifier -public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object -public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object without replace bound parameters -public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object \ No newline at end of file diff --git a/uk/api/Phalcon_Db_Column.md b/uk/api/Phalcon_Db_Column.md index ab2fdfb7a40e..fe0210a2b411 100644 --- a/uk/api/Phalcon_Db_Column.md +++ b/uk/api/Phalcon_Db_Column.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Db\\Column** -*implements* [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) +*implements* [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) Source on GitHub diff --git a/uk/api/Phalcon_Db_Dialect.md b/uk/api/Phalcon_Db_Dialect.md index 11c52ea58df4..df25f0af03ab 100644 --- a/uk/api/Phalcon_Db_Dialect.md +++ b/uk/api/Phalcon_Db_Dialect.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Db\\Dialect** -*implements* [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +*implements* [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) Source on GitHub @@ -199,86 +199,86 @@ protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $es Prepares qualified for this RDBMS -abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropTable** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropTable** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **describeIndexes** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **describeIndexes** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **tableOptions** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **tableOptions** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... \ No newline at end of file diff --git a/uk/api/Phalcon_Db_DialectInterface.md b/uk/api/Phalcon_Db_DialectInterface.md index 0bf993854d79..90ee58afb9e1 100644 --- a/uk/api/Phalcon_Db_DialectInterface.md +++ b/uk/api/Phalcon_Db_DialectInterface.md @@ -24,15 +24,15 @@ abstract public **getColumnList** (*array* $columnList) ... -abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) ... -abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) ... -abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) ... @@ -40,7 +40,7 @@ abstract public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* ... -abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) ... @@ -48,7 +48,7 @@ abstract public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* ... -abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) ... @@ -56,7 +56,7 @@ abstract public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) ... -abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) ... diff --git a/uk/api/Phalcon_Db_Dialect_Mysql.md b/uk/api/Phalcon_Db_Dialect_Mysql.md index 6178388fc739..d1a80102e14c 100644 --- a/uk/api/Phalcon_Db_Dialect_Mysql.md +++ b/uk/api/Phalcon_Db_Dialect_Mysql.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Dialect\\Mysql** -*extends* abstract class [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +*extends* abstract class [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) -*implements* [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +*implements* [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) Source on GitHub @@ -10,15 +10,15 @@ Generates database specific SQL for the MySQL RDBMS ## Methods -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Gets the column name in MySQL -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Generates SQL to add a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) Generates SQL to modify a column in a table @@ -26,7 +26,7 @@ public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnN Generates SQL to delete a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add an index to a table @@ -34,7 +34,7 @@ public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexNam Generates SQL to delete an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add the primary key to a table @@ -42,7 +42,7 @@ public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) Generates SQL to delete primary key from a table -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) Generates SQL to add an index to a table @@ -133,23 +133,23 @@ protected **_getTableOptions** (*array* $definition) Generates SQL to add the table creation options -public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Registers custom SQL functions -public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns registered functions -final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape Schema -final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape identifiers -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generates the SQL for LIMIT clause @@ -164,7 +164,7 @@ echo $sql; // SELECT * FROM robots LIMIT 10 OFFSET 50 ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a FOR UPDATE clause @@ -176,7 +176,7 @@ echo $sql; // SELECT * FROM robots FOR UPDATE ``` -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a LOCK IN SHARE MODE clause @@ -188,7 +188,7 @@ echo $sql; // SELECT * FROM robots LOCK IN SHARE MODE ``` -final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Gets a list of columns with escaped identifiers @@ -204,122 +204,122 @@ echo $dialect->getColumnList( ``` -final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transforms an intermediate representation for an expression into a database system valid expression -final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transform an intermediate representation of a schema/table into a database system valid expression -public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Builds a SELECT statement -public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports savepoints -public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports releasing savepoints. -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to create a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to release a savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to rollback a savepoint -final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve object expressions -final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve qualified expressions -final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve binary operations expressions -final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve unary operations expressions -final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve function calls -final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Lists -final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve * -final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CAST of values -final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CONVERT of values encodings -final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CASE expressions -final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a FROM clause -final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a JOINs clause -final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a WHERE clause -final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a GROUP BY clause -final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a HAVING clause -final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve an ORDER BY clause -final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a LIMIT clause -protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares column for this RDBMS -protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares table for this RDBMS -protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares qualified for this RDBMS \ No newline at end of file diff --git a/uk/api/Phalcon_Db_Dialect_Postgresql.md b/uk/api/Phalcon_Db_Dialect_Postgresql.md index 01fe5982984c..f10d03525235 100644 --- a/uk/api/Phalcon_Db_Dialect_Postgresql.md +++ b/uk/api/Phalcon_Db_Dialect_Postgresql.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Dialect\\Postgresql** -*extends* abstract class [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +*extends* abstract class [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) -*implements* [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +*implements* [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) Source on GitHub @@ -10,15 +10,15 @@ Generates database specific SQL for the PostgreSQL RDBMS ## Methods -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Gets the column name in PostgreSQL -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Generates SQL to add a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) Generates SQL to modify a column in a table @@ -26,7 +26,7 @@ public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnN Generates SQL to delete a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add an index to a table @@ -34,7 +34,7 @@ public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexNam Generates SQL to delete an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add the primary key to a table @@ -42,7 +42,7 @@ public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) Generates SQL to delete primary key from a table -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) Generates SQL to add an index to a table @@ -129,7 +129,7 @@ public **tableOptions** (*mixed* $table, [*mixed* $schema]) Generates the SQL to describe the table creation options -protected **_castDefault** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +protected **_castDefault** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) ... @@ -137,23 +137,23 @@ protected **_getTableOptions** (*array* $definition) ... -public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Registers custom SQL functions -public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns registered functions -final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape Schema -final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape identifiers -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generates the SQL for LIMIT clause @@ -168,7 +168,7 @@ echo $sql; // SELECT * FROM robots LIMIT 10 OFFSET 50 ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a FOR UPDATE clause @@ -180,7 +180,7 @@ echo $sql; // SELECT * FROM robots FOR UPDATE ``` -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a LOCK IN SHARE MODE clause @@ -192,7 +192,7 @@ echo $sql; // SELECT * FROM robots LOCK IN SHARE MODE ``` -final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Gets a list of columns with escaped identifiers @@ -208,122 +208,122 @@ echo $dialect->getColumnList( ``` -final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transforms an intermediate representation for an expression into a database system valid expression -final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transform an intermediate representation of a schema/table into a database system valid expression -public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Builds a SELECT statement -public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports savepoints -public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports releasing savepoints. -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to create a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to release a savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to rollback a savepoint -final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve object expressions -final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve qualified expressions -final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve binary operations expressions -final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve unary operations expressions -final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve function calls -final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Lists -final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve * -final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CAST of values -final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CONVERT of values encodings -final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CASE expressions -final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a FROM clause -final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a JOINs clause -final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a WHERE clause -final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a GROUP BY clause -final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a HAVING clause -final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve an ORDER BY clause -final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a LIMIT clause -protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares column for this RDBMS -protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares table for this RDBMS -protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares qualified for this RDBMS \ No newline at end of file diff --git a/uk/api/Phalcon_Db_Dialect_Sqlite.md b/uk/api/Phalcon_Db_Dialect_Sqlite.md index 7b38162151a0..dabec6d39e49 100644 --- a/uk/api/Phalcon_Db_Dialect_Sqlite.md +++ b/uk/api/Phalcon_Db_Dialect_Sqlite.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Dialect\\Sqlite** -*extends* abstract class [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +*extends* abstract class [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) -*implements* [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +*implements* [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) Source on GitHub @@ -10,15 +10,15 @@ Generates database specific SQL for the Sqlite RDBMS ## Methods -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Gets the column name in SQLite -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Generates SQL to add a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) Generates SQL to modify a column in a table @@ -26,7 +26,7 @@ public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnN Generates SQL to delete a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add an index to a table @@ -34,7 +34,7 @@ public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexNam Generates SQL to delete an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add the primary key to a table @@ -42,7 +42,7 @@ public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) Generates SQL to delete primary key from a table -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) Generates SQL to add an index to a table @@ -146,23 +146,23 @@ public **tableOptions** (*mixed* $table, [*mixed* $schema]) Generates the SQL to describe the table creation options -public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Registers custom SQL functions -public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns registered functions -final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape Schema -final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape identifiers -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generates the SQL for LIMIT clause @@ -177,7 +177,7 @@ echo $sql; // SELECT * FROM robots LIMIT 10 OFFSET 50 ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a FOR UPDATE clause @@ -189,7 +189,7 @@ echo $sql; // SELECT * FROM robots FOR UPDATE ``` -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a LOCK IN SHARE MODE clause @@ -201,7 +201,7 @@ echo $sql; // SELECT * FROM robots LOCK IN SHARE MODE ``` -final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Gets a list of columns with escaped identifiers @@ -217,122 +217,122 @@ echo $dialect->getColumnList( ``` -final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transforms an intermediate representation for an expression into a database system valid expression -final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transform an intermediate representation of a schema/table into a database system valid expression -public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Builds a SELECT statement -public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports savepoints -public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports releasing savepoints. -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to create a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to release a savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to rollback a savepoint -final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve object expressions -final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve qualified expressions -final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve binary operations expressions -final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve unary operations expressions -final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve function calls -final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Lists -final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve * -final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CAST of values -final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CONVERT of values encodings -final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CASE expressions -final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a FROM clause -final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a JOINs clause -final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a WHERE clause -final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a GROUP BY clause -final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a HAVING clause -final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve an ORDER BY clause -final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a LIMIT clause -protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares column for this RDBMS -protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares table for this RDBMS -protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares qualified for this RDBMS \ No newline at end of file diff --git a/uk/api/Phalcon_Db_Exception.md b/uk/api/Phalcon_Db_Exception.md index 839c2d00fbf8..00160179b065 100644 --- a/uk/api/Phalcon_Db_Exception.md +++ b/uk/api/Phalcon_Db_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Db\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/uk/api/Phalcon_Db_Index.md b/uk/api/Phalcon_Db_Index.md index 60a5b41f764f..9ca94ad0e146 100644 --- a/uk/api/Phalcon_Db_Index.md +++ b/uk/api/Phalcon_Db_Index.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Db\\Index** -*implements* [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) +*implements* [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) Source on GitHub diff --git a/uk/api/Phalcon_Db_Profiler.md b/uk/api/Phalcon_Db_Profiler.md index 05a913cb9c2c..1d6dde6d6e69 100644 --- a/uk/api/Phalcon_Db_Profiler.md +++ b/uk/api/Phalcon_Db_Profiler.md @@ -31,7 +31,7 @@ echo "Total Elapsed Time: ", $profile->getTotalElapsedSeconds(), "\n"; ## Methods -public [Phalcon\Db\Profiler](/en/3.1.2/api/Phalcon_Db_Profiler) **startProfile** (*string* $sqlStatement, [*mixed* $sqlVariables], [*mixed* $sqlBindTypes]) +public [Phalcon\Db\Profiler](/en/3.2/api/Phalcon_Db_Profiler) **startProfile** (*string* $sqlStatement, [*mixed* $sqlVariables], [*mixed* $sqlBindTypes]) Starts the profile of a SQL sentence diff --git a/uk/api/Phalcon_Db_Reference.md b/uk/api/Phalcon_Db_Reference.md index 30ac1a686521..2e83e14de226 100644 --- a/uk/api/Phalcon_Db_Reference.md +++ b/uk/api/Phalcon_Db_Reference.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Db\\Reference** -*implements* [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) +*implements* [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) Source on GitHub diff --git a/uk/api/Phalcon_Db_Result_Pdo.md b/uk/api/Phalcon_Db_Result_Pdo.md index 2e053d67ae6f..91808dece71f 100644 --- a/uk/api/Phalcon_Db_Result_Pdo.md +++ b/uk/api/Phalcon_Db_Result_Pdo.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Db\\Result\\Pdo** -*implements* [Phalcon\Db\ResultInterface](/en/3.1.2/api/Phalcon_Db_ResultInterface) +*implements* [Phalcon\Db\ResultInterface](/en/3.2/api/Phalcon_Db_ResultInterface) Source on GitHub @@ -23,7 +23,7 @@ while ($robot = $result->fetchArray()) { ## Methods -public **__construct** ([Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) $connection, [PDOStatement](http://php.net/manual/en/class.pdostatement.php) $result, [*string* $sqlStatement], [*array* $bindParams], [*array* $bindTypes]) +public **__construct** ([Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) $connection, [PDOStatement](http://php.net/manual/en/class.pdostatement.php) $result, [*string* $sqlStatement], [*array* $bindParams], [*array* $bindTypes]) Phalcon\\Db\\Result\\Pdo constructor diff --git a/vi/api/Phalcon_Acl_Adapter.md b/vi/api/Phalcon_Acl_Adapter.md index 9f86a2a2a142..1696a50b6e15 100644 --- a/vi/api/Phalcon_Acl_Adapter.md +++ b/vi/api/Phalcon_Acl_Adapter.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Acl\\Adapter** -*implements* [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -20,7 +20,7 @@ public **getActiveAccess** () Active access which the list is checking if some role can access it -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) Sets the events manager @@ -36,58 +36,58 @@ public **getDefaultAction** () Returns the default ACL access level -abstract public **setNoArgumentsDefaultAction** (*mixed* $defaultAccess) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **setNoArgumentsDefaultAction** (*mixed* $defaultAccess) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **getNoArgumentsDefaultAction** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **getNoArgumentsDefaultAction** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **addRole** (*mixed* $role, [*mixed* $accessInherits]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **addRole** (*mixed* $role, [*mixed* $accessInherits]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **addInherit** (*mixed* $roleName, *mixed* $roleToInherit) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **addInherit** (*mixed* $roleName, *mixed* $roleToInherit) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **isRole** (*mixed* $roleName) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **isRole** (*mixed* $roleName) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **isResource** (*mixed* $resourceName) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **isResource** (*mixed* $resourceName) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **addResource** (*mixed* $resourceObject, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **addResource** (*mixed* $resourceObject, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **addResourceAccess** (*mixed* $resourceName, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **addResourceAccess** (*mixed* $resourceName, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **dropResourceAccess** (*mixed* $resourceName, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **dropResourceAccess** (*mixed* $resourceName, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **allow** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*mixed* $func]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **allow** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*mixed* $func]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **deny** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*mixed* $func]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **deny** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*mixed* $func]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **isAllowed** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*array* $parameters]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **isAllowed** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*array* $parameters]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **getRoles** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **getRoles** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **getResources** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **getResources** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... \ No newline at end of file diff --git a/vi/api/Phalcon_Acl_Adapter_Memory.md b/vi/api/Phalcon_Acl_Adapter_Memory.md index e9ea95ccda45..889751c95b98 100644 --- a/vi/api/Phalcon_Acl_Adapter_Memory.md +++ b/vi/api/Phalcon_Acl_Adapter_Memory.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Acl\\Adapter\\Memory** -*extends* abstract class [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +*extends* abstract class [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) -*implements* [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +*implements* [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) Source on GitHub @@ -105,7 +105,7 @@ public **isResource** (*mixed* $resourceName) Check whether resource exist in the resources list -public **addResource** ([Phalcon\Acl\Resource](/en/3.1.2/api/Phalcon_Acl_Resource) | *string* $resourceValue, *array* | *string* $accessList) +public **addResource** ([Phalcon\Acl\Resource](/en/3.2/api/Phalcon_Acl_Resource) | *string* $resourceValue, *array* | *string* $accessList) Adds a resource to the ACL list Access names can be a particular action, by example search, update, delete, etc or a list of them Example: @@ -224,30 +224,30 @@ public **getResources** () Return an array with every resource registered in the list -public **getActiveRole** () inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **getActiveRole** () inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Role which the list is checking if it's allowed to certain resource/access -public **getActiveResource** () inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **getActiveResource** () inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Resource which the list is checking if some role can access it -public **getActiveAccess** () inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **getActiveAccess** () inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Active access which the list is checking if some role can access it -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Sets the events manager -public **getEventsManager** () inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **getEventsManager** () inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Returns the internal event manager -public **setDefaultAction** (*mixed* $defaultAccess) inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **setDefaultAction** (*mixed* $defaultAccess) inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Sets the default access level (Phalcon\\Acl::ALLOW or Phalcon\\Acl::DENY) -public **getDefaultAction** () inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **getDefaultAction** () inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Returns the default ACL access level \ No newline at end of file diff --git a/vi/api/Phalcon_Acl_Exception.md b/vi/api/Phalcon_Acl_Exception.md index 153094579c30..9c1b44ab7b5d 100644 --- a/vi/api/Phalcon_Acl_Exception.md +++ b/vi/api/Phalcon_Acl_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Acl\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/vi/api/Phalcon_Acl_Resource.md b/vi/api/Phalcon_Acl_Resource.md index 1663e1ad2e93..25ac2d3e792b 100644 --- a/vi/api/Phalcon_Acl_Resource.md +++ b/vi/api/Phalcon_Acl_Resource.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Acl\\Resource** -*implements* [Phalcon\Acl\ResourceInterface](/en/3.1.2/api/Phalcon_Acl_ResourceInterface) +*implements* [Phalcon\Acl\ResourceInterface](/en/3.2/api/Phalcon_Acl_ResourceInterface) Source on GitHub diff --git a/vi/api/Phalcon_Acl_Role.md b/vi/api/Phalcon_Acl_Role.md index e105183dd7f4..c8252648d6c8 100644 --- a/vi/api/Phalcon_Acl_Role.md +++ b/vi/api/Phalcon_Acl_Role.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Acl\\Role** -*implements* [Phalcon\Acl\RoleInterface](/en/3.1.2/api/Phalcon_Acl_RoleInterface) +*implements* [Phalcon\Acl\RoleInterface](/en/3.2/api/Phalcon_Acl_RoleInterface) Source on GitHub diff --git a/vi/api/Phalcon_Annotations_Adapter.md b/vi/api/Phalcon_Annotations_Adapter.md index 7a2b31fc4dc1..d42ac348bbc9 100644 --- a/vi/api/Phalcon_Annotations_Adapter.md +++ b/vi/api/Phalcon_Annotations_Adapter.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Annotations\\Adapter** -*implements* [Phalcon\Annotations\AdapterInterface](/en/3.1.2/api/Phalcon_Annotations_AdapterInterface) +*implements* [Phalcon\Annotations\AdapterInterface](/en/3.2/api/Phalcon_Annotations_AdapterInterface) Source on GitHub @@ -8,7 +8,7 @@ This is the base class for Phalcon\\Annotations adapters ## Methods -public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) +public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) Sets the annotations parser diff --git a/vi/api/Phalcon_Annotations_AdapterInterface.md b/vi/api/Phalcon_Annotations_AdapterInterface.md index a4e2c689503a..a1ff65cb01a1 100644 --- a/vi/api/Phalcon_Annotations_AdapterInterface.md +++ b/vi/api/Phalcon_Annotations_AdapterInterface.md @@ -4,7 +4,7 @@ ## Methods -abstract public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) +abstract public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) ... diff --git a/vi/api/Phalcon_Annotations_Adapter_Apc.md b/vi/api/Phalcon_Annotations_Adapter_Apc.md index 1b8a1d6d0d7d..467622a88425 100644 --- a/vi/api/Phalcon_Annotations_Adapter_Apc.md +++ b/vi/api/Phalcon_Annotations_Adapter_Apc.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Annotations\\Adapter\\Apc** -*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) -*implements* [Phalcon\Annotations\AdapterInterface](/en/3.1.2/api/Phalcon_Annotations_AdapterInterface) +*implements* [Phalcon\Annotations\AdapterInterface](/en/3.2/api/Phalcon_Annotations_AdapterInterface) Source on GitHub @@ -27,34 +27,34 @@ public **read** (*mixed* $key) Reads parsed annotations from APC -public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) $data) +public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) $data) Writes parsed annotations to APC -public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Sets the annotations parser -public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotation reader -public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Parses or retrieves all the annotations found in a class -public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific method -public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific property \ No newline at end of file diff --git a/vi/api/Phalcon_Annotations_Adapter_Files.md b/vi/api/Phalcon_Annotations_Adapter_Files.md index fcb4c23e6c2e..e4c407e5954e 100644 --- a/vi/api/Phalcon_Annotations_Adapter_Files.md +++ b/vi/api/Phalcon_Annotations_Adapter_Files.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Annotations\\Adapter\\Files** -*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) -*implements* [Phalcon\Annotations\AdapterInterface](/en/3.1.2/api/Phalcon_Annotations_AdapterInterface) +*implements* [Phalcon\Annotations\AdapterInterface](/en/3.2/api/Phalcon_Annotations_AdapterInterface) Source on GitHub @@ -27,38 +27,38 @@ public **__construct** ([*array* $options]) Phalcon\\Annotations\\Adapter\\Files constructor -public [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) **read** (*string* $key) +public [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) **read** (*string* $key) Reads parsed annotations from files -public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) $data) +public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) $data) Writes parsed annotations to files -public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Sets the annotations parser -public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotation reader -public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Parses or retrieves all the annotations found in a class -public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific method -public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific property \ No newline at end of file diff --git a/vi/api/Phalcon_Annotations_Adapter_Memory.md b/vi/api/Phalcon_Annotations_Adapter_Memory.md index 53fc2e3769c7..205f20e6b1b8 100644 --- a/vi/api/Phalcon_Annotations_Adapter_Memory.md +++ b/vi/api/Phalcon_Annotations_Adapter_Memory.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Annotations\\Adapter\\Memory** -*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) -*implements* [Phalcon\Annotations\AdapterInterface](/en/3.1.2/api/Phalcon_Annotations_AdapterInterface) +*implements* [Phalcon\Annotations\AdapterInterface](/en/3.2/api/Phalcon_Annotations_AdapterInterface) Source on GitHub @@ -14,34 +14,34 @@ public **read** (*mixed* $key) Reads parsed annotations from memory -public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) $data) +public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) $data) Writes parsed annotations to memory -public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Sets the annotations parser -public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotation reader -public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Parses or retrieves all the annotations found in a class -public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific method -public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific property \ No newline at end of file diff --git a/vi/api/Phalcon_Annotations_Adapter_Xcache.md b/vi/api/Phalcon_Annotations_Adapter_Xcache.md index 79bfa9e6b4d3..37c97e7e6b8c 100644 --- a/vi/api/Phalcon_Annotations_Adapter_Xcache.md +++ b/vi/api/Phalcon_Annotations_Adapter_Xcache.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Annotations\\Adapter\\Xcache** -*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) -*implements* [Phalcon\Annotations\AdapterInterface](/en/3.1.2/api/Phalcon_Annotations_AdapterInterface) +*implements* [Phalcon\Annotations\AdapterInterface](/en/3.2/api/Phalcon_Annotations_AdapterInterface) Source on GitHub @@ -17,38 +17,38 @@ $annotations = new \Phalcon\Annotations\Adapter\Xcache(); ## Methods -public [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) **read** (*string* $key) +public [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) **read** (*string* $key) Reads parsed annotations from XCache -public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) $data) +public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) $data) Writes parsed annotations to XCache -public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Sets the annotations parser -public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotation reader -public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Parses or retrieves all the annotations found in a class -public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific method -public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific property \ No newline at end of file diff --git a/vi/api/Phalcon_Annotations_Collection.md b/vi/api/Phalcon_Annotations_Collection.md index 8176520b43ea..ba33511a50fe 100644 --- a/vi/api/Phalcon_Annotations_Collection.md +++ b/vi/api/Phalcon_Annotations_Collection.md @@ -36,7 +36,7 @@ public **rewind** () Rewinds the internal iterator -public [Phalcon\Annotations\Annotation](/en/3.1.2/api/Phalcon_Annotations_Annotation) **current** () +public [Phalcon\Annotations\Annotation](/en/3.2/api/Phalcon_Annotations_Annotation) **current** () Returns the current annotation in the iterator diff --git a/vi/api/Phalcon_Annotations_Reader.md b/vi/api/Phalcon_Annotations_Reader.md index 56ca9b058cd1..4e8e513ffea9 100644 --- a/vi/api/Phalcon_Annotations_Reader.md +++ b/vi/api/Phalcon_Annotations_Reader.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Annotations\\Reader** -*implements* [Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) +*implements* [Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) Source on GitHub diff --git a/vi/api/Phalcon_Application.md b/vi/api/Phalcon_Application.md index e7e767824af2..5ff2b07edaf4 100644 --- a/vi/api/Phalcon_Application.md +++ b/vi/api/Phalcon_Application.md @@ -1,8 +1,8 @@ # Abstract class **Phalcon\\Application** -*extends* abstract class [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +*extends* abstract class [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) -*implements* [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface) +*implements* [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface) Source on GitHub @@ -10,9 +10,9 @@ Base class for Phalcon\\Cli\\Console and Phalcon\\Mvc\\Application. ## Methods -public **__construct** ([[Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector]) +public **__construct** ([[Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector]) -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) Sets the events manager @@ -62,14 +62,14 @@ abstract public **handle** () Handles a request -public **setDI** ([Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **setDI** ([Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Sets the dependency injector -public **getDI** () inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **getDI** () inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Returns the internal dependency injector -public **__get** (*mixed* $propertyName) inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **__get** (*mixed* $propertyName) inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Magic method __get \ No newline at end of file diff --git a/vi/api/Phalcon_Application_Exception.md b/vi/api/Phalcon_Application_Exception.md index ade9f4d1b49e..49637aa88e5e 100644 --- a/vi/api/Phalcon_Application_Exception.md +++ b/vi/api/Phalcon_Application_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Application\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/vi/api/Phalcon_Assets_Collection.md b/vi/api/Phalcon_Assets_Collection.md index 9c3e06cdb077..f6f18d5a1d60 100644 --- a/vi/api/Phalcon_Assets_Collection.md +++ b/vi/api/Phalcon_Assets_Collection.md @@ -56,14 +56,35 @@ public **getSourcePath** () ... -public **add** ([Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) $resource) +public **__construct** () + +Phalcon\\Assets\\Collection constructor + +public **add** ([Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) $resource) Adds a resource to the collection -public **addInline** ([Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) $code) +public **addInline** ([Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) $code) Adds an inline code to the collection +public **has** ([Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) $resource) + +Checks this the resource is added to the collection. + +```php +has($resource); // true + +``` + public **addCss** (*mixed* $path, [*mixed* $local], [*mixed* $filter], [*mixed* $attributes]) Adds a CSS resource to the collection @@ -72,7 +93,7 @@ public **addInlineCss** (*mixed* $content, [*mixed* $filter], [*mixed* $attribut Adds an inline CSS to the collection -public [Phalcon\Assets\Collection](/en/3.1.2/api/Phalcon_Assets_Collection) **addJs** (*string* $path, [*boolean* $local], [*boolean* $filter], [*array* $attributes]) +public [Phalcon\Assets\Collection](/en/3.2/api/Phalcon_Assets_Collection) **addJs** (*string* $path, [*boolean* $local], [*boolean* $filter], [*array* $attributes]) Adds a javascript resource to the collection @@ -144,6 +165,10 @@ public **getRealTargetPath** (*mixed* $basePath) Returns the complete location where the joined/filtered collection must be written -public **addFilter** ([Phalcon\Assets\FilterInterface](/en/3.1.2/api/Phalcon_Assets_FilterInterface) $filter) +public **addFilter** ([Phalcon\Assets\FilterInterface](/en/3.2/api/Phalcon_Assets_FilterInterface) $filter) + +Adds a filter to the collection + +final protected **addResource** ([Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) $resource) -Adds a filter to the collection \ No newline at end of file +Adds a resource or inline-code to the collection \ No newline at end of file diff --git a/vi/api/Phalcon_Assets_Exception.md b/vi/api/Phalcon_Assets_Exception.md index bf3c9a57c01a..4c8c0516fd94 100644 --- a/vi/api/Phalcon_Assets_Exception.md +++ b/vi/api/Phalcon_Assets_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Assets\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/vi/api/Phalcon_Assets_Filters_Cssmin.md b/vi/api/Phalcon_Assets_Filters_Cssmin.md index 75e2781f79a0..a807a59e4880 100644 --- a/vi/api/Phalcon_Assets_Filters_Cssmin.md +++ b/vi/api/Phalcon_Assets_Filters_Cssmin.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Assets\\Filters\\Cssmin** -*implements* [Phalcon\Assets\FilterInterface](/en/3.1.2/api/Phalcon_Assets_FilterInterface) +*implements* [Phalcon\Assets\FilterInterface](/en/3.2/api/Phalcon_Assets_FilterInterface) Source on GitHub diff --git a/vi/api/Phalcon_Assets_Filters_Jsmin.md b/vi/api/Phalcon_Assets_Filters_Jsmin.md index 2ee9aa7f5390..2bfe2b4851a4 100644 --- a/vi/api/Phalcon_Assets_Filters_Jsmin.md +++ b/vi/api/Phalcon_Assets_Filters_Jsmin.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Assets\\Filters\\Jsmin** -*implements* [Phalcon\Assets\FilterInterface](/en/3.1.2/api/Phalcon_Assets_FilterInterface) +*implements* [Phalcon\Assets\FilterInterface](/en/3.2/api/Phalcon_Assets_FilterInterface) Source on GitHub diff --git a/vi/api/Phalcon_Assets_Filters_None.md b/vi/api/Phalcon_Assets_Filters_None.md index 93c79dd941f6..60e59aac09de 100644 --- a/vi/api/Phalcon_Assets_Filters_None.md +++ b/vi/api/Phalcon_Assets_Filters_None.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Assets\\Filters\\None** -*implements* [Phalcon\Assets\FilterInterface](/en/3.1.2/api/Phalcon_Assets_FilterInterface) +*implements* [Phalcon\Assets\FilterInterface](/en/3.2/api/Phalcon_Assets_FilterInterface) Source on GitHub diff --git a/vi/api/Phalcon_Assets_Inline.md b/vi/api/Phalcon_Assets_Inline.md index 05a1f622aa48..e5c3ef631536 100644 --- a/vi/api/Phalcon_Assets_Inline.md +++ b/vi/api/Phalcon_Assets_Inline.md @@ -1,5 +1,7 @@ # Class **Phalcon\\Assets\\Inline** +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) + Source on GitHub Represents an inline asset @@ -43,4 +45,8 @@ Sets if the resource must be filtered or not public **setAttributes** (*array* $attributes) -Sets extra HTML attributes \ No newline at end of file +Sets extra HTML attributes + +public **getResourceKey** () + +Gets the resource's key. \ No newline at end of file diff --git a/vi/api/Phalcon_Assets_Inline_Css.md b/vi/api/Phalcon_Assets_Inline_Css.md index c4d7a9d0e919..aad74b78beca 100644 --- a/vi/api/Phalcon_Assets_Inline_Css.md +++ b/vi/api/Phalcon_Assets_Inline_Css.md @@ -1,6 +1,8 @@ # Class **Phalcon\\Assets\\Inline\\Css** -*extends* class [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +*extends* class [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) + +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) Source on GitHub @@ -10,30 +12,34 @@ Represents an inlined CSS public **__construct** (*string* $content, [*boolean* $filter], [*array* $attributes]) -public **getType** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getType** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getContent** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getContent** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getFilter** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getFilter** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getAttributes** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getAttributes** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) Sets the inline's type -public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) Sets if the resource must be filtered or not -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) + +Sets extra HTML attributes + +public **getResourceKey** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) -Sets extra HTML attributes \ No newline at end of file +Gets the resource's key. \ No newline at end of file diff --git a/vi/api/Phalcon_Assets_Inline_Js.md b/vi/api/Phalcon_Assets_Inline_Js.md index 27d57246d817..1cce336b4116 100644 --- a/vi/api/Phalcon_Assets_Inline_Js.md +++ b/vi/api/Phalcon_Assets_Inline_Js.md @@ -1,6 +1,8 @@ # Class **Phalcon\\Assets\\Inline\\Js** -*extends* class [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +*extends* class [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) + +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) Source on GitHub @@ -10,30 +12,34 @@ Represents an inline Javascript public **__construct** (*string* $content, [*boolean* $filter], [*array* $attributes]) -public **getType** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getType** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getContent** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getContent** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getFilter** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getFilter** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getAttributes** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getAttributes** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) Sets the inline's type -public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) Sets if the resource must be filtered or not -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) + +Sets extra HTML attributes + +public **getResourceKey** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) -Sets extra HTML attributes \ No newline at end of file +Gets the resource's key. \ No newline at end of file diff --git a/vi/api/Phalcon_Assets_Manager.md b/vi/api/Phalcon_Assets_Manager.md index 55ab07f19201..13ecabf4ff9c 100644 --- a/vi/api/Phalcon_Assets_Manager.md +++ b/vi/api/Phalcon_Assets_Manager.md @@ -52,7 +52,7 @@ public **addInlineJs** (*mixed* $content, [*mixed* $filter], [*mixed* $attribute Adds an inline javascript to the 'js' collection -public **addResourceByType** (*mixed* $type, [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) $resource) +public **addResourceByType** (*mixed* $type, [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) $resource) Adds a resource by its type @@ -65,11 +65,11 @@ $assets->addResourceByType("css", ``` -public **addInlineCodeByType** (*mixed* $type, [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) $code) +public **addInlineCodeByType** (*mixed* $type, [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) $code) Adds an inline code by its type -public **addResource** ([Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) $resource) +public **addResource** ([Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) $resource) Adds a raw resource to the manager @@ -82,11 +82,11 @@ $assets->addResource( ``` -public **addInlineCode** ([Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) $code) +public **addInlineCode** ([Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) $code) Adds a raw inline code to the manager -public **set** (*mixed* $id, [Phalcon\Assets\Collection](/en/3.1.2/api/Phalcon_Assets_Collection) $collection) +public **set** (*mixed* $id, [Phalcon\Assets\Collection](/en/3.2/api/Phalcon_Assets_Collection) $collection) Sets a collection in the Assets Manager @@ -99,7 +99,7 @@ $assets->set("js", $collection); public **get** (*mixed* $id) -Returns a collection by its id +Returns a collection by its id. ```php exists("jsHeader")) { + // \Phalcon\Assets\Collection + $collection = $assets->get("jsHeader"); +} + +``` \ No newline at end of file diff --git a/vi/api/Phalcon_Assets_Resource.md b/vi/api/Phalcon_Assets_Resource.md index 9718061c348e..d67dc71b7929 100644 --- a/vi/api/Phalcon_Assets_Resource.md +++ b/vi/api/Phalcon_Assets_Resource.md @@ -1,5 +1,7 @@ # Class **Phalcon\\Assets\\Resource** +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) + Source on GitHub Represents an asset resource @@ -85,4 +87,8 @@ Returns the complete location where the resource is located public **getRealTargetPath** ([*mixed* $basePath]) -Returns the complete location where the resource must be written \ No newline at end of file +Returns the complete location where the resource must be written + +public **getResourceKey** () + +Gets the resource's key. \ No newline at end of file diff --git a/vi/api/Phalcon_Assets_Resource_Css.md b/vi/api/Phalcon_Assets_Resource_Css.md index 9376a4de5f6d..11c938e391ca 100644 --- a/vi/api/Phalcon_Assets_Resource_Css.md +++ b/vi/api/Phalcon_Assets_Resource_Css.md @@ -1,6 +1,8 @@ # Class **Phalcon\\Assets\\Resource\\Css** -*extends* class [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +*extends* class [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) + +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) Source on GitHub @@ -10,72 +12,76 @@ Represents CSS resources public **__construct** (*string* $path, [*boolean* $local], [*boolean* $filter], [*array* $attributes]) -public **getType** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getType** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getPath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getPath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getLocal** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getLocal** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getFilter** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getFilter** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getAttributes** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getAttributes** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getSourcePath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getSourcePath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **getTargetPath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getTargetPath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **getTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's type -public **setPath** (*mixed* $path) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setPath** (*mixed* $path) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's path -public **setLocal** (*mixed* $local) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setLocal** (*mixed* $local) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets if the resource is local or external -public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets if the resource must be filtered or not -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets extra HTML attributes -public **setTargetUri** (*mixed* $targetUri) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setTargetUri** (*mixed* $targetUri) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets a target uri for the generated HTML -public **setSourcePath** (*mixed* $sourcePath) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setSourcePath** (*mixed* $sourcePath) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's source path -public **setTargetPath** (*mixed* $targetPath) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setTargetPath** (*mixed* $targetPath) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's target path -public **getContent** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getContent** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the content of the resource as an string Optionally a base path where the resource is located can be set -public **getRealTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the real target uri for the generated HTML -public **getRealSourcePath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealSourcePath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the complete location where the resource is located -public **getRealTargetPath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealTargetPath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) + +Returns the complete location where the resource must be written + +public **getResourceKey** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -Returns the complete location where the resource must be written \ No newline at end of file +Gets the resource's key. \ No newline at end of file diff --git a/vi/api/Phalcon_Assets_Resource_Js.md b/vi/api/Phalcon_Assets_Resource_Js.md index a4c132ff1ed1..2acc4d239b9d 100644 --- a/vi/api/Phalcon_Assets_Resource_Js.md +++ b/vi/api/Phalcon_Assets_Resource_Js.md @@ -1,6 +1,8 @@ # Class **Phalcon\\Assets\\Resource\\Js** -*extends* class [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +*extends* class [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) + +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) Source on GitHub @@ -10,72 +12,76 @@ Represents Javascript resources public **__construct** (*string* $path, [*boolean* $local], [*boolean* $filter], [*array* $attributes]) -public **getType** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getType** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getPath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getPath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getLocal** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getLocal** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getFilter** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getFilter** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getAttributes** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getAttributes** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getSourcePath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getSourcePath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **getTargetPath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getTargetPath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **getTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's type -public **setPath** (*mixed* $path) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setPath** (*mixed* $path) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's path -public **setLocal** (*mixed* $local) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setLocal** (*mixed* $local) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets if the resource is local or external -public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets if the resource must be filtered or not -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets extra HTML attributes -public **setTargetUri** (*mixed* $targetUri) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setTargetUri** (*mixed* $targetUri) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets a target uri for the generated HTML -public **setSourcePath** (*mixed* $sourcePath) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setSourcePath** (*mixed* $sourcePath) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's source path -public **setTargetPath** (*mixed* $targetPath) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setTargetPath** (*mixed* $targetPath) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's target path -public **getContent** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getContent** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the content of the resource as an string Optionally a base path where the resource is located can be set -public **getRealTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the real target uri for the generated HTML -public **getRealSourcePath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealSourcePath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the complete location where the resource is located -public **getRealTargetPath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealTargetPath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) + +Returns the complete location where the resource must be written + +public **getResourceKey** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -Returns the complete location where the resource must be written \ No newline at end of file +Gets the resource's key. \ No newline at end of file diff --git a/vi/api/Phalcon_Cache_Backend.md b/vi/api/Phalcon_Cache_Backend.md index f81ba2e57820..6e8b2e14bbff 100644 --- a/vi/api/Phalcon_Cache_Backend.md +++ b/vi/api/Phalcon_Cache_Backend.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Cache\\Backend** -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -32,7 +32,7 @@ public **setLastKey** (*mixed* $lastKey) ... -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend constructor @@ -56,22 +56,22 @@ public *int* **getLifetime** () Gets the last lifetime set -abstract public **get** (*mixed* $keyName, [*mixed* $lifetime]) inherited from [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +abstract public **get** (*mixed* $keyName, [*mixed* $lifetime]) inherited from [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) ... -abstract public **save** ([*mixed* $keyName], [*mixed* $content], [*mixed* $lifetime], [*mixed* $stopBuffer]) inherited from [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +abstract public **save** ([*mixed* $keyName], [*mixed* $content], [*mixed* $lifetime], [*mixed* $stopBuffer]) inherited from [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) ... -abstract public **delete** (*mixed* $keyName) inherited from [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +abstract public **delete** (*mixed* $keyName) inherited from [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) ... -abstract public **queryKeys** ([*mixed* $prefix]) inherited from [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +abstract public **queryKeys** ([*mixed* $prefix]) inherited from [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) ... -abstract public **exists** ([*mixed* $keyName], [*mixed* $lifetime]) inherited from [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +abstract public **exists** ([*mixed* $keyName], [*mixed* $lifetime]) inherited from [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) ... \ No newline at end of file diff --git a/vi/api/Phalcon_Cache_Backend_Apc.md b/vi/api/Phalcon_Cache_Backend_Apc.md index 6f08c1fef4b7..92b01c89d25a 100644 --- a/vi/api/Phalcon_Cache_Backend_Apc.md +++ b/vi/api/Phalcon_Cache_Backend_Apc.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Apc** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -94,50 +94,50 @@ $cache->flush(); ``` -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Phalcon\\Cache\\Backend constructor -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/vi/api/Phalcon_Cache_Backend_File.md b/vi/api/Phalcon_Cache_Backend_File.md index 78c3aff0e84c..3ea73b705889 100644 --- a/vi/api/Phalcon_Cache_Backend_File.md +++ b/vi/api/Phalcon_Cache_Backend_File.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\File** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -44,7 +44,7 @@ if ($content === null) { ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, *array* $options) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, *array* $options) Phalcon\\Cache\\Backend\\File constructor @@ -98,46 +98,46 @@ public **useSafeKey** (*mixed* $useSafeKey) Set whether to use the safekey or not -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/vi/api/Phalcon_Cache_Backend_Libmemcached.md b/vi/api/Phalcon_Cache_Backend_Libmemcached.md index 88948897b300..9ec4b031d82e 100644 --- a/vi/api/Phalcon_Cache_Backend_Libmemcached.md +++ b/vi/api/Phalcon_Cache_Backend_Libmemcached.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Libmemcached** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -49,7 +49,7 @@ $data = $cache->get("my-data"); ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend\\Memcache constructor @@ -116,46 +116,46 @@ $cache->flush(); ``` -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/vi/api/Phalcon_Cache_Backend_Memcache.md b/vi/api/Phalcon_Cache_Backend_Memcache.md index 7310592149b1..6f2575ca5c8d 100644 --- a/vi/api/Phalcon_Cache_Backend_Memcache.md +++ b/vi/api/Phalcon_Cache_Backend_Memcache.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Memcache** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -43,7 +43,7 @@ $data = $cache->get("my-data"); ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend\\Memcache constructor @@ -97,46 +97,46 @@ public **flush** () Immediately invalidates all existing items. -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/vi/api/Phalcon_Cache_Backend_Memory.md b/vi/api/Phalcon_Cache_Backend_Memory.md index 06a4216cf7ac..a269432ab9f3 100644 --- a/vi/api/Phalcon_Cache_Backend_Memory.md +++ b/vi/api/Phalcon_Cache_Backend_Memory.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Memory** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface), [Serializable](http://php.net/manual/en/class.serializable.php) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface), [Serializable](http://php.net/manual/en/class.serializable.php) Source on GitHub @@ -79,50 +79,50 @@ public **unserialize** (*mixed* $data) Required for interface \\Serializable -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Phalcon\\Cache\\Backend constructor -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/vi/api/Phalcon_Cache_Backend_Mongo.md b/vi/api/Phalcon_Cache_Backend_Mongo.md index 9ad0f67b530c..6421cd0f4f29 100644 --- a/vi/api/Phalcon_Cache_Backend_Mongo.md +++ b/vi/api/Phalcon_Cache_Backend_Mongo.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Mongo** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -44,7 +44,7 @@ $data = $cache->get("my-data"); ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend\\Mongo constructor @@ -98,46 +98,46 @@ public **flush** () Immediately invalidates all existing items. -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/vi/api/Phalcon_Cache_Backend_Redis.md b/vi/api/Phalcon_Cache_Backend_Redis.md index 123bf025f2af..a3509251d509 100644 --- a/vi/api/Phalcon_Cache_Backend_Redis.md +++ b/vi/api/Phalcon_Cache_Backend_Redis.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Redis** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -45,7 +45,7 @@ $data = $cache->get("my-data"); ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend\\Redis constructor @@ -105,46 +105,46 @@ public **flush** () Immediately invalidates all existing items. -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/vi/api/Phalcon_Cache_Backend_Xcache.md b/vi/api/Phalcon_Cache_Backend_Xcache.md index b91e75b19c79..7dac8215d5f3 100644 --- a/vi/api/Phalcon_Cache_Backend_Xcache.md +++ b/vi/api/Phalcon_Cache_Backend_Xcache.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Xcache** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -38,7 +38,7 @@ $data = $cache->get("my-data"); ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend\\Xcache constructor @@ -84,46 +84,46 @@ public **flush** () Immediately invalidates all existing items. -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/vi/api/Phalcon_Cache_Exception.md b/vi/api/Phalcon_Cache_Exception.md index cbb05a3a76e4..87f2372e7864 100644 --- a/vi/api/Phalcon_Cache_Exception.md +++ b/vi/api/Phalcon_Cache_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/vi/api/Phalcon_Cache_Frontend_Base64.md b/vi/api/Phalcon_Cache_Frontend_Base64.md index 92f36996b4b7..473895a88aa8 100644 --- a/vi/api/Phalcon_Cache_Frontend_Base64.md +++ b/vi/api/Phalcon_Cache_Frontend_Base64.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Frontend\\Base64** -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/vi/api/Phalcon_Cache_Frontend_Data.md b/vi/api/Phalcon_Cache_Frontend_Data.md index f46469ab7410..1f249be7103c 100644 --- a/vi/api/Phalcon_Cache_Frontend_Data.md +++ b/vi/api/Phalcon_Cache_Frontend_Data.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Frontend\\Data** -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/vi/api/Phalcon_Cache_Frontend_Igbinary.md b/vi/api/Phalcon_Cache_Frontend_Igbinary.md index 1460a42ce867..714a96bb4de1 100644 --- a/vi/api/Phalcon_Cache_Frontend_Igbinary.md +++ b/vi/api/Phalcon_Cache_Frontend_Igbinary.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Frontend\\Igbinary** -*extends* class [Phalcon\Cache\Frontend\Data](/en/3.1.2/api/Phalcon_Cache_Frontend_Data) +*extends* class [Phalcon\Cache\Frontend\Data](/en/3.2/api/Phalcon_Cache_Frontend_Data) -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/vi/api/Phalcon_Cache_Frontend_Json.md b/vi/api/Phalcon_Cache_Frontend_Json.md index 64a296ca976f..bfe39cdc53c4 100644 --- a/vi/api/Phalcon_Cache_Frontend_Json.md +++ b/vi/api/Phalcon_Cache_Frontend_Json.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Frontend\\Json** -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/vi/api/Phalcon_Cache_Frontend_Msgpack.md b/vi/api/Phalcon_Cache_Frontend_Msgpack.md index f77a99a21168..857b40d4bbdc 100644 --- a/vi/api/Phalcon_Cache_Frontend_Msgpack.md +++ b/vi/api/Phalcon_Cache_Frontend_Msgpack.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Frontend\\Msgpack** -*extends* class [Phalcon\Cache\Frontend\Data](/en/3.1.2/api/Phalcon_Cache_Frontend_Data) +*extends* class [Phalcon\Cache\Frontend\Data](/en/3.2/api/Phalcon_Cache_Frontend_Data) -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/vi/api/Phalcon_Cache_Frontend_None.md b/vi/api/Phalcon_Cache_Frontend_None.md index 521fcd02f344..bdc0af2d4135 100644 --- a/vi/api/Phalcon_Cache_Frontend_None.md +++ b/vi/api/Phalcon_Cache_Frontend_None.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Frontend\\None** -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/vi/api/Phalcon_Cache_Frontend_Output.md b/vi/api/Phalcon_Cache_Frontend_Output.md index 8421c02f1276..c6a0543703d6 100644 --- a/vi/api/Phalcon_Cache_Frontend_Output.md +++ b/vi/api/Phalcon_Cache_Frontend_Output.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Frontend\\Output** -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/vi/api/Phalcon_Cache_Multiple.md b/vi/api/Phalcon_Cache_Multiple.md index bbfa61a13274..1d9fd1365aa9 100644 --- a/vi/api/Phalcon_Cache_Multiple.md +++ b/vi/api/Phalcon_Cache_Multiple.md @@ -65,11 +65,11 @@ $cache->save("my-key", $data); ## Methods -public **__construct** ([[Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface[]) $backends]) +public **__construct** ([[Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface[]) $backends]) Phalcon\\Cache\\Multiple constructor -public **push** ([Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) $backend) +public **push** ([Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) $backend) Adds a backend diff --git a/vi/api/Phalcon_Cli_Console.md b/vi/api/Phalcon_Cli_Console.md index c769b7ad7659..f0337bf3f1ec 100644 --- a/vi/api/Phalcon_Cli_Console.md +++ b/vi/api/Phalcon_Cli_Console.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cli\\Console** -*extends* abstract class [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +*extends* abstract class [Phalcon\Application](/en/3.2/api/Phalcon_Application) -*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -36,19 +36,19 @@ public **setArgument** ([*array* $arguments], [*mixed* $str], [*mixed* $shift]) Set an specific argument -public **__construct** ([[Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector]) inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **__construct** ([[Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector]) inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Phalcon\\Application -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Sets the events manager -public **getEventsManager** () inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **getEventsManager** () inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Returns the internal event manager -public **registerModules** (*array* $modules, [*mixed* $merge]) inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **registerModules** (*array* $modules, [*mixed* $merge]) inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Register an array of modules present in the application @@ -70,30 +70,30 @@ $this->registerModules( ``` -public **getModules** () inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **getModules** () inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Return the modules registered in the application -public **getModule** (*mixed* $name) inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **getModule** (*mixed* $name) inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Gets the module definition registered in the application via module name -public **setDefaultModule** (*mixed* $defaultModule) inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **setDefaultModule** (*mixed* $defaultModule) inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Sets the module name to be used if the router doesn't return a valid module -public **getDefaultModule** () inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **getDefaultModule** () inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Returns the default module name -public **setDI** ([Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **setDI** ([Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Sets the dependency injector -public **getDI** () inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **getDI** () inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Returns the internal dependency injector -public **__get** (*mixed* $propertyName) inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **__get** (*mixed* $propertyName) inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Magic method __get \ No newline at end of file diff --git a/vi/api/Phalcon_Cli_Console_Exception.md b/vi/api/Phalcon_Cli_Console_Exception.md index 64a6f1f9162a..e7bfea5dbde1 100644 --- a/vi/api/Phalcon_Cli_Console_Exception.md +++ b/vi/api/Phalcon_Cli_Console_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cli\\Console\\Exception** -*extends* class [Phalcon\Application\Exception](/en/3.1.2/api/Phalcon_Application_Exception) +*extends* class [Phalcon\Application\Exception](/en/3.2/api/Phalcon_Application_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/vi/api/Phalcon_Cli_Dispatcher.md b/vi/api/Phalcon_Cli_Dispatcher.md index 7b91f5c9f537..f03b7c7c61ac 100644 --- a/vi/api/Phalcon_Cli_Dispatcher.md +++ b/vi/api/Phalcon_Cli_Dispatcher.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cli\\Dispatcher** -*extends* abstract class [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +*extends* abstract class [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) -*implements* [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface), [Phalcon\Cli\DispatcherInterface](/en/3.1.2/api/Phalcon_Cli_DispatcherInterface) +*implements* [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface), [Phalcon\Cli\DispatcherInterface](/en/3.2/api/Phalcon_Cli_DispatcherInterface) Source on GitHub @@ -11,10 +11,11 @@ Dispatching is the process of taking the command-line arguments, extracting the ```php setDi($di); $dispatcher->setTaskName("posts"); @@ -81,107 +82,115 @@ public **getOptions** () Get dispatched options +public **getOption** (*mixed* $option, [*string* | *array* $filters], [*mixed* $defaultValue]) + +Gets an option by its name or numeric index + +public **hasOption** (*mixed* $option) + +Check if an option exists + public **callActionMethod** (*mixed* $handler, *mixed* $actionMethod, [*array* $params]) -... +Calls the action method. -public **setDI** ([Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setDI** ([Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the dependency injector -public **getDI** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getDI** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns the internal dependency injector -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the events manager -public **getEventsManager** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getEventsManager** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns the internal event manager -public **setActionSuffix** (*mixed* $actionSuffix) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setActionSuffix** (*mixed* $actionSuffix) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the default action suffix -public **getActionSuffix** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getActionSuffix** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets the default action suffix -public **setModuleName** (*mixed* $moduleName) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setModuleName** (*mixed* $moduleName) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the module where the controller is (only informative) -public **getModuleName** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getModuleName** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets the module where the controller class is -public **setNamespaceName** (*mixed* $namespaceName) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setNamespaceName** (*mixed* $namespaceName) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the namespace where the controller class is -public **getNamespaceName** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getNamespaceName** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets a namespace to be prepended to the current handler name -public **setDefaultNamespace** (*mixed* $namespaceName) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setDefaultNamespace** (*mixed* $namespaceName) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the default namespace -public **getDefaultNamespace** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getDefaultNamespace** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns the default namespace -public **setDefaultAction** (*mixed* $actionName) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setDefaultAction** (*mixed* $actionName) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the default action name -public **setActionName** (*mixed* $actionName) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setActionName** (*mixed* $actionName) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the action name to be dispatched -public **getActionName** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getActionName** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets the latest dispatched action name -public **setParams** (*array* $params) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setParams** (*array* $params) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets action params to be dispatched -public **getParams** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getParams** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets action params -public **setParam** (*mixed* $param, *mixed* $value) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setParam** (*mixed* $param, *mixed* $value) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Set a param by its name or numeric index -public *mixed* **getParam** (*mixed* $param, [*string* | *array* $filters], [*mixed* $defaultValue]) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public *mixed* **getParam** (*mixed* $param, [*string* | *array* $filters], [*mixed* $defaultValue]) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets a param by its name or numeric index -public *boolean* **hasParam** (*mixed* $param) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public *boolean* **hasParam** (*mixed* $param) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Check if a param exists -public **getActiveMethod** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getActiveMethod** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns the current method to be/executed in the dispatcher -public **isFinished** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **isFinished** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Checks if the dispatch loop is finished or has more pendent controllers/tasks to dispatch -public **setReturnedValue** (*mixed* $value) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setReturnedValue** (*mixed* $value) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the latest returned value by an action manually -public *mixed* **getReturnedValue** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public *mixed* **getReturnedValue** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns value returned by the latest dispatched action -public **setModelBinding** (*mixed* $value, [*mixed* $cache]) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setModelBinding** (*mixed* $value, [*mixed* $cache]) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Enable/Disable model binding during dispatch @@ -197,7 +206,7 @@ $di->set('dispatcher', function() { ``` -public **setModelBinder** ([Phalcon\Mvc\Model\BinderInterface](/en/3.1.2/api/Phalcon_Mvc_Model_BinderInterface) $modelBinder, [*mixed* $cache]) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setModelBinder** ([Phalcon\Mvc\Model\BinderInterface](/en/3.2/api/Phalcon_Mvc_Model_BinderInterface) $modelBinder, [*mixed* $cache]) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Enable model binding during dispatch @@ -213,21 +222,21 @@ $di->set('dispatcher', function() { ``` -public **getModelBinder** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getModelBinder** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets model binder -public *object* **dispatch** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public *object* **dispatch** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Dispatches a handle action taking into account the routing parameters -protected *object* **_dispatch** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +protected *object* **_dispatch** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Dispatches a handle action taking into account the routing parameters -public **forward** (*array* $forward) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **forward** (*array* $forward) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) -Forwards the execution flow to another controller/action Dispatchers are unique per module. Forwarding between modules is not allowed +Forwards the execution flow to another controller/action. ```php dispatcher->forward( ``` -public **wasForwarded** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **wasForwarded** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Check if the current executed action was forwarded by another one -public **getHandlerClass** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getHandlerClass** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Possible class name that will be located to dispatch the request -public **getBoundModels** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getBoundModels** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns bound models from binder instance @@ -266,6 +275,6 @@ class UserController extends Controller ``` -protected **_resolveEmptyProperties** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +protected **_resolveEmptyProperties** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Set empty properties to their defaults (where defaults are available) \ No newline at end of file diff --git a/vi/api/Phalcon_Cli_DispatcherInterface.md b/vi/api/Phalcon_Cli_DispatcherInterface.md index 58914bf4b682..78f4d7b40c9c 100644 --- a/vi/api/Phalcon_Cli_DispatcherInterface.md +++ b/vi/api/Phalcon_Cli_DispatcherInterface.md @@ -1,6 +1,6 @@ # Interface **Phalcon\\Cli\\DispatcherInterface** -*implements* [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +*implements* [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) Source on GitHub @@ -30,70 +30,70 @@ abstract public **getActiveTask** () ... -abstract public **setActionSuffix** (*mixed* $actionSuffix) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setActionSuffix** (*mixed* $actionSuffix) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **getActionSuffix** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **getActionSuffix** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setDefaultNamespace** (*mixed* $defaultNamespace) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setDefaultNamespace** (*mixed* $defaultNamespace) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setDefaultAction** (*mixed* $actionName) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setDefaultAction** (*mixed* $actionName) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setNamespaceName** (*mixed* $namespaceName) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setNamespaceName** (*mixed* $namespaceName) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setModuleName** (*mixed* $moduleName) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setModuleName** (*mixed* $moduleName) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setActionName** (*mixed* $actionName) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setActionName** (*mixed* $actionName) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **getActionName** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **getActionName** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setParams** (*mixed* $params) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setParams** (*mixed* $params) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **getParams** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **getParams** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setParam** (*mixed* $param, *mixed* $value) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setParam** (*mixed* $param, *mixed* $value) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **getParam** (*mixed* $param, [*mixed* $filters]) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **getParam** (*mixed* $param, [*mixed* $filters]) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **hasParam** (*mixed* $param) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **hasParam** (*mixed* $param) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **isFinished** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **isFinished** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **getReturnedValue** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **getReturnedValue** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **dispatch** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **dispatch** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **forward** (*mixed* $forward) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **forward** (*mixed* $forward) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... \ No newline at end of file diff --git a/vi/api/Phalcon_Cli_Dispatcher_Exception.md b/vi/api/Phalcon_Cli_Dispatcher_Exception.md index 0eeb05860d89..fbd0a6c4292d 100644 --- a/vi/api/Phalcon_Cli_Dispatcher_Exception.md +++ b/vi/api/Phalcon_Cli_Dispatcher_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cli\\Dispatcher\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/vi/api/Phalcon_Cli_Router.md b/vi/api/Phalcon_Cli_Router.md index d2cb10a44276..5a0943627b36 100644 --- a/vi/api/Phalcon_Cli_Router.md +++ b/vi/api/Phalcon_Cli_Router.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cli\\Router** -*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface) +*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface) Source on GitHub @@ -29,7 +29,7 @@ public **__construct** ([*mixed* $defaultRoutes]) Phalcon\\Cli\\Router constructor -public **setDI** ([Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector) +public **setDI** ([Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector) Sets the dependency injector @@ -69,7 +69,7 @@ public **handle** ([*array* $arguments]) Handles routing information received from command-line arguments -public [Phalcon\Cli\Router\Route](/en/3.1.2/api/Phalcon_Cli_Router_Route) **add** (*string* $pattern, [*string/array* $paths]) +public [Phalcon\Cli\Router\Route](/en/3.2/api/Phalcon_Cli_Router_Route) **add** (*string* $pattern, [*string/array* $paths]) Adds a route to the router @@ -112,7 +112,7 @@ public **getRoutes** () Returns all the routes defined in the router -public [Phalcon\Cli\Router\Route](/en/3.1.2/api/Phalcon_Cli_Router_Route) **getRouteById** (*int* $id) +public [Phalcon\Cli\Router\Route](/en/3.2/api/Phalcon_Cli_Router_Route) **getRouteById** (*int* $id) Returns a route object by its id diff --git a/vi/api/Phalcon_Crypt_Exception.md b/vi/api/Phalcon_Crypt_Exception.md index 677b1db3e78e..ea2a2af5ed7e 100644 --- a/vi/api/Phalcon_Crypt_Exception.md +++ b/vi/api/Phalcon_Crypt_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Crypt\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/vi/api/Phalcon_Db_Adapter.md b/vi/api/Phalcon_Db_Adapter.md index c1deaded19cd..a5d397a98c83 100644 --- a/vi/api/Phalcon_Db_Adapter.md +++ b/vi/api/Phalcon_Db_Adapter.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Db\\Adapter** -*implements* [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -24,7 +24,7 @@ public **__construct** (*array* $descriptor) Phalcon\\Db\\Adapter constructor -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) Sets the event manager @@ -32,7 +32,7 @@ public **getEventsManager** () Returns the internal event manager -public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) $dialect) +public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) $dialect) Sets the dialect used to produce the SQL @@ -309,11 +309,11 @@ public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExist Drops a view -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Adds a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) Modifies a table column based on a definition @@ -321,7 +321,7 @@ public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnN Drops a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Adds an index to a table @@ -329,7 +329,7 @@ public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexNam Drop an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Adds a primary key to a table @@ -337,7 +337,7 @@ public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) Drops a table's primary key -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) Adds a foreign key to a table @@ -345,7 +345,7 @@ public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $ref Drops a foreign key from a table -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Returns the SQL column definition from a column @@ -375,7 +375,7 @@ print_r( ``` -public [Phalcon\Db\Index](/en/3.1.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) +public [Phalcon\Db\Index](/en/3.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) Lists table indexes @@ -512,54 +512,54 @@ public *array* **getSQLBindTypes** () Active SQL statement in the object -abstract public **connect** ([*array* $descriptor]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **connect** ([*array* $descriptor]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **query** (*mixed* $sqlStatement, [*mixed* $placeholders], [*mixed* $dataTypes]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **query** (*mixed* $sqlStatement, [*mixed* $placeholders], [*mixed* $dataTypes]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **execute** (*mixed* $sqlStatement, [*mixed* $placeholders], [*mixed* $dataTypes]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **execute** (*mixed* $sqlStatement, [*mixed* $placeholders], [*mixed* $dataTypes]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **affectedRows** () inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **affectedRows** () inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **close** () inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **close** () inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **lastInsertId** ([*mixed* $sequenceName]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **lastInsertId** ([*mixed* $sequenceName]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **isUnderTransaction** () inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **isUnderTransaction** () inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **getInternalHandler** () inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **getInternalHandler** () inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... \ No newline at end of file diff --git a/vi/api/Phalcon_Db_AdapterInterface.md b/vi/api/Phalcon_Db_AdapterInterface.md index 2b9bec9a2acd..4c6a8f54b3f1 100644 --- a/vi/api/Phalcon_Db_AdapterInterface.md +++ b/vi/api/Phalcon_Db_AdapterInterface.md @@ -64,11 +64,11 @@ abstract public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* ... -abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) ... -abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) ... @@ -76,7 +76,7 @@ abstract public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* ... -abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) ... @@ -84,7 +84,7 @@ abstract public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* ... -abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) ... @@ -92,7 +92,7 @@ abstract public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) ... -abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) ... @@ -100,7 +100,7 @@ abstract public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mi ... -abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) ... diff --git a/vi/api/Phalcon_Db_Adapter_Pdo.md b/vi/api/Phalcon_Db_Adapter_Pdo.md index 44de7d9e6e1f..c23a014e3d58 100644 --- a/vi/api/Phalcon_Db_Adapter_Pdo.md +++ b/vi/api/Phalcon_Db_Adapter_Pdo.md @@ -1,8 +1,8 @@ # Abstract class **Phalcon\\Db\\Adapter\\Pdo** -*extends* abstract class [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +*extends* abstract class [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) -*implements* [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +*implements* [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) Source on GitHub @@ -262,35 +262,35 @@ public *array* **getErrorInfo** () Return the error info, if any -public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Name of the dialect used -public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Type of database system the adapter is used for -public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL bound parameter variables -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the event manager -public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the internal event manager -public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the dialect used to produce the SQL -public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns internal dialect instance -public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the first row in a SQL query result @@ -307,7 +307,7 @@ print_r($robot); ``` -public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Dumps the complete result of a query into an array @@ -338,7 +338,7 @@ foreach($robots as $robot) { ``` -public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the n'th field of first row in a SQL query result @@ -358,7 +358,7 @@ print_r($robot); ``` -public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RDBMS SQL syntax @@ -377,7 +377,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RBDM SQL syntax @@ -398,7 +398,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax @@ -435,7 +435,7 @@ $success = $connection->update( Warning! If $whereCondition is string it not escaped. -public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax Another, more convenient syntax @@ -456,7 +456,7 @@ UPDATE `robots` SET `name` = "Astro boy" WHERE id = 101 ``` -public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Deletes data from a table using custom RBDM SQL syntax @@ -474,7 +474,7 @@ DELETE FROM `robots` WHERE `id` = 101 ``` -public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Escapes a column/table/schema name @@ -494,11 +494,11 @@ $escapedTable = $connection->escapeIdentifier( ``` -public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets a list of columns -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Appends a LIMIT clause to $sqlQuery argument @@ -509,7 +509,7 @@ echo $connection->limit("SELECT * FROM robots", 5); ``` -public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.table @@ -522,7 +522,7 @@ var_dump( ``` -public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.view @@ -535,71 +535,71 @@ var_dump( ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a FOR UPDATE clause -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a LOCK IN SHARE MODE clause -public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a table -public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table from a schema/database -public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a view -public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a view -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Modifies a table column based on a definition -public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds an index to a table -public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drop an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a primary key to a table -public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table's primary key -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a foreign key to a table -public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a foreign key from a table -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the SQL column definition from a column -public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all tables on a database @@ -612,7 +612,7 @@ print_r( ``` -public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all views on a database @@ -625,7 +625,7 @@ print_r( ``` -public [Phalcon\Db\Index](/en/3.1.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public [Phalcon\Db\Index](/en/3.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Lists table indexes @@ -638,7 +638,7 @@ print_r( ``` -public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Lists table references @@ -651,7 +651,7 @@ print_r( ``` -public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets creation options from a table @@ -664,31 +664,31 @@ print_r( ``` -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Releases given savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Rollbacks given savepoint -public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Set if nested transactions should use savepoints -public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns if nested transactions should use savepoints -public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the savepoint name to use for nested transactions -public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default identity value to be inserted in an identity column @@ -712,7 +712,7 @@ $success = $connection->insert( ``` -public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default value to make the RBDM use the default value declared in the table definition @@ -734,34 +734,34 @@ $success = $connection->insert( ``` -public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Check whether the database system requires a sequence to produce auto-numeric values -public **useExplicitIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **useExplicitIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Check whether the database system requires an explicit value for identity columns -public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Return descriptor used to connect to the active database -public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets the active connection unique identifier -public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object -public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object without replace bound parameters -public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object -abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... \ No newline at end of file diff --git a/vi/api/Phalcon_Db_Adapter_Pdo_Mysql.md b/vi/api/Phalcon_Db_Adapter_Pdo_Mysql.md index fe17030fddcf..5013bf0def80 100644 --- a/vi/api/Phalcon_Db_Adapter_Pdo_Mysql.md +++ b/vi/api/Phalcon_Db_Adapter_Pdo_Mysql.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Adapter\\Pdo\\Mysql** -*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) -*implements* [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -40,7 +40,7 @@ print_r( ``` -public [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface[]) **describeIndexes** (*string* $table, [*string* $schema]) +public [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface[]) **describeIndexes** (*string* $table, [*string* $schema]) Lists table indexes @@ -66,11 +66,11 @@ print_r( ``` -public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Constructor for Phalcon\\Db\\Adapter\\Pdo -public **connect** ([*array* $descriptor]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **connect** ([*array* $descriptor]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) This method is automatically called in \\Phalcon\\Db\\Adapter\\Pdo constructor. Call it when you need to restore a database connection. @@ -95,7 +95,7 @@ $connection->connect(); ``` -public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns a PDO prepared statement to be executed with 'executePrepared' @@ -120,7 +120,7 @@ $result = $connection->executePrepared( ``` -public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Executes a prepared statement binding. This function uses integer indexes starting from zero @@ -145,7 +145,7 @@ $result = $connection->executePrepared( ``` -public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server is returning rows @@ -166,7 +166,7 @@ $resultset = $connection->query( ``` -public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server doesn't return any rows @@ -188,7 +188,7 @@ $success = $connection->execute( ``` -public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the number of affected rows by the latest INSERT/UPDATE/DELETE executed in the database system @@ -203,11 +203,11 @@ echo $connection->affectedRows(), " were deleted"; ``` -public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Closes the active connection returning success. Phalcon automatically closes and destroys active connections when the request ends -public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Escapes a value to avoid SQL injections according to the active charset in the connection @@ -218,7 +218,7 @@ $escapedStr = $connection->escapeString("some dangerous value"); ``` -public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Converts bound parameters such as :name: or ?1 into PDO bind params ? @@ -236,7 +236,7 @@ print_r( ``` -public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the insert id for the auto_increment/serial column inserted in the latest executed SQL statement @@ -261,23 +261,23 @@ $id = $connection->lastInsertId(); ``` -public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Starts a transaction in the connection -public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Rollbacks the active transaction in the connection -public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Commits the active transaction in the connection -public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the current transaction nesting level -public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Checks whether the connection is under a transaction @@ -293,43 +293,43 @@ var_dump( ``` -public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return internal PDO handler -public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return the error info, if any -public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Name of the dialect used -public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Type of database system the adapter is used for -public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL bound parameter variables -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the event manager -public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the internal event manager -public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the dialect used to produce the SQL -public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns internal dialect instance -public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the first row in a SQL query result @@ -346,7 +346,7 @@ print_r($robot); ``` -public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Dumps the complete result of a query into an array @@ -377,7 +377,7 @@ foreach($robots as $robot) { ``` -public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the n'th field of first row in a SQL query result @@ -397,7 +397,7 @@ print_r($robot); ``` -public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RDBMS SQL syntax @@ -416,7 +416,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RBDM SQL syntax @@ -437,7 +437,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax @@ -474,7 +474,7 @@ $success = $connection->update( Warning! If $whereCondition is string it not escaped. -public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax Another, more convenient syntax @@ -495,7 +495,7 @@ UPDATE `robots` SET `name` = "Astro boy" WHERE id = 101 ``` -public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Deletes data from a table using custom RBDM SQL syntax @@ -513,7 +513,7 @@ DELETE FROM `robots` WHERE `id` = 101 ``` -public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Escapes a column/table/schema name @@ -533,11 +533,11 @@ $escapedTable = $connection->escapeIdentifier( ``` -public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets a list of columns -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Appends a LIMIT clause to $sqlQuery argument @@ -548,7 +548,7 @@ echo $connection->limit("SELECT * FROM robots", 5); ``` -public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.table @@ -561,7 +561,7 @@ var_dump( ``` -public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.view @@ -574,71 +574,71 @@ var_dump( ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a FOR UPDATE clause -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a LOCK IN SHARE MODE clause -public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a table -public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table from a schema/database -public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a view -public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a view -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Modifies a table column based on a definition -public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds an index to a table -public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drop an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a primary key to a table -public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table's primary key -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a foreign key to a table -public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a foreign key from a table -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the SQL column definition from a column -public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all tables on a database @@ -651,7 +651,7 @@ print_r( ``` -public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all views on a database @@ -664,7 +664,7 @@ print_r( ``` -public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets creation options from a table @@ -677,31 +677,31 @@ print_r( ``` -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Releases given savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Rollbacks given savepoint -public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Set if nested transactions should use savepoints -public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns if nested transactions should use savepoints -public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the savepoint name to use for nested transactions -public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default identity value to be inserted in an identity column @@ -725,7 +725,7 @@ $success = $connection->insert( ``` -public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default value to make the RBDM use the default value declared in the table definition @@ -747,30 +747,30 @@ $success = $connection->insert( ``` -public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Check whether the database system requires a sequence to produce auto-numeric values -public **useExplicitIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **useExplicitIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Check whether the database system requires an explicit value for identity columns -public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Return descriptor used to connect to the active database -public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets the active connection unique identifier -public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object -public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object without replace bound parameters -public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object \ No newline at end of file diff --git a/vi/api/Phalcon_Db_Adapter_Pdo_Postgresql.md b/vi/api/Phalcon_Db_Adapter_Pdo_Postgresql.md index c7f35273d52a..9a66f69a4ec1 100644 --- a/vi/api/Phalcon_Db_Adapter_Pdo_Postgresql.md +++ b/vi/api/Phalcon_Db_Adapter_Pdo_Postgresql.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Adapter\\Pdo\\Postgresql** -*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) -*implements* [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -48,7 +48,7 @@ public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $defini Creates a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) Modifies a table column based on a definition @@ -84,11 +84,11 @@ public **supportSequences** () Check whether the database system requires a sequence to produce auto-numeric values -public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Constructor for Phalcon\\Db\\Adapter\\Pdo -public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns a PDO prepared statement to be executed with 'executePrepared' @@ -113,7 +113,7 @@ $result = $connection->executePrepared( ``` -public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Executes a prepared statement binding. This function uses integer indexes starting from zero @@ -138,7 +138,7 @@ $result = $connection->executePrepared( ``` -public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server is returning rows @@ -159,7 +159,7 @@ $resultset = $connection->query( ``` -public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server doesn't return any rows @@ -181,7 +181,7 @@ $success = $connection->execute( ``` -public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the number of affected rows by the latest INSERT/UPDATE/DELETE executed in the database system @@ -196,11 +196,11 @@ echo $connection->affectedRows(), " were deleted"; ``` -public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Closes the active connection returning success. Phalcon automatically closes and destroys active connections when the request ends -public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Escapes a value to avoid SQL injections according to the active charset in the connection @@ -211,7 +211,7 @@ $escapedStr = $connection->escapeString("some dangerous value"); ``` -public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Converts bound parameters such as :name: or ?1 into PDO bind params ? @@ -229,7 +229,7 @@ print_r( ``` -public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the insert id for the auto_increment/serial column inserted in the latest executed SQL statement @@ -254,23 +254,23 @@ $id = $connection->lastInsertId(); ``` -public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Starts a transaction in the connection -public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Rollbacks the active transaction in the connection -public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Commits the active transaction in the connection -public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the current transaction nesting level -public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Checks whether the connection is under a transaction @@ -286,43 +286,43 @@ var_dump( ``` -public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return internal PDO handler -public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return the error info, if any -public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Name of the dialect used -public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Type of database system the adapter is used for -public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL bound parameter variables -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the event manager -public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the internal event manager -public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the dialect used to produce the SQL -public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns internal dialect instance -public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the first row in a SQL query result @@ -339,7 +339,7 @@ print_r($robot); ``` -public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Dumps the complete result of a query into an array @@ -370,7 +370,7 @@ foreach($robots as $robot) { ``` -public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the n'th field of first row in a SQL query result @@ -390,7 +390,7 @@ print_r($robot); ``` -public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RDBMS SQL syntax @@ -409,7 +409,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RBDM SQL syntax @@ -430,7 +430,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax @@ -467,7 +467,7 @@ $success = $connection->update( Warning! If $whereCondition is string it not escaped. -public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax Another, more convenient syntax @@ -488,7 +488,7 @@ UPDATE `robots` SET `name` = "Astro boy" WHERE id = 101 ``` -public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Deletes data from a table using custom RBDM SQL syntax @@ -506,7 +506,7 @@ DELETE FROM `robots` WHERE `id` = 101 ``` -public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Escapes a column/table/schema name @@ -526,11 +526,11 @@ $escapedTable = $connection->escapeIdentifier( ``` -public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets a list of columns -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Appends a LIMIT clause to $sqlQuery argument @@ -541,7 +541,7 @@ echo $connection->limit("SELECT * FROM robots", 5); ``` -public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.table @@ -554,7 +554,7 @@ var_dump( ``` -public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.view @@ -567,63 +567,63 @@ var_dump( ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a FOR UPDATE clause -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a LOCK IN SHARE MODE clause -public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table from a schema/database -public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a view -public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a view -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a column to a table -public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds an index to a table -public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drop an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a primary key to a table -public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table's primary key -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a foreign key to a table -public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a foreign key from a table -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the SQL column definition from a column -public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all tables on a database @@ -636,7 +636,7 @@ print_r( ``` -public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all views on a database @@ -649,7 +649,7 @@ print_r( ``` -public [Phalcon\Db\Index](/en/3.1.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public [Phalcon\Db\Index](/en/3.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Lists table indexes @@ -662,7 +662,7 @@ print_r( ``` -public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Lists table references @@ -675,7 +675,7 @@ print_r( ``` -public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets creation options from a table @@ -688,31 +688,31 @@ print_r( ``` -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Releases given savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Rollbacks given savepoint -public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Set if nested transactions should use savepoints -public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns if nested transactions should use savepoints -public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the savepoint name to use for nested transactions -public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default value to make the RBDM use the default value declared in the table definition @@ -734,22 +734,22 @@ $success = $connection->insert( ``` -public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Return descriptor used to connect to the active database -public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets the active connection unique identifier -public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object -public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object without replace bound parameters -public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object \ No newline at end of file diff --git a/vi/api/Phalcon_Db_Adapter_Pdo_Sqlite.md b/vi/api/Phalcon_Db_Adapter_Pdo_Sqlite.md index 1f92cfbfc6bd..a568c933ce4a 100644 --- a/vi/api/Phalcon_Db_Adapter_Pdo_Sqlite.md +++ b/vi/api/Phalcon_Db_Adapter_Pdo_Sqlite.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Adapter\\Pdo\\Sqlite** -*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) -*implements* [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -40,7 +40,7 @@ print_r( ``` -public [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface[]) **describeIndexes** (*string* $table, [*string* $schema]) +public [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface[]) **describeIndexes** (*string* $table, [*string* $schema]) Lists table indexes @@ -53,7 +53,7 @@ print_r( ``` -public [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface[]) **describeReferences** (*string* $table, [*string* $schema]) +public [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface[]) **describeReferences** (*string* $table, [*string* $schema]) Lists table references @@ -83,11 +83,11 @@ $success = $connection->insert( ``` -public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Constructor for Phalcon\\Db\\Adapter\\Pdo -public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns a PDO prepared statement to be executed with 'executePrepared' @@ -112,7 +112,7 @@ $result = $connection->executePrepared( ``` -public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Executes a prepared statement binding. This function uses integer indexes starting from zero @@ -137,7 +137,7 @@ $result = $connection->executePrepared( ``` -public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server is returning rows @@ -158,7 +158,7 @@ $resultset = $connection->query( ``` -public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server doesn't return any rows @@ -180,7 +180,7 @@ $success = $connection->execute( ``` -public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the number of affected rows by the latest INSERT/UPDATE/DELETE executed in the database system @@ -195,11 +195,11 @@ echo $connection->affectedRows(), " were deleted"; ``` -public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Closes the active connection returning success. Phalcon automatically closes and destroys active connections when the request ends -public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Escapes a value to avoid SQL injections according to the active charset in the connection @@ -210,7 +210,7 @@ $escapedStr = $connection->escapeString("some dangerous value"); ``` -public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Converts bound parameters such as :name: or ?1 into PDO bind params ? @@ -228,7 +228,7 @@ print_r( ``` -public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the insert id for the auto_increment/serial column inserted in the latest executed SQL statement @@ -253,23 +253,23 @@ $id = $connection->lastInsertId(); ``` -public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Starts a transaction in the connection -public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Rollbacks the active transaction in the connection -public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Commits the active transaction in the connection -public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the current transaction nesting level -public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Checks whether the connection is under a transaction @@ -285,43 +285,43 @@ var_dump( ``` -public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return internal PDO handler -public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return the error info, if any -public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Name of the dialect used -public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Type of database system the adapter is used for -public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL bound parameter variables -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the event manager -public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the internal event manager -public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the dialect used to produce the SQL -public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns internal dialect instance -public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the first row in a SQL query result @@ -338,7 +338,7 @@ print_r($robot); ``` -public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Dumps the complete result of a query into an array @@ -369,7 +369,7 @@ foreach($robots as $robot) { ``` -public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the n'th field of first row in a SQL query result @@ -389,7 +389,7 @@ print_r($robot); ``` -public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RDBMS SQL syntax @@ -408,7 +408,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RBDM SQL syntax @@ -429,7 +429,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax @@ -466,7 +466,7 @@ $success = $connection->update( Warning! If $whereCondition is string it not escaped. -public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax Another, more convenient syntax @@ -487,7 +487,7 @@ UPDATE `robots` SET `name` = "Astro boy" WHERE id = 101 ``` -public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Deletes data from a table using custom RBDM SQL syntax @@ -505,7 +505,7 @@ DELETE FROM `robots` WHERE `id` = 101 ``` -public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Escapes a column/table/schema name @@ -525,11 +525,11 @@ $escapedTable = $connection->escapeIdentifier( ``` -public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets a list of columns -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Appends a LIMIT clause to $sqlQuery argument @@ -540,7 +540,7 @@ echo $connection->limit("SELECT * FROM robots", 5); ``` -public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.table @@ -553,7 +553,7 @@ var_dump( ``` -public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.view @@ -566,71 +566,71 @@ var_dump( ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a FOR UPDATE clause -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a LOCK IN SHARE MODE clause -public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a table -public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table from a schema/database -public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a view -public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a view -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Modifies a table column based on a definition -public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds an index to a table -public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drop an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a primary key to a table -public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table's primary key -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a foreign key to a table -public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a foreign key from a table -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the SQL column definition from a column -public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all tables on a database @@ -643,7 +643,7 @@ print_r( ``` -public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all views on a database @@ -656,7 +656,7 @@ print_r( ``` -public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets creation options from a table @@ -669,31 +669,31 @@ print_r( ``` -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Releases given savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Rollbacks given savepoint -public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Set if nested transactions should use savepoints -public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns if nested transactions should use savepoints -public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the savepoint name to use for nested transactions -public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default identity value to be inserted in an identity column @@ -717,26 +717,26 @@ $success = $connection->insert( ``` -public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Check whether the database system requires a sequence to produce auto-numeric values -public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Return descriptor used to connect to the active database -public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets the active connection unique identifier -public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object -public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object without replace bound parameters -public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object \ No newline at end of file diff --git a/vi/api/Phalcon_Db_Column.md b/vi/api/Phalcon_Db_Column.md index ab2fdfb7a40e..fe0210a2b411 100644 --- a/vi/api/Phalcon_Db_Column.md +++ b/vi/api/Phalcon_Db_Column.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Db\\Column** -*implements* [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) +*implements* [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) Source on GitHub diff --git a/vi/api/Phalcon_Db_Dialect.md b/vi/api/Phalcon_Db_Dialect.md index 11c52ea58df4..df25f0af03ab 100644 --- a/vi/api/Phalcon_Db_Dialect.md +++ b/vi/api/Phalcon_Db_Dialect.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Db\\Dialect** -*implements* [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +*implements* [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) Source on GitHub @@ -199,86 +199,86 @@ protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $es Prepares qualified for this RDBMS -abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropTable** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropTable** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **describeIndexes** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **describeIndexes** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **tableOptions** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **tableOptions** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... \ No newline at end of file diff --git a/vi/api/Phalcon_Db_DialectInterface.md b/vi/api/Phalcon_Db_DialectInterface.md index 0bf993854d79..90ee58afb9e1 100644 --- a/vi/api/Phalcon_Db_DialectInterface.md +++ b/vi/api/Phalcon_Db_DialectInterface.md @@ -24,15 +24,15 @@ abstract public **getColumnList** (*array* $columnList) ... -abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) ... -abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) ... -abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) ... @@ -40,7 +40,7 @@ abstract public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* ... -abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) ... @@ -48,7 +48,7 @@ abstract public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* ... -abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) ... @@ -56,7 +56,7 @@ abstract public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) ... -abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) ... diff --git a/vi/api/Phalcon_Db_Dialect_Mysql.md b/vi/api/Phalcon_Db_Dialect_Mysql.md index 6178388fc739..d1a80102e14c 100644 --- a/vi/api/Phalcon_Db_Dialect_Mysql.md +++ b/vi/api/Phalcon_Db_Dialect_Mysql.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Dialect\\Mysql** -*extends* abstract class [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +*extends* abstract class [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) -*implements* [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +*implements* [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) Source on GitHub @@ -10,15 +10,15 @@ Generates database specific SQL for the MySQL RDBMS ## Methods -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Gets the column name in MySQL -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Generates SQL to add a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) Generates SQL to modify a column in a table @@ -26,7 +26,7 @@ public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnN Generates SQL to delete a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add an index to a table @@ -34,7 +34,7 @@ public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexNam Generates SQL to delete an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add the primary key to a table @@ -42,7 +42,7 @@ public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) Generates SQL to delete primary key from a table -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) Generates SQL to add an index to a table @@ -133,23 +133,23 @@ protected **_getTableOptions** (*array* $definition) Generates SQL to add the table creation options -public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Registers custom SQL functions -public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns registered functions -final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape Schema -final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape identifiers -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generates the SQL for LIMIT clause @@ -164,7 +164,7 @@ echo $sql; // SELECT * FROM robots LIMIT 10 OFFSET 50 ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a FOR UPDATE clause @@ -176,7 +176,7 @@ echo $sql; // SELECT * FROM robots FOR UPDATE ``` -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a LOCK IN SHARE MODE clause @@ -188,7 +188,7 @@ echo $sql; // SELECT * FROM robots LOCK IN SHARE MODE ``` -final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Gets a list of columns with escaped identifiers @@ -204,122 +204,122 @@ echo $dialect->getColumnList( ``` -final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transforms an intermediate representation for an expression into a database system valid expression -final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transform an intermediate representation of a schema/table into a database system valid expression -public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Builds a SELECT statement -public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports savepoints -public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports releasing savepoints. -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to create a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to release a savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to rollback a savepoint -final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve object expressions -final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve qualified expressions -final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve binary operations expressions -final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve unary operations expressions -final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve function calls -final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Lists -final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve * -final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CAST of values -final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CONVERT of values encodings -final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CASE expressions -final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a FROM clause -final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a JOINs clause -final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a WHERE clause -final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a GROUP BY clause -final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a HAVING clause -final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve an ORDER BY clause -final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a LIMIT clause -protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares column for this RDBMS -protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares table for this RDBMS -protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares qualified for this RDBMS \ No newline at end of file diff --git a/vi/api/Phalcon_Db_Dialect_Postgresql.md b/vi/api/Phalcon_Db_Dialect_Postgresql.md index 01fe5982984c..f10d03525235 100644 --- a/vi/api/Phalcon_Db_Dialect_Postgresql.md +++ b/vi/api/Phalcon_Db_Dialect_Postgresql.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Dialect\\Postgresql** -*extends* abstract class [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +*extends* abstract class [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) -*implements* [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +*implements* [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) Source on GitHub @@ -10,15 +10,15 @@ Generates database specific SQL for the PostgreSQL RDBMS ## Methods -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Gets the column name in PostgreSQL -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Generates SQL to add a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) Generates SQL to modify a column in a table @@ -26,7 +26,7 @@ public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnN Generates SQL to delete a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add an index to a table @@ -34,7 +34,7 @@ public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexNam Generates SQL to delete an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add the primary key to a table @@ -42,7 +42,7 @@ public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) Generates SQL to delete primary key from a table -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) Generates SQL to add an index to a table @@ -129,7 +129,7 @@ public **tableOptions** (*mixed* $table, [*mixed* $schema]) Generates the SQL to describe the table creation options -protected **_castDefault** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +protected **_castDefault** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) ... @@ -137,23 +137,23 @@ protected **_getTableOptions** (*array* $definition) ... -public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Registers custom SQL functions -public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns registered functions -final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape Schema -final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape identifiers -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generates the SQL for LIMIT clause @@ -168,7 +168,7 @@ echo $sql; // SELECT * FROM robots LIMIT 10 OFFSET 50 ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a FOR UPDATE clause @@ -180,7 +180,7 @@ echo $sql; // SELECT * FROM robots FOR UPDATE ``` -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a LOCK IN SHARE MODE clause @@ -192,7 +192,7 @@ echo $sql; // SELECT * FROM robots LOCK IN SHARE MODE ``` -final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Gets a list of columns with escaped identifiers @@ -208,122 +208,122 @@ echo $dialect->getColumnList( ``` -final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transforms an intermediate representation for an expression into a database system valid expression -final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transform an intermediate representation of a schema/table into a database system valid expression -public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Builds a SELECT statement -public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports savepoints -public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports releasing savepoints. -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to create a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to release a savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to rollback a savepoint -final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve object expressions -final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve qualified expressions -final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve binary operations expressions -final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve unary operations expressions -final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve function calls -final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Lists -final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve * -final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CAST of values -final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CONVERT of values encodings -final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CASE expressions -final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a FROM clause -final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a JOINs clause -final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a WHERE clause -final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a GROUP BY clause -final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a HAVING clause -final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve an ORDER BY clause -final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a LIMIT clause -protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares column for this RDBMS -protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares table for this RDBMS -protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares qualified for this RDBMS \ No newline at end of file diff --git a/vi/api/Phalcon_Db_Dialect_Sqlite.md b/vi/api/Phalcon_Db_Dialect_Sqlite.md index 7b38162151a0..dabec6d39e49 100644 --- a/vi/api/Phalcon_Db_Dialect_Sqlite.md +++ b/vi/api/Phalcon_Db_Dialect_Sqlite.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Dialect\\Sqlite** -*extends* abstract class [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +*extends* abstract class [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) -*implements* [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +*implements* [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) Source on GitHub @@ -10,15 +10,15 @@ Generates database specific SQL for the Sqlite RDBMS ## Methods -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Gets the column name in SQLite -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Generates SQL to add a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) Generates SQL to modify a column in a table @@ -26,7 +26,7 @@ public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnN Generates SQL to delete a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add an index to a table @@ -34,7 +34,7 @@ public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexNam Generates SQL to delete an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add the primary key to a table @@ -42,7 +42,7 @@ public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) Generates SQL to delete primary key from a table -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) Generates SQL to add an index to a table @@ -146,23 +146,23 @@ public **tableOptions** (*mixed* $table, [*mixed* $schema]) Generates the SQL to describe the table creation options -public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Registers custom SQL functions -public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns registered functions -final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape Schema -final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape identifiers -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generates the SQL for LIMIT clause @@ -177,7 +177,7 @@ echo $sql; // SELECT * FROM robots LIMIT 10 OFFSET 50 ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a FOR UPDATE clause @@ -189,7 +189,7 @@ echo $sql; // SELECT * FROM robots FOR UPDATE ``` -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a LOCK IN SHARE MODE clause @@ -201,7 +201,7 @@ echo $sql; // SELECT * FROM robots LOCK IN SHARE MODE ``` -final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Gets a list of columns with escaped identifiers @@ -217,122 +217,122 @@ echo $dialect->getColumnList( ``` -final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transforms an intermediate representation for an expression into a database system valid expression -final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transform an intermediate representation of a schema/table into a database system valid expression -public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Builds a SELECT statement -public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports savepoints -public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports releasing savepoints. -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to create a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to release a savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to rollback a savepoint -final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve object expressions -final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve qualified expressions -final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve binary operations expressions -final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve unary operations expressions -final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve function calls -final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Lists -final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve * -final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CAST of values -final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CONVERT of values encodings -final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CASE expressions -final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a FROM clause -final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a JOINs clause -final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a WHERE clause -final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a GROUP BY clause -final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a HAVING clause -final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve an ORDER BY clause -final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a LIMIT clause -protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares column for this RDBMS -protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares table for this RDBMS -protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares qualified for this RDBMS \ No newline at end of file diff --git a/vi/api/Phalcon_Db_Exception.md b/vi/api/Phalcon_Db_Exception.md index 839c2d00fbf8..00160179b065 100644 --- a/vi/api/Phalcon_Db_Exception.md +++ b/vi/api/Phalcon_Db_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Db\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/vi/api/Phalcon_Db_Index.md b/vi/api/Phalcon_Db_Index.md index 60a5b41f764f..9ca94ad0e146 100644 --- a/vi/api/Phalcon_Db_Index.md +++ b/vi/api/Phalcon_Db_Index.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Db\\Index** -*implements* [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) +*implements* [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) Source on GitHub diff --git a/vi/api/Phalcon_Db_Profiler.md b/vi/api/Phalcon_Db_Profiler.md index 05a913cb9c2c..1d6dde6d6e69 100644 --- a/vi/api/Phalcon_Db_Profiler.md +++ b/vi/api/Phalcon_Db_Profiler.md @@ -31,7 +31,7 @@ echo "Total Elapsed Time: ", $profile->getTotalElapsedSeconds(), "\n"; ## Methods -public [Phalcon\Db\Profiler](/en/3.1.2/api/Phalcon_Db_Profiler) **startProfile** (*string* $sqlStatement, [*mixed* $sqlVariables], [*mixed* $sqlBindTypes]) +public [Phalcon\Db\Profiler](/en/3.2/api/Phalcon_Db_Profiler) **startProfile** (*string* $sqlStatement, [*mixed* $sqlVariables], [*mixed* $sqlBindTypes]) Starts the profile of a SQL sentence diff --git a/vi/api/Phalcon_Db_Reference.md b/vi/api/Phalcon_Db_Reference.md index 30ac1a686521..2e83e14de226 100644 --- a/vi/api/Phalcon_Db_Reference.md +++ b/vi/api/Phalcon_Db_Reference.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Db\\Reference** -*implements* [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) +*implements* [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) Source on GitHub diff --git a/vi/api/Phalcon_Db_Result_Pdo.md b/vi/api/Phalcon_Db_Result_Pdo.md index 2e053d67ae6f..91808dece71f 100644 --- a/vi/api/Phalcon_Db_Result_Pdo.md +++ b/vi/api/Phalcon_Db_Result_Pdo.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Db\\Result\\Pdo** -*implements* [Phalcon\Db\ResultInterface](/en/3.1.2/api/Phalcon_Db_ResultInterface) +*implements* [Phalcon\Db\ResultInterface](/en/3.2/api/Phalcon_Db_ResultInterface) Source on GitHub @@ -23,7 +23,7 @@ while ($robot = $result->fetchArray()) { ## Methods -public **__construct** ([Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) $connection, [PDOStatement](http://php.net/manual/en/class.pdostatement.php) $result, [*string* $sqlStatement], [*array* $bindParams], [*array* $bindTypes]) +public **__construct** ([Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) $connection, [PDOStatement](http://php.net/manual/en/class.pdostatement.php) $result, [*string* $sqlStatement], [*array* $bindParams], [*array* $bindTypes]) Phalcon\\Db\\Result\\Pdo constructor diff --git a/zh/api/Phalcon_Acl_Adapter.md b/zh/api/Phalcon_Acl_Adapter.md index 9f86a2a2a142..1696a50b6e15 100644 --- a/zh/api/Phalcon_Acl_Adapter.md +++ b/zh/api/Phalcon_Acl_Adapter.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Acl\\Adapter** -*implements* [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -20,7 +20,7 @@ public **getActiveAccess** () Active access which the list is checking if some role can access it -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) Sets the events manager @@ -36,58 +36,58 @@ public **getDefaultAction** () Returns the default ACL access level -abstract public **setNoArgumentsDefaultAction** (*mixed* $defaultAccess) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **setNoArgumentsDefaultAction** (*mixed* $defaultAccess) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **getNoArgumentsDefaultAction** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **getNoArgumentsDefaultAction** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **addRole** (*mixed* $role, [*mixed* $accessInherits]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **addRole** (*mixed* $role, [*mixed* $accessInherits]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **addInherit** (*mixed* $roleName, *mixed* $roleToInherit) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **addInherit** (*mixed* $roleName, *mixed* $roleToInherit) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **isRole** (*mixed* $roleName) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **isRole** (*mixed* $roleName) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **isResource** (*mixed* $resourceName) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **isResource** (*mixed* $resourceName) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **addResource** (*mixed* $resourceObject, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **addResource** (*mixed* $resourceObject, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **addResourceAccess** (*mixed* $resourceName, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **addResourceAccess** (*mixed* $resourceName, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **dropResourceAccess** (*mixed* $resourceName, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **dropResourceAccess** (*mixed* $resourceName, *mixed* $accessList) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **allow** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*mixed* $func]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **allow** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*mixed* $func]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **deny** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*mixed* $func]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **deny** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*mixed* $func]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **isAllowed** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*array* $parameters]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **isAllowed** (*mixed* $roleName, *mixed* $resourceName, *mixed* $access, [*array* $parameters]) inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **getRoles** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **getRoles** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... -abstract public **getResources** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +abstract public **getResources** () inherited from [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) ... \ No newline at end of file diff --git a/zh/api/Phalcon_Acl_Adapter_Memory.md b/zh/api/Phalcon_Acl_Adapter_Memory.md index e9ea95ccda45..889751c95b98 100644 --- a/zh/api/Phalcon_Acl_Adapter_Memory.md +++ b/zh/api/Phalcon_Acl_Adapter_Memory.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Acl\\Adapter\\Memory** -*extends* abstract class [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +*extends* abstract class [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) -*implements* [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Acl\AdapterInterface](/en/3.1.2/api/Phalcon_Acl_AdapterInterface) +*implements* [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Acl\AdapterInterface](/en/3.2/api/Phalcon_Acl_AdapterInterface) Source on GitHub @@ -105,7 +105,7 @@ public **isResource** (*mixed* $resourceName) Check whether resource exist in the resources list -public **addResource** ([Phalcon\Acl\Resource](/en/3.1.2/api/Phalcon_Acl_Resource) | *string* $resourceValue, *array* | *string* $accessList) +public **addResource** ([Phalcon\Acl\Resource](/en/3.2/api/Phalcon_Acl_Resource) | *string* $resourceValue, *array* | *string* $accessList) Adds a resource to the ACL list Access names can be a particular action, by example search, update, delete, etc or a list of them Example: @@ -224,30 +224,30 @@ public **getResources** () Return an array with every resource registered in the list -public **getActiveRole** () inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **getActiveRole** () inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Role which the list is checking if it's allowed to certain resource/access -public **getActiveResource** () inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **getActiveResource** () inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Resource which the list is checking if some role can access it -public **getActiveAccess** () inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **getActiveAccess** () inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Active access which the list is checking if some role can access it -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Sets the events manager -public **getEventsManager** () inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **getEventsManager** () inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Returns the internal event manager -public **setDefaultAction** (*mixed* $defaultAccess) inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **setDefaultAction** (*mixed* $defaultAccess) inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Sets the default access level (Phalcon\\Acl::ALLOW or Phalcon\\Acl::DENY) -public **getDefaultAction** () inherited from [Phalcon\Acl\Adapter](/en/3.1.2/api/Phalcon_Acl_Adapter) +public **getDefaultAction** () inherited from [Phalcon\Acl\Adapter](/en/3.2/api/Phalcon_Acl_Adapter) Returns the default ACL access level \ No newline at end of file diff --git a/zh/api/Phalcon_Acl_Exception.md b/zh/api/Phalcon_Acl_Exception.md index 153094579c30..9c1b44ab7b5d 100644 --- a/zh/api/Phalcon_Acl_Exception.md +++ b/zh/api/Phalcon_Acl_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Acl\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/zh/api/Phalcon_Acl_Resource.md b/zh/api/Phalcon_Acl_Resource.md index 1663e1ad2e93..25ac2d3e792b 100644 --- a/zh/api/Phalcon_Acl_Resource.md +++ b/zh/api/Phalcon_Acl_Resource.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Acl\\Resource** -*implements* [Phalcon\Acl\ResourceInterface](/en/3.1.2/api/Phalcon_Acl_ResourceInterface) +*implements* [Phalcon\Acl\ResourceInterface](/en/3.2/api/Phalcon_Acl_ResourceInterface) Source on GitHub diff --git a/zh/api/Phalcon_Acl_Role.md b/zh/api/Phalcon_Acl_Role.md index e105183dd7f4..c8252648d6c8 100644 --- a/zh/api/Phalcon_Acl_Role.md +++ b/zh/api/Phalcon_Acl_Role.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Acl\\Role** -*implements* [Phalcon\Acl\RoleInterface](/en/3.1.2/api/Phalcon_Acl_RoleInterface) +*implements* [Phalcon\Acl\RoleInterface](/en/3.2/api/Phalcon_Acl_RoleInterface) Source on GitHub diff --git a/zh/api/Phalcon_Annotations_Adapter.md b/zh/api/Phalcon_Annotations_Adapter.md index 7a2b31fc4dc1..d42ac348bbc9 100644 --- a/zh/api/Phalcon_Annotations_Adapter.md +++ b/zh/api/Phalcon_Annotations_Adapter.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Annotations\\Adapter** -*implements* [Phalcon\Annotations\AdapterInterface](/en/3.1.2/api/Phalcon_Annotations_AdapterInterface) +*implements* [Phalcon\Annotations\AdapterInterface](/en/3.2/api/Phalcon_Annotations_AdapterInterface) Source on GitHub @@ -8,7 +8,7 @@ This is the base class for Phalcon\\Annotations adapters ## Methods -public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) +public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) Sets the annotations parser diff --git a/zh/api/Phalcon_Annotations_AdapterInterface.md b/zh/api/Phalcon_Annotations_AdapterInterface.md index a4e2c689503a..a1ff65cb01a1 100644 --- a/zh/api/Phalcon_Annotations_AdapterInterface.md +++ b/zh/api/Phalcon_Annotations_AdapterInterface.md @@ -4,7 +4,7 @@ ## Methods -abstract public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) +abstract public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) ... diff --git a/zh/api/Phalcon_Annotations_Adapter_Apc.md b/zh/api/Phalcon_Annotations_Adapter_Apc.md index 1b8a1d6d0d7d..467622a88425 100644 --- a/zh/api/Phalcon_Annotations_Adapter_Apc.md +++ b/zh/api/Phalcon_Annotations_Adapter_Apc.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Annotations\\Adapter\\Apc** -*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) -*implements* [Phalcon\Annotations\AdapterInterface](/en/3.1.2/api/Phalcon_Annotations_AdapterInterface) +*implements* [Phalcon\Annotations\AdapterInterface](/en/3.2/api/Phalcon_Annotations_AdapterInterface) Source on GitHub @@ -27,34 +27,34 @@ public **read** (*mixed* $key) Reads parsed annotations from APC -public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) $data) +public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) $data) Writes parsed annotations to APC -public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Sets the annotations parser -public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotation reader -public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Parses or retrieves all the annotations found in a class -public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific method -public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific property \ No newline at end of file diff --git a/zh/api/Phalcon_Annotations_Adapter_Files.md b/zh/api/Phalcon_Annotations_Adapter_Files.md index fcb4c23e6c2e..e4c407e5954e 100644 --- a/zh/api/Phalcon_Annotations_Adapter_Files.md +++ b/zh/api/Phalcon_Annotations_Adapter_Files.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Annotations\\Adapter\\Files** -*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) -*implements* [Phalcon\Annotations\AdapterInterface](/en/3.1.2/api/Phalcon_Annotations_AdapterInterface) +*implements* [Phalcon\Annotations\AdapterInterface](/en/3.2/api/Phalcon_Annotations_AdapterInterface) Source on GitHub @@ -27,38 +27,38 @@ public **__construct** ([*array* $options]) Phalcon\\Annotations\\Adapter\\Files constructor -public [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) **read** (*string* $key) +public [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) **read** (*string* $key) Reads parsed annotations from files -public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) $data) +public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) $data) Writes parsed annotations to files -public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Sets the annotations parser -public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotation reader -public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Parses or retrieves all the annotations found in a class -public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific method -public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific property \ No newline at end of file diff --git a/zh/api/Phalcon_Annotations_Adapter_Memory.md b/zh/api/Phalcon_Annotations_Adapter_Memory.md index 53fc2e3769c7..205f20e6b1b8 100644 --- a/zh/api/Phalcon_Annotations_Adapter_Memory.md +++ b/zh/api/Phalcon_Annotations_Adapter_Memory.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Annotations\\Adapter\\Memory** -*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) -*implements* [Phalcon\Annotations\AdapterInterface](/en/3.1.2/api/Phalcon_Annotations_AdapterInterface) +*implements* [Phalcon\Annotations\AdapterInterface](/en/3.2/api/Phalcon_Annotations_AdapterInterface) Source on GitHub @@ -14,34 +14,34 @@ public **read** (*mixed* $key) Reads parsed annotations from memory -public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) $data) +public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) $data) Writes parsed annotations to memory -public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Sets the annotations parser -public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotation reader -public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Parses or retrieves all the annotations found in a class -public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific method -public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific property \ No newline at end of file diff --git a/zh/api/Phalcon_Annotations_Adapter_Xcache.md b/zh/api/Phalcon_Annotations_Adapter_Xcache.md index 79bfa9e6b4d3..37c97e7e6b8c 100644 --- a/zh/api/Phalcon_Annotations_Adapter_Xcache.md +++ b/zh/api/Phalcon_Annotations_Adapter_Xcache.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Annotations\\Adapter\\Xcache** -*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +*extends* abstract class [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) -*implements* [Phalcon\Annotations\AdapterInterface](/en/3.1.2/api/Phalcon_Annotations_AdapterInterface) +*implements* [Phalcon\Annotations\AdapterInterface](/en/3.2/api/Phalcon_Annotations_AdapterInterface) Source on GitHub @@ -17,38 +17,38 @@ $annotations = new \Phalcon\Annotations\Adapter\Xcache(); ## Methods -public [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) **read** (*string* $key) +public [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) **read** (*string* $key) Reads parsed annotations from XCache -public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.1.2/api/Phalcon_Annotations_Reflection) $data) +public **write** (*mixed* $key, [Phalcon\Annotations\Reflection](/en/3.2/api/Phalcon_Annotations_Reflection) $data) Writes parsed annotations to XCache -public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **setReader** ([Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) $reader) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Sets the annotations parser -public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getReader** () inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotation reader -public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **get** (*string* | *object* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Parses or retrieves all the annotations found in a class -public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethods** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getMethod** (*mixed* $className, *mixed* $methodName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific method -public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperties** (*mixed* $className) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in all the class' methods -public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.1.2/api/Phalcon_Annotations_Adapter) +public **getProperty** (*mixed* $className, *mixed* $propertyName) inherited from [Phalcon\Annotations\Adapter](/en/3.2/api/Phalcon_Annotations_Adapter) Returns the annotations found in a specific property \ No newline at end of file diff --git a/zh/api/Phalcon_Annotations_Collection.md b/zh/api/Phalcon_Annotations_Collection.md index 8176520b43ea..ba33511a50fe 100644 --- a/zh/api/Phalcon_Annotations_Collection.md +++ b/zh/api/Phalcon_Annotations_Collection.md @@ -36,7 +36,7 @@ public **rewind** () Rewinds the internal iterator -public [Phalcon\Annotations\Annotation](/en/3.1.2/api/Phalcon_Annotations_Annotation) **current** () +public [Phalcon\Annotations\Annotation](/en/3.2/api/Phalcon_Annotations_Annotation) **current** () Returns the current annotation in the iterator diff --git a/zh/api/Phalcon_Annotations_Reader.md b/zh/api/Phalcon_Annotations_Reader.md index 56ca9b058cd1..4e8e513ffea9 100644 --- a/zh/api/Phalcon_Annotations_Reader.md +++ b/zh/api/Phalcon_Annotations_Reader.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Annotations\\Reader** -*implements* [Phalcon\Annotations\ReaderInterface](/en/3.1.2/api/Phalcon_Annotations_ReaderInterface) +*implements* [Phalcon\Annotations\ReaderInterface](/en/3.2/api/Phalcon_Annotations_ReaderInterface) Source on GitHub diff --git a/zh/api/Phalcon_Application.md b/zh/api/Phalcon_Application.md index e7e767824af2..5ff2b07edaf4 100644 --- a/zh/api/Phalcon_Application.md +++ b/zh/api/Phalcon_Application.md @@ -1,8 +1,8 @@ # Abstract class **Phalcon\\Application** -*extends* abstract class [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +*extends* abstract class [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) -*implements* [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface) +*implements* [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface) Source on GitHub @@ -10,9 +10,9 @@ Base class for Phalcon\\Cli\\Console and Phalcon\\Mvc\\Application. ## Methods -public **__construct** ([[Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector]) +public **__construct** ([[Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector]) -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) Sets the events manager @@ -62,14 +62,14 @@ abstract public **handle** () Handles a request -public **setDI** ([Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **setDI** ([Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Sets the dependency injector -public **getDI** () inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **getDI** () inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Returns the internal dependency injector -public **__get** (*mixed* $propertyName) inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **__get** (*mixed* $propertyName) inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Magic method __get \ No newline at end of file diff --git a/zh/api/Phalcon_Application_Exception.md b/zh/api/Phalcon_Application_Exception.md index ade9f4d1b49e..49637aa88e5e 100644 --- a/zh/api/Phalcon_Application_Exception.md +++ b/zh/api/Phalcon_Application_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Application\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/zh/api/Phalcon_Assets_Collection.md b/zh/api/Phalcon_Assets_Collection.md index 9c3e06cdb077..f6f18d5a1d60 100644 --- a/zh/api/Phalcon_Assets_Collection.md +++ b/zh/api/Phalcon_Assets_Collection.md @@ -56,14 +56,35 @@ public **getSourcePath** () ... -public **add** ([Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) $resource) +public **__construct** () + +Phalcon\\Assets\\Collection constructor + +public **add** ([Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) $resource) Adds a resource to the collection -public **addInline** ([Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) $code) +public **addInline** ([Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) $code) Adds an inline code to the collection +public **has** ([Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) $resource) + +Checks this the resource is added to the collection. + +```php +has($resource); // true + +``` + public **addCss** (*mixed* $path, [*mixed* $local], [*mixed* $filter], [*mixed* $attributes]) Adds a CSS resource to the collection @@ -72,7 +93,7 @@ public **addInlineCss** (*mixed* $content, [*mixed* $filter], [*mixed* $attribut Adds an inline CSS to the collection -public [Phalcon\Assets\Collection](/en/3.1.2/api/Phalcon_Assets_Collection) **addJs** (*string* $path, [*boolean* $local], [*boolean* $filter], [*array* $attributes]) +public [Phalcon\Assets\Collection](/en/3.2/api/Phalcon_Assets_Collection) **addJs** (*string* $path, [*boolean* $local], [*boolean* $filter], [*array* $attributes]) Adds a javascript resource to the collection @@ -144,6 +165,10 @@ public **getRealTargetPath** (*mixed* $basePath) Returns the complete location where the joined/filtered collection must be written -public **addFilter** ([Phalcon\Assets\FilterInterface](/en/3.1.2/api/Phalcon_Assets_FilterInterface) $filter) +public **addFilter** ([Phalcon\Assets\FilterInterface](/en/3.2/api/Phalcon_Assets_FilterInterface) $filter) + +Adds a filter to the collection + +final protected **addResource** ([Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) $resource) -Adds a filter to the collection \ No newline at end of file +Adds a resource or inline-code to the collection \ No newline at end of file diff --git a/zh/api/Phalcon_Assets_Exception.md b/zh/api/Phalcon_Assets_Exception.md index bf3c9a57c01a..4c8c0516fd94 100644 --- a/zh/api/Phalcon_Assets_Exception.md +++ b/zh/api/Phalcon_Assets_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Assets\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/zh/api/Phalcon_Assets_Filters_Cssmin.md b/zh/api/Phalcon_Assets_Filters_Cssmin.md index 75e2781f79a0..a807a59e4880 100644 --- a/zh/api/Phalcon_Assets_Filters_Cssmin.md +++ b/zh/api/Phalcon_Assets_Filters_Cssmin.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Assets\\Filters\\Cssmin** -*implements* [Phalcon\Assets\FilterInterface](/en/3.1.2/api/Phalcon_Assets_FilterInterface) +*implements* [Phalcon\Assets\FilterInterface](/en/3.2/api/Phalcon_Assets_FilterInterface) Source on GitHub diff --git a/zh/api/Phalcon_Assets_Filters_Jsmin.md b/zh/api/Phalcon_Assets_Filters_Jsmin.md index 2ee9aa7f5390..2bfe2b4851a4 100644 --- a/zh/api/Phalcon_Assets_Filters_Jsmin.md +++ b/zh/api/Phalcon_Assets_Filters_Jsmin.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Assets\\Filters\\Jsmin** -*implements* [Phalcon\Assets\FilterInterface](/en/3.1.2/api/Phalcon_Assets_FilterInterface) +*implements* [Phalcon\Assets\FilterInterface](/en/3.2/api/Phalcon_Assets_FilterInterface) Source on GitHub diff --git a/zh/api/Phalcon_Assets_Filters_None.md b/zh/api/Phalcon_Assets_Filters_None.md index 93c79dd941f6..60e59aac09de 100644 --- a/zh/api/Phalcon_Assets_Filters_None.md +++ b/zh/api/Phalcon_Assets_Filters_None.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Assets\\Filters\\None** -*implements* [Phalcon\Assets\FilterInterface](/en/3.1.2/api/Phalcon_Assets_FilterInterface) +*implements* [Phalcon\Assets\FilterInterface](/en/3.2/api/Phalcon_Assets_FilterInterface) Source on GitHub diff --git a/zh/api/Phalcon_Assets_Inline.md b/zh/api/Phalcon_Assets_Inline.md index 05a1f622aa48..e5c3ef631536 100644 --- a/zh/api/Phalcon_Assets_Inline.md +++ b/zh/api/Phalcon_Assets_Inline.md @@ -1,5 +1,7 @@ # Class **Phalcon\\Assets\\Inline** +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) + Source on GitHub Represents an inline asset @@ -43,4 +45,8 @@ Sets if the resource must be filtered or not public **setAttributes** (*array* $attributes) -Sets extra HTML attributes \ No newline at end of file +Sets extra HTML attributes + +public **getResourceKey** () + +Gets the resource's key. \ No newline at end of file diff --git a/zh/api/Phalcon_Assets_Inline_Css.md b/zh/api/Phalcon_Assets_Inline_Css.md index c4d7a9d0e919..aad74b78beca 100644 --- a/zh/api/Phalcon_Assets_Inline_Css.md +++ b/zh/api/Phalcon_Assets_Inline_Css.md @@ -1,6 +1,8 @@ # Class **Phalcon\\Assets\\Inline\\Css** -*extends* class [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +*extends* class [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) + +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) Source on GitHub @@ -10,30 +12,34 @@ Represents an inlined CSS public **__construct** (*string* $content, [*boolean* $filter], [*array* $attributes]) -public **getType** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getType** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getContent** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getContent** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getFilter** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getFilter** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getAttributes** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getAttributes** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) Sets the inline's type -public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) Sets if the resource must be filtered or not -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) + +Sets extra HTML attributes + +public **getResourceKey** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) -Sets extra HTML attributes \ No newline at end of file +Gets the resource's key. \ No newline at end of file diff --git a/zh/api/Phalcon_Assets_Inline_Js.md b/zh/api/Phalcon_Assets_Inline_Js.md index 27d57246d817..1cce336b4116 100644 --- a/zh/api/Phalcon_Assets_Inline_Js.md +++ b/zh/api/Phalcon_Assets_Inline_Js.md @@ -1,6 +1,8 @@ # Class **Phalcon\\Assets\\Inline\\Js** -*extends* class [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +*extends* class [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) + +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) Source on GitHub @@ -10,30 +12,34 @@ Represents an inline Javascript public **__construct** (*string* $content, [*boolean* $filter], [*array* $attributes]) -public **getType** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getType** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getContent** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getContent** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getFilter** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getFilter** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **getAttributes** () inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **getAttributes** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) ... -public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) Sets the inline's type -public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) Sets if the resource must be filtered or not -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) + +Sets extra HTML attributes + +public **getResourceKey** () inherited from [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) -Sets extra HTML attributes \ No newline at end of file +Gets the resource's key. \ No newline at end of file diff --git a/zh/api/Phalcon_Assets_Manager.md b/zh/api/Phalcon_Assets_Manager.md index 55ab07f19201..13ecabf4ff9c 100644 --- a/zh/api/Phalcon_Assets_Manager.md +++ b/zh/api/Phalcon_Assets_Manager.md @@ -52,7 +52,7 @@ public **addInlineJs** (*mixed* $content, [*mixed* $filter], [*mixed* $attribute Adds an inline javascript to the 'js' collection -public **addResourceByType** (*mixed* $type, [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) $resource) +public **addResourceByType** (*mixed* $type, [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) $resource) Adds a resource by its type @@ -65,11 +65,11 @@ $assets->addResourceByType("css", ``` -public **addInlineCodeByType** (*mixed* $type, [Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) $code) +public **addInlineCodeByType** (*mixed* $type, [Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) $code) Adds an inline code by its type -public **addResource** ([Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) $resource) +public **addResource** ([Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) $resource) Adds a raw resource to the manager @@ -82,11 +82,11 @@ $assets->addResource( ``` -public **addInlineCode** ([Phalcon\Assets\Inline](/en/3.1.2/api/Phalcon_Assets_Inline) $code) +public **addInlineCode** ([Phalcon\Assets\Inline](/en/3.2/api/Phalcon_Assets_Inline) $code) Adds a raw inline code to the manager -public **set** (*mixed* $id, [Phalcon\Assets\Collection](/en/3.1.2/api/Phalcon_Assets_Collection) $collection) +public **set** (*mixed* $id, [Phalcon\Assets\Collection](/en/3.2/api/Phalcon_Assets_Collection) $collection) Sets a collection in the Assets Manager @@ -99,7 +99,7 @@ $assets->set("js", $collection); public **get** (*mixed* $id) -Returns a collection by its id +Returns a collection by its id. ```php exists("jsHeader")) { + // \Phalcon\Assets\Collection + $collection = $assets->get("jsHeader"); +} + +``` \ No newline at end of file diff --git a/zh/api/Phalcon_Assets_Resource.md b/zh/api/Phalcon_Assets_Resource.md index 9718061c348e..d67dc71b7929 100644 --- a/zh/api/Phalcon_Assets_Resource.md +++ b/zh/api/Phalcon_Assets_Resource.md @@ -1,5 +1,7 @@ # Class **Phalcon\\Assets\\Resource** +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) + Source on GitHub Represents an asset resource @@ -85,4 +87,8 @@ Returns the complete location where the resource is located public **getRealTargetPath** ([*mixed* $basePath]) -Returns the complete location where the resource must be written \ No newline at end of file +Returns the complete location where the resource must be written + +public **getResourceKey** () + +Gets the resource's key. \ No newline at end of file diff --git a/zh/api/Phalcon_Assets_Resource_Css.md b/zh/api/Phalcon_Assets_Resource_Css.md index 9376a4de5f6d..11c938e391ca 100644 --- a/zh/api/Phalcon_Assets_Resource_Css.md +++ b/zh/api/Phalcon_Assets_Resource_Css.md @@ -1,6 +1,8 @@ # Class **Phalcon\\Assets\\Resource\\Css** -*extends* class [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +*extends* class [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) + +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) Source on GitHub @@ -10,72 +12,76 @@ Represents CSS resources public **__construct** (*string* $path, [*boolean* $local], [*boolean* $filter], [*array* $attributes]) -public **getType** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getType** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getPath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getPath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getLocal** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getLocal** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getFilter** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getFilter** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getAttributes** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getAttributes** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getSourcePath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getSourcePath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **getTargetPath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getTargetPath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **getTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's type -public **setPath** (*mixed* $path) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setPath** (*mixed* $path) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's path -public **setLocal** (*mixed* $local) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setLocal** (*mixed* $local) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets if the resource is local or external -public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets if the resource must be filtered or not -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets extra HTML attributes -public **setTargetUri** (*mixed* $targetUri) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setTargetUri** (*mixed* $targetUri) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets a target uri for the generated HTML -public **setSourcePath** (*mixed* $sourcePath) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setSourcePath** (*mixed* $sourcePath) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's source path -public **setTargetPath** (*mixed* $targetPath) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setTargetPath** (*mixed* $targetPath) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's target path -public **getContent** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getContent** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the content of the resource as an string Optionally a base path where the resource is located can be set -public **getRealTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the real target uri for the generated HTML -public **getRealSourcePath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealSourcePath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the complete location where the resource is located -public **getRealTargetPath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealTargetPath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) + +Returns the complete location where the resource must be written + +public **getResourceKey** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -Returns the complete location where the resource must be written \ No newline at end of file +Gets the resource's key. \ No newline at end of file diff --git a/zh/api/Phalcon_Assets_Resource_Js.md b/zh/api/Phalcon_Assets_Resource_Js.md index a4c132ff1ed1..2acc4d239b9d 100644 --- a/zh/api/Phalcon_Assets_Resource_Js.md +++ b/zh/api/Phalcon_Assets_Resource_Js.md @@ -1,6 +1,8 @@ # Class **Phalcon\\Assets\\Resource\\Js** -*extends* class [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +*extends* class [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) + +*implements* [Phalcon\Assets\ResourceInterface](/en/3.2/api/Phalcon_Assets_ResourceInterface) Source on GitHub @@ -10,72 +12,76 @@ Represents Javascript resources public **__construct** (*string* $path, [*boolean* $local], [*boolean* $filter], [*array* $attributes]) -public **getType** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getType** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getPath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getPath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getLocal** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getLocal** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getFilter** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getFilter** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getAttributes** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getAttributes** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -public **getSourcePath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getSourcePath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **getTargetPath** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getTargetPath** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **getTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) ... -public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setType** (*mixed* $type) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's type -public **setPath** (*mixed* $path) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setPath** (*mixed* $path) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's path -public **setLocal** (*mixed* $local) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setLocal** (*mixed* $local) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets if the resource is local or external -public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setFilter** (*mixed* $filter) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets if the resource must be filtered or not -public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setAttributes** (*array* $attributes) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets extra HTML attributes -public **setTargetUri** (*mixed* $targetUri) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setTargetUri** (*mixed* $targetUri) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets a target uri for the generated HTML -public **setSourcePath** (*mixed* $sourcePath) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setSourcePath** (*mixed* $sourcePath) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's source path -public **setTargetPath** (*mixed* $targetPath) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **setTargetPath** (*mixed* $targetPath) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Sets the resource's target path -public **getContent** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getContent** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the content of the resource as an string Optionally a base path where the resource is located can be set -public **getRealTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealTargetUri** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the real target uri for the generated HTML -public **getRealSourcePath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealSourcePath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) Returns the complete location where the resource is located -public **getRealTargetPath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.1.2/api/Phalcon_Assets_Resource) +public **getRealTargetPath** ([*mixed* $basePath]) inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) + +Returns the complete location where the resource must be written + +public **getResourceKey** () inherited from [Phalcon\Assets\Resource](/en/3.2/api/Phalcon_Assets_Resource) -Returns the complete location where the resource must be written \ No newline at end of file +Gets the resource's key. \ No newline at end of file diff --git a/zh/api/Phalcon_Cache_Backend.md b/zh/api/Phalcon_Cache_Backend.md index f81ba2e57820..6e8b2e14bbff 100644 --- a/zh/api/Phalcon_Cache_Backend.md +++ b/zh/api/Phalcon_Cache_Backend.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Cache\\Backend** -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -32,7 +32,7 @@ public **setLastKey** (*mixed* $lastKey) ... -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend constructor @@ -56,22 +56,22 @@ public *int* **getLifetime** () Gets the last lifetime set -abstract public **get** (*mixed* $keyName, [*mixed* $lifetime]) inherited from [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +abstract public **get** (*mixed* $keyName, [*mixed* $lifetime]) inherited from [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) ... -abstract public **save** ([*mixed* $keyName], [*mixed* $content], [*mixed* $lifetime], [*mixed* $stopBuffer]) inherited from [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +abstract public **save** ([*mixed* $keyName], [*mixed* $content], [*mixed* $lifetime], [*mixed* $stopBuffer]) inherited from [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) ... -abstract public **delete** (*mixed* $keyName) inherited from [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +abstract public **delete** (*mixed* $keyName) inherited from [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) ... -abstract public **queryKeys** ([*mixed* $prefix]) inherited from [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +abstract public **queryKeys** ([*mixed* $prefix]) inherited from [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) ... -abstract public **exists** ([*mixed* $keyName], [*mixed* $lifetime]) inherited from [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +abstract public **exists** ([*mixed* $keyName], [*mixed* $lifetime]) inherited from [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) ... \ No newline at end of file diff --git a/zh/api/Phalcon_Cache_Backend_Apc.md b/zh/api/Phalcon_Cache_Backend_Apc.md index 6f08c1fef4b7..92b01c89d25a 100644 --- a/zh/api/Phalcon_Cache_Backend_Apc.md +++ b/zh/api/Phalcon_Cache_Backend_Apc.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Apc** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -94,50 +94,50 @@ $cache->flush(); ``` -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Phalcon\\Cache\\Backend constructor -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/zh/api/Phalcon_Cache_Backend_File.md b/zh/api/Phalcon_Cache_Backend_File.md index 78c3aff0e84c..3ea73b705889 100644 --- a/zh/api/Phalcon_Cache_Backend_File.md +++ b/zh/api/Phalcon_Cache_Backend_File.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\File** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -44,7 +44,7 @@ if ($content === null) { ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, *array* $options) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, *array* $options) Phalcon\\Cache\\Backend\\File constructor @@ -98,46 +98,46 @@ public **useSafeKey** (*mixed* $useSafeKey) Set whether to use the safekey or not -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/zh/api/Phalcon_Cache_Backend_Libmemcached.md b/zh/api/Phalcon_Cache_Backend_Libmemcached.md index 88948897b300..9ec4b031d82e 100644 --- a/zh/api/Phalcon_Cache_Backend_Libmemcached.md +++ b/zh/api/Phalcon_Cache_Backend_Libmemcached.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Libmemcached** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -49,7 +49,7 @@ $data = $cache->get("my-data"); ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend\\Memcache constructor @@ -116,46 +116,46 @@ $cache->flush(); ``` -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/zh/api/Phalcon_Cache_Backend_Memcache.md b/zh/api/Phalcon_Cache_Backend_Memcache.md index 7310592149b1..6f2575ca5c8d 100644 --- a/zh/api/Phalcon_Cache_Backend_Memcache.md +++ b/zh/api/Phalcon_Cache_Backend_Memcache.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Memcache** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -43,7 +43,7 @@ $data = $cache->get("my-data"); ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend\\Memcache constructor @@ -97,46 +97,46 @@ public **flush** () Immediately invalidates all existing items. -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/zh/api/Phalcon_Cache_Backend_Memory.md b/zh/api/Phalcon_Cache_Backend_Memory.md index 06a4216cf7ac..a269432ab9f3 100644 --- a/zh/api/Phalcon_Cache_Backend_Memory.md +++ b/zh/api/Phalcon_Cache_Backend_Memory.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Memory** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface), [Serializable](http://php.net/manual/en/class.serializable.php) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface), [Serializable](http://php.net/manual/en/class.serializable.php) Source on GitHub @@ -79,50 +79,50 @@ public **unserialize** (*mixed* $data) Required for interface \\Serializable -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Phalcon\\Cache\\Backend constructor -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/zh/api/Phalcon_Cache_Backend_Mongo.md b/zh/api/Phalcon_Cache_Backend_Mongo.md index 9ad0f67b530c..6421cd0f4f29 100644 --- a/zh/api/Phalcon_Cache_Backend_Mongo.md +++ b/zh/api/Phalcon_Cache_Backend_Mongo.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Mongo** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -44,7 +44,7 @@ $data = $cache->get("my-data"); ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend\\Mongo constructor @@ -98,46 +98,46 @@ public **flush** () Immediately invalidates all existing items. -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/zh/api/Phalcon_Cache_Backend_Redis.md b/zh/api/Phalcon_Cache_Backend_Redis.md index 123bf025f2af..a3509251d509 100644 --- a/zh/api/Phalcon_Cache_Backend_Redis.md +++ b/zh/api/Phalcon_Cache_Backend_Redis.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Redis** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -45,7 +45,7 @@ $data = $cache->get("my-data"); ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend\\Redis constructor @@ -105,46 +105,46 @@ public **flush** () Immediately invalidates all existing items. -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/zh/api/Phalcon_Cache_Backend_Xcache.md b/zh/api/Phalcon_Cache_Backend_Xcache.md index b91e75b19c79..7dac8215d5f3 100644 --- a/zh/api/Phalcon_Cache_Backend_Xcache.md +++ b/zh/api/Phalcon_Cache_Backend_Xcache.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Backend\\Xcache** -*extends* abstract class [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +*extends* abstract class [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) -*implements* [Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) +*implements* [Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) Source on GitHub @@ -38,7 +38,7 @@ $data = $cache->get("my-data"); ## Methods -public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) +public **__construct** ([Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) $frontend, [*array* $options]) Phalcon\\Cache\\Backend\\Xcache constructor @@ -84,46 +84,46 @@ public **flush** () Immediately invalidates all existing items. -public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getFrontend** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setFrontend** (*mixed* $frontend) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getOptions** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setOptions** (*mixed* $options) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **getLastKey** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **setLastKey** (*mixed* $lastKey) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) ... -public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *mixed* **start** (*int* | *string* $keyName, [*int* $lifetime]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Starts a cache. The keyname allows to identify the created fragment -public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **stop** ([*mixed* $stopBuffer]) inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Stops the frontend without store any cached content -public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isFresh** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the last cache is fresh or cached -public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public **isStarted** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Checks whether the cache has starting buffering or not -public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.1.2/api/Phalcon_Cache_Backend) +public *int* **getLifetime** () inherited from [Phalcon\Cache\Backend](/en/3.2/api/Phalcon_Cache_Backend) Gets the last lifetime set \ No newline at end of file diff --git a/zh/api/Phalcon_Cache_Exception.md b/zh/api/Phalcon_Cache_Exception.md index cbb05a3a76e4..87f2372e7864 100644 --- a/zh/api/Phalcon_Cache_Exception.md +++ b/zh/api/Phalcon_Cache_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/zh/api/Phalcon_Cache_Frontend_Base64.md b/zh/api/Phalcon_Cache_Frontend_Base64.md index 92f36996b4b7..473895a88aa8 100644 --- a/zh/api/Phalcon_Cache_Frontend_Base64.md +++ b/zh/api/Phalcon_Cache_Frontend_Base64.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Frontend\\Base64** -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/zh/api/Phalcon_Cache_Frontend_Data.md b/zh/api/Phalcon_Cache_Frontend_Data.md index f46469ab7410..1f249be7103c 100644 --- a/zh/api/Phalcon_Cache_Frontend_Data.md +++ b/zh/api/Phalcon_Cache_Frontend_Data.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Frontend\\Data** -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/zh/api/Phalcon_Cache_Frontend_Igbinary.md b/zh/api/Phalcon_Cache_Frontend_Igbinary.md index 1460a42ce867..714a96bb4de1 100644 --- a/zh/api/Phalcon_Cache_Frontend_Igbinary.md +++ b/zh/api/Phalcon_Cache_Frontend_Igbinary.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Frontend\\Igbinary** -*extends* class [Phalcon\Cache\Frontend\Data](/en/3.1.2/api/Phalcon_Cache_Frontend_Data) +*extends* class [Phalcon\Cache\Frontend\Data](/en/3.2/api/Phalcon_Cache_Frontend_Data) -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/zh/api/Phalcon_Cache_Frontend_Json.md b/zh/api/Phalcon_Cache_Frontend_Json.md index 64a296ca976f..bfe39cdc53c4 100644 --- a/zh/api/Phalcon_Cache_Frontend_Json.md +++ b/zh/api/Phalcon_Cache_Frontend_Json.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Frontend\\Json** -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/zh/api/Phalcon_Cache_Frontend_Msgpack.md b/zh/api/Phalcon_Cache_Frontend_Msgpack.md index f77a99a21168..857b40d4bbdc 100644 --- a/zh/api/Phalcon_Cache_Frontend_Msgpack.md +++ b/zh/api/Phalcon_Cache_Frontend_Msgpack.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cache\\Frontend\\Msgpack** -*extends* class [Phalcon\Cache\Frontend\Data](/en/3.1.2/api/Phalcon_Cache_Frontend_Data) +*extends* class [Phalcon\Cache\Frontend\Data](/en/3.2/api/Phalcon_Cache_Frontend_Data) -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/zh/api/Phalcon_Cache_Frontend_None.md b/zh/api/Phalcon_Cache_Frontend_None.md index 521fcd02f344..bdc0af2d4135 100644 --- a/zh/api/Phalcon_Cache_Frontend_None.md +++ b/zh/api/Phalcon_Cache_Frontend_None.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Frontend\\None** -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/zh/api/Phalcon_Cache_Frontend_Output.md b/zh/api/Phalcon_Cache_Frontend_Output.md index 8421c02f1276..c6a0543703d6 100644 --- a/zh/api/Phalcon_Cache_Frontend_Output.md +++ b/zh/api/Phalcon_Cache_Frontend_Output.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cache\\Frontend\\Output** -*implements* [Phalcon\Cache\FrontendInterface](/en/3.1.2/api/Phalcon_Cache_FrontendInterface) +*implements* [Phalcon\Cache\FrontendInterface](/en/3.2/api/Phalcon_Cache_FrontendInterface) Source on GitHub diff --git a/zh/api/Phalcon_Cache_Multiple.md b/zh/api/Phalcon_Cache_Multiple.md index bbfa61a13274..1d9fd1365aa9 100644 --- a/zh/api/Phalcon_Cache_Multiple.md +++ b/zh/api/Phalcon_Cache_Multiple.md @@ -65,11 +65,11 @@ $cache->save("my-key", $data); ## Methods -public **__construct** ([[Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface[]) $backends]) +public **__construct** ([[Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface[]) $backends]) Phalcon\\Cache\\Multiple constructor -public **push** ([Phalcon\Cache\BackendInterface](/en/3.1.2/api/Phalcon_Cache_BackendInterface) $backend) +public **push** ([Phalcon\Cache\BackendInterface](/en/3.2/api/Phalcon_Cache_BackendInterface) $backend) Adds a backend diff --git a/zh/api/Phalcon_Cli_Console.md b/zh/api/Phalcon_Cli_Console.md index c769b7ad7659..f0337bf3f1ec 100644 --- a/zh/api/Phalcon_Cli_Console.md +++ b/zh/api/Phalcon_Cli_Console.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cli\\Console** -*extends* abstract class [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +*extends* abstract class [Phalcon\Application](/en/3.2/api/Phalcon_Application) -*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -36,19 +36,19 @@ public **setArgument** ([*array* $arguments], [*mixed* $str], [*mixed* $shift]) Set an specific argument -public **__construct** ([[Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector]) inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **__construct** ([[Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector]) inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Phalcon\\Application -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Sets the events manager -public **getEventsManager** () inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **getEventsManager** () inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Returns the internal event manager -public **registerModules** (*array* $modules, [*mixed* $merge]) inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **registerModules** (*array* $modules, [*mixed* $merge]) inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Register an array of modules present in the application @@ -70,30 +70,30 @@ $this->registerModules( ``` -public **getModules** () inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **getModules** () inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Return the modules registered in the application -public **getModule** (*mixed* $name) inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **getModule** (*mixed* $name) inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Gets the module definition registered in the application via module name -public **setDefaultModule** (*mixed* $defaultModule) inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **setDefaultModule** (*mixed* $defaultModule) inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Sets the module name to be used if the router doesn't return a valid module -public **getDefaultModule** () inherited from [Phalcon\Application](/en/3.1.2/api/Phalcon_Application) +public **getDefaultModule** () inherited from [Phalcon\Application](/en/3.2/api/Phalcon_Application) Returns the default module name -public **setDI** ([Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **setDI** ([Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Sets the dependency injector -public **getDI** () inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **getDI** () inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Returns the internal dependency injector -public **__get** (*mixed* $propertyName) inherited from [Phalcon\Di\Injectable](/en/3.1.2/api/Phalcon_Di_Injectable) +public **__get** (*mixed* $propertyName) inherited from [Phalcon\Di\Injectable](/en/3.2/api/Phalcon_Di_Injectable) Magic method __get \ No newline at end of file diff --git a/zh/api/Phalcon_Cli_Console_Exception.md b/zh/api/Phalcon_Cli_Console_Exception.md index 64a6f1f9162a..e7bfea5dbde1 100644 --- a/zh/api/Phalcon_Cli_Console_Exception.md +++ b/zh/api/Phalcon_Cli_Console_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cli\\Console\\Exception** -*extends* class [Phalcon\Application\Exception](/en/3.1.2/api/Phalcon_Application_Exception) +*extends* class [Phalcon\Application\Exception](/en/3.2/api/Phalcon_Application_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/zh/api/Phalcon_Cli_Dispatcher.md b/zh/api/Phalcon_Cli_Dispatcher.md index 7b91f5c9f537..f03b7c7c61ac 100644 --- a/zh/api/Phalcon_Cli_Dispatcher.md +++ b/zh/api/Phalcon_Cli_Dispatcher.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Cli\\Dispatcher** -*extends* abstract class [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +*extends* abstract class [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) -*implements* [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface), [Phalcon\Cli\DispatcherInterface](/en/3.1.2/api/Phalcon_Cli_DispatcherInterface) +*implements* [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface), [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface), [Phalcon\Cli\DispatcherInterface](/en/3.2/api/Phalcon_Cli_DispatcherInterface) Source on GitHub @@ -11,10 +11,11 @@ Dispatching is the process of taking the command-line arguments, extracting the ```php setDi($di); $dispatcher->setTaskName("posts"); @@ -81,107 +82,115 @@ public **getOptions** () Get dispatched options +public **getOption** (*mixed* $option, [*string* | *array* $filters], [*mixed* $defaultValue]) + +Gets an option by its name or numeric index + +public **hasOption** (*mixed* $option) + +Check if an option exists + public **callActionMethod** (*mixed* $handler, *mixed* $actionMethod, [*array* $params]) -... +Calls the action method. -public **setDI** ([Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setDI** ([Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the dependency injector -public **getDI** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getDI** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns the internal dependency injector -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the events manager -public **getEventsManager** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getEventsManager** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns the internal event manager -public **setActionSuffix** (*mixed* $actionSuffix) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setActionSuffix** (*mixed* $actionSuffix) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the default action suffix -public **getActionSuffix** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getActionSuffix** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets the default action suffix -public **setModuleName** (*mixed* $moduleName) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setModuleName** (*mixed* $moduleName) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the module where the controller is (only informative) -public **getModuleName** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getModuleName** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets the module where the controller class is -public **setNamespaceName** (*mixed* $namespaceName) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setNamespaceName** (*mixed* $namespaceName) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the namespace where the controller class is -public **getNamespaceName** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getNamespaceName** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets a namespace to be prepended to the current handler name -public **setDefaultNamespace** (*mixed* $namespaceName) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setDefaultNamespace** (*mixed* $namespaceName) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the default namespace -public **getDefaultNamespace** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getDefaultNamespace** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns the default namespace -public **setDefaultAction** (*mixed* $actionName) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setDefaultAction** (*mixed* $actionName) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the default action name -public **setActionName** (*mixed* $actionName) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setActionName** (*mixed* $actionName) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the action name to be dispatched -public **getActionName** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getActionName** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets the latest dispatched action name -public **setParams** (*array* $params) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setParams** (*array* $params) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets action params to be dispatched -public **getParams** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getParams** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets action params -public **setParam** (*mixed* $param, *mixed* $value) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setParam** (*mixed* $param, *mixed* $value) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Set a param by its name or numeric index -public *mixed* **getParam** (*mixed* $param, [*string* | *array* $filters], [*mixed* $defaultValue]) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public *mixed* **getParam** (*mixed* $param, [*string* | *array* $filters], [*mixed* $defaultValue]) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets a param by its name or numeric index -public *boolean* **hasParam** (*mixed* $param) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public *boolean* **hasParam** (*mixed* $param) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Check if a param exists -public **getActiveMethod** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getActiveMethod** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns the current method to be/executed in the dispatcher -public **isFinished** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **isFinished** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Checks if the dispatch loop is finished or has more pendent controllers/tasks to dispatch -public **setReturnedValue** (*mixed* $value) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setReturnedValue** (*mixed* $value) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Sets the latest returned value by an action manually -public *mixed* **getReturnedValue** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public *mixed* **getReturnedValue** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns value returned by the latest dispatched action -public **setModelBinding** (*mixed* $value, [*mixed* $cache]) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setModelBinding** (*mixed* $value, [*mixed* $cache]) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Enable/Disable model binding during dispatch @@ -197,7 +206,7 @@ $di->set('dispatcher', function() { ``` -public **setModelBinder** ([Phalcon\Mvc\Model\BinderInterface](/en/3.1.2/api/Phalcon_Mvc_Model_BinderInterface) $modelBinder, [*mixed* $cache]) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **setModelBinder** ([Phalcon\Mvc\Model\BinderInterface](/en/3.2/api/Phalcon_Mvc_Model_BinderInterface) $modelBinder, [*mixed* $cache]) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Enable model binding during dispatch @@ -213,21 +222,21 @@ $di->set('dispatcher', function() { ``` -public **getModelBinder** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getModelBinder** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Gets model binder -public *object* **dispatch** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public *object* **dispatch** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Dispatches a handle action taking into account the routing parameters -protected *object* **_dispatch** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +protected *object* **_dispatch** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Dispatches a handle action taking into account the routing parameters -public **forward** (*array* $forward) inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **forward** (*array* $forward) inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) -Forwards the execution flow to another controller/action Dispatchers are unique per module. Forwarding between modules is not allowed +Forwards the execution flow to another controller/action. ```php dispatcher->forward( ``` -public **wasForwarded** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **wasForwarded** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Check if the current executed action was forwarded by another one -public **getHandlerClass** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getHandlerClass** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Possible class name that will be located to dispatch the request -public **getBoundModels** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +public **getBoundModels** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Returns bound models from binder instance @@ -266,6 +275,6 @@ class UserController extends Controller ``` -protected **_resolveEmptyProperties** () inherited from [Phalcon\Dispatcher](/en/3.1.2/api/Phalcon_Dispatcher) +protected **_resolveEmptyProperties** () inherited from [Phalcon\Dispatcher](/en/3.2/api/Phalcon_Dispatcher) Set empty properties to their defaults (where defaults are available) \ No newline at end of file diff --git a/zh/api/Phalcon_Cli_DispatcherInterface.md b/zh/api/Phalcon_Cli_DispatcherInterface.md index 58914bf4b682..78f4d7b40c9c 100644 --- a/zh/api/Phalcon_Cli_DispatcherInterface.md +++ b/zh/api/Phalcon_Cli_DispatcherInterface.md @@ -1,6 +1,6 @@ # Interface **Phalcon\\Cli\\DispatcherInterface** -*implements* [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +*implements* [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) Source on GitHub @@ -30,70 +30,70 @@ abstract public **getActiveTask** () ... -abstract public **setActionSuffix** (*mixed* $actionSuffix) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setActionSuffix** (*mixed* $actionSuffix) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **getActionSuffix** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **getActionSuffix** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setDefaultNamespace** (*mixed* $defaultNamespace) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setDefaultNamespace** (*mixed* $defaultNamespace) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setDefaultAction** (*mixed* $actionName) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setDefaultAction** (*mixed* $actionName) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setNamespaceName** (*mixed* $namespaceName) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setNamespaceName** (*mixed* $namespaceName) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setModuleName** (*mixed* $moduleName) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setModuleName** (*mixed* $moduleName) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setActionName** (*mixed* $actionName) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setActionName** (*mixed* $actionName) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **getActionName** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **getActionName** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setParams** (*mixed* $params) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setParams** (*mixed* $params) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **getParams** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **getParams** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **setParam** (*mixed* $param, *mixed* $value) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **setParam** (*mixed* $param, *mixed* $value) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **getParam** (*mixed* $param, [*mixed* $filters]) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **getParam** (*mixed* $param, [*mixed* $filters]) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **hasParam** (*mixed* $param) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **hasParam** (*mixed* $param) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **isFinished** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **isFinished** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **getReturnedValue** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **getReturnedValue** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **dispatch** () inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **dispatch** () inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... -abstract public **forward** (*mixed* $forward) inherited from [Phalcon\DispatcherInterface](/en/3.1.2/api/Phalcon_DispatcherInterface) +abstract public **forward** (*mixed* $forward) inherited from [Phalcon\DispatcherInterface](/en/3.2/api/Phalcon_DispatcherInterface) ... \ No newline at end of file diff --git a/zh/api/Phalcon_Cli_Dispatcher_Exception.md b/zh/api/Phalcon_Cli_Dispatcher_Exception.md index 0eeb05860d89..fbd0a6c4292d 100644 --- a/zh/api/Phalcon_Cli_Dispatcher_Exception.md +++ b/zh/api/Phalcon_Cli_Dispatcher_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cli\\Dispatcher\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/zh/api/Phalcon_Cli_Router.md b/zh/api/Phalcon_Cli_Router.md index d2cb10a44276..5a0943627b36 100644 --- a/zh/api/Phalcon_Cli_Router.md +++ b/zh/api/Phalcon_Cli_Router.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cli\\Router** -*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.1.2/api/Phalcon_Di_InjectionAwareInterface) +*implements* [Phalcon\Di\InjectionAwareInterface](/en/3.2/api/Phalcon_Di_InjectionAwareInterface) Source on GitHub @@ -29,7 +29,7 @@ public **__construct** ([*mixed* $defaultRoutes]) Phalcon\\Cli\\Router constructor -public **setDI** ([Phalcon\DiInterface](/en/3.1.2/api/Phalcon_DiInterface) $dependencyInjector) +public **setDI** ([Phalcon\DiInterface](/en/3.2/api/Phalcon_DiInterface) $dependencyInjector) Sets the dependency injector @@ -69,7 +69,7 @@ public **handle** ([*array* $arguments]) Handles routing information received from command-line arguments -public [Phalcon\Cli\Router\Route](/en/3.1.2/api/Phalcon_Cli_Router_Route) **add** (*string* $pattern, [*string/array* $paths]) +public [Phalcon\Cli\Router\Route](/en/3.2/api/Phalcon_Cli_Router_Route) **add** (*string* $pattern, [*string/array* $paths]) Adds a route to the router @@ -112,7 +112,7 @@ public **getRoutes** () Returns all the routes defined in the router -public [Phalcon\Cli\Router\Route](/en/3.1.2/api/Phalcon_Cli_Router_Route) **getRouteById** (*int* $id) +public [Phalcon\Cli\Router\Route](/en/3.2/api/Phalcon_Cli_Router_Route) **getRouteById** (*int* $id) Returns a route object by its id diff --git a/zh/api/Phalcon_Cli_Router_Exception.md b/zh/api/Phalcon_Cli_Router_Exception.md index ebd81a411422..e063b3861132 100644 --- a/zh/api/Phalcon_Cli_Router_Exception.md +++ b/zh/api/Phalcon_Cli_Router_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Cli\\Router\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/zh/api/Phalcon_Db_Adapter.md b/zh/api/Phalcon_Db_Adapter.md index c1deaded19cd..a5d397a98c83 100644 --- a/zh/api/Phalcon_Db_Adapter.md +++ b/zh/api/Phalcon_Db_Adapter.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Db\\Adapter** -*implements* [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -24,7 +24,7 @@ public **__construct** (*array* $descriptor) Phalcon\\Db\\Adapter constructor -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) Sets the event manager @@ -32,7 +32,7 @@ public **getEventsManager** () Returns the internal event manager -public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) $dialect) +public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) $dialect) Sets the dialect used to produce the SQL @@ -309,11 +309,11 @@ public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExist Drops a view -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Adds a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) Modifies a table column based on a definition @@ -321,7 +321,7 @@ public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnN Drops a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Adds an index to a table @@ -329,7 +329,7 @@ public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexNam Drop an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Adds a primary key to a table @@ -337,7 +337,7 @@ public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) Drops a table's primary key -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) Adds a foreign key to a table @@ -345,7 +345,7 @@ public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $ref Drops a foreign key from a table -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Returns the SQL column definition from a column @@ -375,7 +375,7 @@ print_r( ``` -public [Phalcon\Db\Index](/en/3.1.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) +public [Phalcon\Db\Index](/en/3.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) Lists table indexes @@ -512,54 +512,54 @@ public *array* **getSQLBindTypes** () Active SQL statement in the object -abstract public **connect** ([*array* $descriptor]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **connect** ([*array* $descriptor]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **query** (*mixed* $sqlStatement, [*mixed* $placeholders], [*mixed* $dataTypes]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **query** (*mixed* $sqlStatement, [*mixed* $placeholders], [*mixed* $dataTypes]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **execute** (*mixed* $sqlStatement, [*mixed* $placeholders], [*mixed* $dataTypes]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **execute** (*mixed* $sqlStatement, [*mixed* $placeholders], [*mixed* $dataTypes]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **affectedRows** () inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **affectedRows** () inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **close** () inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **close** () inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **lastInsertId** ([*mixed* $sequenceName]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **lastInsertId** ([*mixed* $sequenceName]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **isUnderTransaction** () inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **isUnderTransaction** () inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **getInternalHandler** () inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **getInternalHandler** () inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... -abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... \ No newline at end of file diff --git a/zh/api/Phalcon_Db_AdapterInterface.md b/zh/api/Phalcon_Db_AdapterInterface.md index 2b9bec9a2acd..4c6a8f54b3f1 100644 --- a/zh/api/Phalcon_Db_AdapterInterface.md +++ b/zh/api/Phalcon_Db_AdapterInterface.md @@ -64,11 +64,11 @@ abstract public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* ... -abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) ... -abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) ... @@ -76,7 +76,7 @@ abstract public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* ... -abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) ... @@ -84,7 +84,7 @@ abstract public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* ... -abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) ... @@ -92,7 +92,7 @@ abstract public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) ... -abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) ... @@ -100,7 +100,7 @@ abstract public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mi ... -abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) ... diff --git a/zh/api/Phalcon_Db_Adapter_Pdo.md b/zh/api/Phalcon_Db_Adapter_Pdo.md index 44de7d9e6e1f..c23a014e3d58 100644 --- a/zh/api/Phalcon_Db_Adapter_Pdo.md +++ b/zh/api/Phalcon_Db_Adapter_Pdo.md @@ -1,8 +1,8 @@ # Abstract class **Phalcon\\Db\\Adapter\\Pdo** -*extends* abstract class [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +*extends* abstract class [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) -*implements* [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +*implements* [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface), [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) Source on GitHub @@ -262,35 +262,35 @@ public *array* **getErrorInfo** () Return the error info, if any -public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Name of the dialect used -public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Type of database system the adapter is used for -public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL bound parameter variables -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the event manager -public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the internal event manager -public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the dialect used to produce the SQL -public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns internal dialect instance -public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the first row in a SQL query result @@ -307,7 +307,7 @@ print_r($robot); ``` -public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Dumps the complete result of a query into an array @@ -338,7 +338,7 @@ foreach($robots as $robot) { ``` -public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the n'th field of first row in a SQL query result @@ -358,7 +358,7 @@ print_r($robot); ``` -public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RDBMS SQL syntax @@ -377,7 +377,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RBDM SQL syntax @@ -398,7 +398,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax @@ -435,7 +435,7 @@ $success = $connection->update( Warning! If $whereCondition is string it not escaped. -public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax Another, more convenient syntax @@ -456,7 +456,7 @@ UPDATE `robots` SET `name` = "Astro boy" WHERE id = 101 ``` -public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Deletes data from a table using custom RBDM SQL syntax @@ -474,7 +474,7 @@ DELETE FROM `robots` WHERE `id` = 101 ``` -public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Escapes a column/table/schema name @@ -494,11 +494,11 @@ $escapedTable = $connection->escapeIdentifier( ``` -public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets a list of columns -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Appends a LIMIT clause to $sqlQuery argument @@ -509,7 +509,7 @@ echo $connection->limit("SELECT * FROM robots", 5); ``` -public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.table @@ -522,7 +522,7 @@ var_dump( ``` -public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.view @@ -535,71 +535,71 @@ var_dump( ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a FOR UPDATE clause -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a LOCK IN SHARE MODE clause -public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a table -public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table from a schema/database -public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a view -public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a view -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Modifies a table column based on a definition -public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds an index to a table -public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drop an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a primary key to a table -public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table's primary key -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a foreign key to a table -public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a foreign key from a table -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the SQL column definition from a column -public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all tables on a database @@ -612,7 +612,7 @@ print_r( ``` -public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all views on a database @@ -625,7 +625,7 @@ print_r( ``` -public [Phalcon\Db\Index](/en/3.1.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public [Phalcon\Db\Index](/en/3.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Lists table indexes @@ -638,7 +638,7 @@ print_r( ``` -public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Lists table references @@ -651,7 +651,7 @@ print_r( ``` -public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets creation options from a table @@ -664,31 +664,31 @@ print_r( ``` -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Releases given savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Rollbacks given savepoint -public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Set if nested transactions should use savepoints -public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns if nested transactions should use savepoints -public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the savepoint name to use for nested transactions -public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default identity value to be inserted in an identity column @@ -712,7 +712,7 @@ $success = $connection->insert( ``` -public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default value to make the RBDM use the default value declared in the table definition @@ -734,34 +734,34 @@ $success = $connection->insert( ``` -public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Check whether the database system requires a sequence to produce auto-numeric values -public **useExplicitIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **useExplicitIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Check whether the database system requires an explicit value for identity columns -public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Return descriptor used to connect to the active database -public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets the active connection unique identifier -public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object -public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object without replace bound parameters -public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object -abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) +abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) ... \ No newline at end of file diff --git a/zh/api/Phalcon_Db_Adapter_Pdo_Mysql.md b/zh/api/Phalcon_Db_Adapter_Pdo_Mysql.md index fe17030fddcf..5013bf0def80 100644 --- a/zh/api/Phalcon_Db_Adapter_Pdo_Mysql.md +++ b/zh/api/Phalcon_Db_Adapter_Pdo_Mysql.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Adapter\\Pdo\\Mysql** -*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) -*implements* [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -40,7 +40,7 @@ print_r( ``` -public [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface[]) **describeIndexes** (*string* $table, [*string* $schema]) +public [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface[]) **describeIndexes** (*string* $table, [*string* $schema]) Lists table indexes @@ -66,11 +66,11 @@ print_r( ``` -public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Constructor for Phalcon\\Db\\Adapter\\Pdo -public **connect** ([*array* $descriptor]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **connect** ([*array* $descriptor]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) This method is automatically called in \\Phalcon\\Db\\Adapter\\Pdo constructor. Call it when you need to restore a database connection. @@ -95,7 +95,7 @@ $connection->connect(); ``` -public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns a PDO prepared statement to be executed with 'executePrepared' @@ -120,7 +120,7 @@ $result = $connection->executePrepared( ``` -public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Executes a prepared statement binding. This function uses integer indexes starting from zero @@ -145,7 +145,7 @@ $result = $connection->executePrepared( ``` -public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server is returning rows @@ -166,7 +166,7 @@ $resultset = $connection->query( ``` -public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server doesn't return any rows @@ -188,7 +188,7 @@ $success = $connection->execute( ``` -public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the number of affected rows by the latest INSERT/UPDATE/DELETE executed in the database system @@ -203,11 +203,11 @@ echo $connection->affectedRows(), " were deleted"; ``` -public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Closes the active connection returning success. Phalcon automatically closes and destroys active connections when the request ends -public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Escapes a value to avoid SQL injections according to the active charset in the connection @@ -218,7 +218,7 @@ $escapedStr = $connection->escapeString("some dangerous value"); ``` -public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Converts bound parameters such as :name: or ?1 into PDO bind params ? @@ -236,7 +236,7 @@ print_r( ``` -public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the insert id for the auto_increment/serial column inserted in the latest executed SQL statement @@ -261,23 +261,23 @@ $id = $connection->lastInsertId(); ``` -public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Starts a transaction in the connection -public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Rollbacks the active transaction in the connection -public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Commits the active transaction in the connection -public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the current transaction nesting level -public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Checks whether the connection is under a transaction @@ -293,43 +293,43 @@ var_dump( ``` -public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return internal PDO handler -public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return the error info, if any -public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Name of the dialect used -public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Type of database system the adapter is used for -public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL bound parameter variables -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the event manager -public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the internal event manager -public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the dialect used to produce the SQL -public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns internal dialect instance -public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the first row in a SQL query result @@ -346,7 +346,7 @@ print_r($robot); ``` -public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Dumps the complete result of a query into an array @@ -377,7 +377,7 @@ foreach($robots as $robot) { ``` -public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the n'th field of first row in a SQL query result @@ -397,7 +397,7 @@ print_r($robot); ``` -public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RDBMS SQL syntax @@ -416,7 +416,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RBDM SQL syntax @@ -437,7 +437,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax @@ -474,7 +474,7 @@ $success = $connection->update( Warning! If $whereCondition is string it not escaped. -public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax Another, more convenient syntax @@ -495,7 +495,7 @@ UPDATE `robots` SET `name` = "Astro boy" WHERE id = 101 ``` -public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Deletes data from a table using custom RBDM SQL syntax @@ -513,7 +513,7 @@ DELETE FROM `robots` WHERE `id` = 101 ``` -public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Escapes a column/table/schema name @@ -533,11 +533,11 @@ $escapedTable = $connection->escapeIdentifier( ``` -public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets a list of columns -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Appends a LIMIT clause to $sqlQuery argument @@ -548,7 +548,7 @@ echo $connection->limit("SELECT * FROM robots", 5); ``` -public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.table @@ -561,7 +561,7 @@ var_dump( ``` -public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.view @@ -574,71 +574,71 @@ var_dump( ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a FOR UPDATE clause -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a LOCK IN SHARE MODE clause -public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a table -public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table from a schema/database -public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a view -public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a view -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Modifies a table column based on a definition -public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds an index to a table -public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drop an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a primary key to a table -public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table's primary key -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a foreign key to a table -public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a foreign key from a table -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the SQL column definition from a column -public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all tables on a database @@ -651,7 +651,7 @@ print_r( ``` -public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all views on a database @@ -664,7 +664,7 @@ print_r( ``` -public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets creation options from a table @@ -677,31 +677,31 @@ print_r( ``` -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Releases given savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Rollbacks given savepoint -public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Set if nested transactions should use savepoints -public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns if nested transactions should use savepoints -public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the savepoint name to use for nested transactions -public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default identity value to be inserted in an identity column @@ -725,7 +725,7 @@ $success = $connection->insert( ``` -public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default value to make the RBDM use the default value declared in the table definition @@ -747,30 +747,30 @@ $success = $connection->insert( ``` -public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Check whether the database system requires a sequence to produce auto-numeric values -public **useExplicitIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **useExplicitIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Check whether the database system requires an explicit value for identity columns -public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Return descriptor used to connect to the active database -public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets the active connection unique identifier -public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object -public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object without replace bound parameters -public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object \ No newline at end of file diff --git a/zh/api/Phalcon_Db_Adapter_Pdo_Postgresql.md b/zh/api/Phalcon_Db_Adapter_Pdo_Postgresql.md index c7f35273d52a..9a66f69a4ec1 100644 --- a/zh/api/Phalcon_Db_Adapter_Pdo_Postgresql.md +++ b/zh/api/Phalcon_Db_Adapter_Pdo_Postgresql.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Adapter\\Pdo\\Postgresql** -*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) -*implements* [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -48,7 +48,7 @@ public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $defini Creates a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) Modifies a table column based on a definition @@ -84,11 +84,11 @@ public **supportSequences** () Check whether the database system requires a sequence to produce auto-numeric values -public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Constructor for Phalcon\\Db\\Adapter\\Pdo -public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns a PDO prepared statement to be executed with 'executePrepared' @@ -113,7 +113,7 @@ $result = $connection->executePrepared( ``` -public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Executes a prepared statement binding. This function uses integer indexes starting from zero @@ -138,7 +138,7 @@ $result = $connection->executePrepared( ``` -public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server is returning rows @@ -159,7 +159,7 @@ $resultset = $connection->query( ``` -public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server doesn't return any rows @@ -181,7 +181,7 @@ $success = $connection->execute( ``` -public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the number of affected rows by the latest INSERT/UPDATE/DELETE executed in the database system @@ -196,11 +196,11 @@ echo $connection->affectedRows(), " were deleted"; ``` -public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Closes the active connection returning success. Phalcon automatically closes and destroys active connections when the request ends -public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Escapes a value to avoid SQL injections according to the active charset in the connection @@ -211,7 +211,7 @@ $escapedStr = $connection->escapeString("some dangerous value"); ``` -public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Converts bound parameters such as :name: or ?1 into PDO bind params ? @@ -229,7 +229,7 @@ print_r( ``` -public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the insert id for the auto_increment/serial column inserted in the latest executed SQL statement @@ -254,23 +254,23 @@ $id = $connection->lastInsertId(); ``` -public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Starts a transaction in the connection -public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Rollbacks the active transaction in the connection -public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Commits the active transaction in the connection -public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the current transaction nesting level -public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Checks whether the connection is under a transaction @@ -286,43 +286,43 @@ var_dump( ``` -public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return internal PDO handler -public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return the error info, if any -public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Name of the dialect used -public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Type of database system the adapter is used for -public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL bound parameter variables -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the event manager -public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the internal event manager -public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the dialect used to produce the SQL -public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns internal dialect instance -public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the first row in a SQL query result @@ -339,7 +339,7 @@ print_r($robot); ``` -public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Dumps the complete result of a query into an array @@ -370,7 +370,7 @@ foreach($robots as $robot) { ``` -public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the n'th field of first row in a SQL query result @@ -390,7 +390,7 @@ print_r($robot); ``` -public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RDBMS SQL syntax @@ -409,7 +409,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RBDM SQL syntax @@ -430,7 +430,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax @@ -467,7 +467,7 @@ $success = $connection->update( Warning! If $whereCondition is string it not escaped. -public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax Another, more convenient syntax @@ -488,7 +488,7 @@ UPDATE `robots` SET `name` = "Astro boy" WHERE id = 101 ``` -public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Deletes data from a table using custom RBDM SQL syntax @@ -506,7 +506,7 @@ DELETE FROM `robots` WHERE `id` = 101 ``` -public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Escapes a column/table/schema name @@ -526,11 +526,11 @@ $escapedTable = $connection->escapeIdentifier( ``` -public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets a list of columns -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Appends a LIMIT clause to $sqlQuery argument @@ -541,7 +541,7 @@ echo $connection->limit("SELECT * FROM robots", 5); ``` -public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.table @@ -554,7 +554,7 @@ var_dump( ``` -public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.view @@ -567,63 +567,63 @@ var_dump( ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a FOR UPDATE clause -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a LOCK IN SHARE MODE clause -public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table from a schema/database -public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a view -public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a view -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a column to a table -public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds an index to a table -public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drop an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a primary key to a table -public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table's primary key -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a foreign key to a table -public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a foreign key from a table -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the SQL column definition from a column -public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all tables on a database @@ -636,7 +636,7 @@ print_r( ``` -public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all views on a database @@ -649,7 +649,7 @@ print_r( ``` -public [Phalcon\Db\Index](/en/3.1.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public [Phalcon\Db\Index](/en/3.2/api/Phalcon_Db_Index[]) **describeIndexes** (*string* $table, [*string* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Lists table indexes @@ -662,7 +662,7 @@ print_r( ``` -public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Lists table references @@ -675,7 +675,7 @@ print_r( ``` -public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets creation options from a table @@ -688,31 +688,31 @@ print_r( ``` -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Releases given savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Rollbacks given savepoint -public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Set if nested transactions should use savepoints -public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns if nested transactions should use savepoints -public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the savepoint name to use for nested transactions -public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default value to make the RBDM use the default value declared in the table definition @@ -734,22 +734,22 @@ $success = $connection->insert( ``` -public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Return descriptor used to connect to the active database -public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets the active connection unique identifier -public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object -public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object without replace bound parameters -public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object \ No newline at end of file diff --git a/zh/api/Phalcon_Db_Adapter_Pdo_Sqlite.md b/zh/api/Phalcon_Db_Adapter_Pdo_Sqlite.md index 1f92cfbfc6bd..a568c933ce4a 100644 --- a/zh/api/Phalcon_Db_Adapter_Pdo_Sqlite.md +++ b/zh/api/Phalcon_Db_Adapter_Pdo_Sqlite.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Adapter\\Pdo\\Sqlite** -*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +*extends* abstract class [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) -*implements* [Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.1.2/api/Phalcon_Events_EventsAwareInterface) +*implements* [Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface), [Phalcon\Events\EventsAwareInterface](/en/3.2/api/Phalcon_Events_EventsAwareInterface) Source on GitHub @@ -40,7 +40,7 @@ print_r( ``` -public [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface[]) **describeIndexes** (*string* $table, [*string* $schema]) +public [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface[]) **describeIndexes** (*string* $table, [*string* $schema]) Lists table indexes @@ -53,7 +53,7 @@ print_r( ``` -public [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface[]) **describeReferences** (*string* $table, [*string* $schema]) +public [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface[]) **describeReferences** (*string* $table, [*string* $schema]) Lists table references @@ -83,11 +83,11 @@ $success = $connection->insert( ``` -public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **__construct** (*array* $descriptor) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Constructor for Phalcon\\Db\\Adapter\\Pdo -public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **prepare** (*mixed* $sqlStatement) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns a PDO prepared statement to be executed with 'executePrepared' @@ -112,7 +112,7 @@ $result = $connection->executePrepared( ``` -public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public [PDOStatement](http://php.net/manual/en/class.pdostatement.php) **executePrepared** ([PDOStatement](http://php.net/manual/en/class.pdostatement.php) $statement, *array* $placeholders, *array* $dataTypes) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Executes a prepared statement binding. This function uses integer indexes starting from zero @@ -137,7 +137,7 @@ $result = $connection->executePrepared( ``` -public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **query** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server is returning rows @@ -158,7 +158,7 @@ $resultset = $connection->query( ``` -public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **execute** (*mixed* $sqlStatement, [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server doesn't return any rows @@ -180,7 +180,7 @@ $success = $connection->execute( ``` -public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **affectedRows** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the number of affected rows by the latest INSERT/UPDATE/DELETE executed in the database system @@ -195,11 +195,11 @@ echo $connection->affectedRows(), " were deleted"; ``` -public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **close** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Closes the active connection returning success. Phalcon automatically closes and destroys active connections when the request ends -public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **escapeString** (*mixed* $str) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Escapes a value to avoid SQL injections according to the active charset in the connection @@ -210,7 +210,7 @@ $escapedStr = $connection->escapeString("some dangerous value"); ``` -public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **convertBoundParams** (*mixed* $sql, [*array* $params]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Converts bound parameters such as :name: or ?1 into PDO bind params ? @@ -228,7 +228,7 @@ print_r( ``` -public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *int* | *boolean* **lastInsertId** ([*string* $sequenceName]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the insert id for the auto_increment/serial column inserted in the latest executed SQL statement @@ -253,23 +253,23 @@ $id = $connection->lastInsertId(); ``` -public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **begin** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Starts a transaction in the connection -public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **rollback** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Rollbacks the active transaction in the connection -public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **commit** ([*mixed* $nesting]) inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Commits the active transaction in the connection -public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getTransactionLevel** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Returns the current transaction nesting level -public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **isUnderTransaction** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Checks whether the connection is under a transaction @@ -285,43 +285,43 @@ var_dump( ``` -public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public **getInternalHandler** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return internal PDO handler -public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.1.2/api/Phalcon_Db_Adapter_Pdo) +public *array* **getErrorInfo** () inherited from [Phalcon\Db\Adapter\Pdo](/en/3.2/api/Phalcon_Db_Adapter_Pdo) Return the error info, if any -public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialectType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Name of the dialect used -public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getType** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Type of database system the adapter is used for -public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSqlVariables** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL bound parameter variables -public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.1.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setEventsManager** ([Phalcon\Events\ManagerInterface](/en/3.2/api/Phalcon_Events_ManagerInterface) $eventsManager) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the event manager -public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getEventsManager** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the internal event manager -public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setDialect** ([Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) $dialect) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Sets the dialect used to produce the SQL -public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDialect** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns internal dialect instance -public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **fetchOne** (*mixed* $sqlQuery, [*mixed* $fetchMode], [*mixed* $bindParams], [*mixed* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the first row in a SQL query result @@ -338,7 +338,7 @@ print_r($robot); ``` -public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **fetchAll** (*string* $sqlQuery, [*int* $fetchMode], [*array* $bindParams], [*array* $bindTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Dumps the complete result of a query into an array @@ -369,7 +369,7 @@ foreach($robots as $robot) { ``` -public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* | ** **fetchColumn** (*string* $sqlQuery, [*array* $placeholders], [*int* | *string* $column]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the n'th field of first row in a SQL query result @@ -389,7 +389,7 @@ print_r($robot); ``` -public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insert** (*string* | *array* $table, *array* $values, [*array* $fields], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RDBMS SQL syntax @@ -408,7 +408,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **insertAsDict** (*string* $table, *array* $data, [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Inserts data into a table using custom RBDM SQL syntax @@ -429,7 +429,7 @@ INSERT INTO `robots` (`name`, `year`) VALUES ("Astro boy", 1952); ``` -public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **update** (*string* | *array* $table, *array* $fields, *array* $values, [*string* | *array* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax @@ -466,7 +466,7 @@ $success = $connection->update( Warning! If $whereCondition is string it not escaped. -public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **updateAsDict** (*string* $table, *array* $data, [*string* $whereCondition], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Updates data on a table using custom RBDM SQL syntax Another, more convenient syntax @@ -487,7 +487,7 @@ UPDATE `robots` SET `name` = "Astro boy" WHERE id = 101 ``` -public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *boolean* **delete** (*string* | *array* $table, [*string* $whereCondition], [*array* $placeholders], [*array* $dataTypes]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Deletes data from a table using custom RBDM SQL syntax @@ -505,7 +505,7 @@ DELETE FROM `robots` WHERE `id` = 101 ``` -public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **escapeIdentifier** (*array* | *string* $identifier) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Escapes a column/table/schema name @@ -525,11 +525,11 @@ $escapedTable = $connection->escapeIdentifier( ``` -public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getColumnList** (*array* $columnList) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets a list of columns -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Appends a LIMIT clause to $sqlQuery argument @@ -540,7 +540,7 @@ echo $connection->limit("SELECT * FROM robots", 5); ``` -public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.table @@ -553,7 +553,7 @@ var_dump( ``` -public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Generates SQL checking for the existence of a schema.view @@ -566,71 +566,71 @@ var_dump( ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a FOR UPDATE clause -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns a SQL modified with a LOCK IN SHARE MODE clause -public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a table -public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropTable** (*mixed* $tableName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table from a schema/database -public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a view -public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a view -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Modifies a table column based on a definition -public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds an index to a table -public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drop an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a primary key to a table -public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a table's primary key -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Adds a foreign key to a table -public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Drops a foreign key from a table -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the SQL column definition from a column -public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all tables on a database @@ -643,7 +643,7 @@ print_r( ``` -public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **listViews** ([*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) List all views on a database @@ -656,7 +656,7 @@ print_r( ``` -public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **tableOptions** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets creation options from a table @@ -669,31 +669,31 @@ print_r( ``` -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Creates a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Releases given savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Rollbacks given savepoint -public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **setNestedTransactionsWithSavepoints** (*mixed* $nestedTransactionsWithSavepoints) inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Set if nested transactions should use savepoints -public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **isNestedTransactionsWithSavepoints** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns if nested transactions should use savepoints -public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getNestedTransactionSavepointName** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the savepoint name to use for nested transactions -public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDefaultIdValue** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Returns the default identity value to be inserted in an identity column @@ -717,26 +717,26 @@ $success = $connection->insert( ``` -public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **supportSequences** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Check whether the database system requires a sequence to produce auto-numeric values -public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getDescriptor** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Return descriptor used to connect to the active database -public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *string* **getConnectionId** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Gets the active connection unique identifier -public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object -public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public **getRealSQLStatement** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object without replace bound parameters -public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.1.2/api/Phalcon_Db_Adapter) +public *array* **getSQLBindTypes** () inherited from [Phalcon\Db\Adapter](/en/3.2/api/Phalcon_Db_Adapter) Active SQL statement in the object \ No newline at end of file diff --git a/zh/api/Phalcon_Db_Column.md b/zh/api/Phalcon_Db_Column.md index ab2fdfb7a40e..fe0210a2b411 100644 --- a/zh/api/Phalcon_Db_Column.md +++ b/zh/api/Phalcon_Db_Column.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Db\\Column** -*implements* [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) +*implements* [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) Source on GitHub diff --git a/zh/api/Phalcon_Db_Dialect.md b/zh/api/Phalcon_Db_Dialect.md index 11c52ea58df4..df25f0af03ab 100644 --- a/zh/api/Phalcon_Db_Dialect.md +++ b/zh/api/Phalcon_Db_Dialect.md @@ -1,6 +1,6 @@ # Abstract class **Phalcon\\Db\\Dialect** -*implements* [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +*implements* [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) Source on GitHub @@ -199,86 +199,86 @@ protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $es Prepares qualified for this RDBMS -abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnName) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexName) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropForeignKey** (*mixed* $tableName, *mixed* $schemaName, *mixed* $referenceName) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **createTable** (*mixed* $tableName, *mixed* $schemaName, *array* $definition) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **createView** (*mixed* $viewName, *array* $definition, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropTable** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropTable** (*mixed* $tableName, *mixed* $schemaName) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **dropView** (*mixed* $viewName, [*mixed* $schemaName], [*mixed* $ifExists]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **tableExists** (*mixed* $tableName, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **viewExists** (*mixed* $viewName, [*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **describeColumns** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **listTables** ([*mixed* $schemaName]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **describeIndexes** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **describeIndexes** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **describeReferences** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... -abstract public **tableOptions** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +abstract public **tableOptions** (*mixed* $table, [*mixed* $schema]) inherited from [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) ... \ No newline at end of file diff --git a/zh/api/Phalcon_Db_DialectInterface.md b/zh/api/Phalcon_Db_DialectInterface.md index 0bf993854d79..90ee58afb9e1 100644 --- a/zh/api/Phalcon_Db_DialectInterface.md +++ b/zh/api/Phalcon_Db_DialectInterface.md @@ -24,15 +24,15 @@ abstract public **getColumnList** (*array* $columnList) ... -abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +abstract public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) ... -abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +abstract public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) ... -abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +abstract public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) ... @@ -40,7 +40,7 @@ abstract public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* ... -abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +abstract public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) ... @@ -48,7 +48,7 @@ abstract public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* ... -abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +abstract public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) ... @@ -56,7 +56,7 @@ abstract public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) ... -abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +abstract public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) ... diff --git a/zh/api/Phalcon_Db_Dialect_Mysql.md b/zh/api/Phalcon_Db_Dialect_Mysql.md index 6178388fc739..d1a80102e14c 100644 --- a/zh/api/Phalcon_Db_Dialect_Mysql.md +++ b/zh/api/Phalcon_Db_Dialect_Mysql.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Dialect\\Mysql** -*extends* abstract class [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +*extends* abstract class [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) -*implements* [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +*implements* [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) Source on GitHub @@ -10,15 +10,15 @@ Generates database specific SQL for the MySQL RDBMS ## Methods -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Gets the column name in MySQL -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Generates SQL to add a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) Generates SQL to modify a column in a table @@ -26,7 +26,7 @@ public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnN Generates SQL to delete a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add an index to a table @@ -34,7 +34,7 @@ public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexNam Generates SQL to delete an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add the primary key to a table @@ -42,7 +42,7 @@ public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) Generates SQL to delete primary key from a table -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) Generates SQL to add an index to a table @@ -133,23 +133,23 @@ protected **_getTableOptions** (*array* $definition) Generates SQL to add the table creation options -public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Registers custom SQL functions -public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns registered functions -final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape Schema -final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape identifiers -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generates the SQL for LIMIT clause @@ -164,7 +164,7 @@ echo $sql; // SELECT * FROM robots LIMIT 10 OFFSET 50 ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a FOR UPDATE clause @@ -176,7 +176,7 @@ echo $sql; // SELECT * FROM robots FOR UPDATE ``` -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a LOCK IN SHARE MODE clause @@ -188,7 +188,7 @@ echo $sql; // SELECT * FROM robots LOCK IN SHARE MODE ``` -final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Gets a list of columns with escaped identifiers @@ -204,122 +204,122 @@ echo $dialect->getColumnList( ``` -final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transforms an intermediate representation for an expression into a database system valid expression -final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transform an intermediate representation of a schema/table into a database system valid expression -public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Builds a SELECT statement -public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports savepoints -public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports releasing savepoints. -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to create a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to release a savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to rollback a savepoint -final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve object expressions -final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve qualified expressions -final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve binary operations expressions -final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve unary operations expressions -final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve function calls -final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Lists -final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve * -final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CAST of values -final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CONVERT of values encodings -final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CASE expressions -final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a FROM clause -final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a JOINs clause -final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a WHERE clause -final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a GROUP BY clause -final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a HAVING clause -final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve an ORDER BY clause -final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a LIMIT clause -protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares column for this RDBMS -protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares table for this RDBMS -protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares qualified for this RDBMS \ No newline at end of file diff --git a/zh/api/Phalcon_Db_Dialect_Postgresql.md b/zh/api/Phalcon_Db_Dialect_Postgresql.md index 01fe5982984c..f10d03525235 100644 --- a/zh/api/Phalcon_Db_Dialect_Postgresql.md +++ b/zh/api/Phalcon_Db_Dialect_Postgresql.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Dialect\\Postgresql** -*extends* abstract class [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +*extends* abstract class [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) -*implements* [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +*implements* [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) Source on GitHub @@ -10,15 +10,15 @@ Generates database specific SQL for the PostgreSQL RDBMS ## Methods -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Gets the column name in PostgreSQL -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Generates SQL to add a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) Generates SQL to modify a column in a table @@ -26,7 +26,7 @@ public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnN Generates SQL to delete a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add an index to a table @@ -34,7 +34,7 @@ public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexNam Generates SQL to delete an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add the primary key to a table @@ -42,7 +42,7 @@ public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) Generates SQL to delete primary key from a table -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) Generates SQL to add an index to a table @@ -129,7 +129,7 @@ public **tableOptions** (*mixed* $table, [*mixed* $schema]) Generates the SQL to describe the table creation options -protected **_castDefault** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +protected **_castDefault** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) ... @@ -137,23 +137,23 @@ protected **_getTableOptions** (*array* $definition) ... -public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Registers custom SQL functions -public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns registered functions -final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape Schema -final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape identifiers -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generates the SQL for LIMIT clause @@ -168,7 +168,7 @@ echo $sql; // SELECT * FROM robots LIMIT 10 OFFSET 50 ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a FOR UPDATE clause @@ -180,7 +180,7 @@ echo $sql; // SELECT * FROM robots FOR UPDATE ``` -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a LOCK IN SHARE MODE clause @@ -192,7 +192,7 @@ echo $sql; // SELECT * FROM robots LOCK IN SHARE MODE ``` -final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Gets a list of columns with escaped identifiers @@ -208,122 +208,122 @@ echo $dialect->getColumnList( ``` -final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transforms an intermediate representation for an expression into a database system valid expression -final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transform an intermediate representation of a schema/table into a database system valid expression -public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Builds a SELECT statement -public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports savepoints -public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports releasing savepoints. -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to create a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to release a savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to rollback a savepoint -final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve object expressions -final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve qualified expressions -final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve binary operations expressions -final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve unary operations expressions -final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve function calls -final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Lists -final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve * -final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CAST of values -final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CONVERT of values encodings -final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CASE expressions -final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a FROM clause -final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a JOINs clause -final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a WHERE clause -final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a GROUP BY clause -final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a HAVING clause -final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve an ORDER BY clause -final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a LIMIT clause -protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares column for this RDBMS -protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares table for this RDBMS -protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares qualified for this RDBMS \ No newline at end of file diff --git a/zh/api/Phalcon_Db_Dialect_Sqlite.md b/zh/api/Phalcon_Db_Dialect_Sqlite.md index 7b38162151a0..dabec6d39e49 100644 --- a/zh/api/Phalcon_Db_Dialect_Sqlite.md +++ b/zh/api/Phalcon_Db_Dialect_Sqlite.md @@ -1,8 +1,8 @@ # Class **Phalcon\\Db\\Dialect\\Sqlite** -*extends* abstract class [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +*extends* abstract class [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) -*implements* [Phalcon\Db\DialectInterface](/en/3.1.2/api/Phalcon_Db_DialectInterface) +*implements* [Phalcon\Db\DialectInterface](/en/3.2/api/Phalcon_Db_DialectInterface) Source on GitHub @@ -10,15 +10,15 @@ Generates database specific SQL for the Sqlite RDBMS ## Methods -public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **getColumnDefinition** ([Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Gets the column name in SQLite -public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column) +public **addColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column) Generates SQL to add a column to a table -public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.1.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) +public **modifyColumn** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $column, [[Phalcon\Db\ColumnInterface](/en/3.2/api/Phalcon_Db_ColumnInterface) $currentColumn]) Generates SQL to modify a column in a table @@ -26,7 +26,7 @@ public **dropColumn** (*mixed* $tableName, *mixed* $schemaName, *mixed* $columnN Generates SQL to delete a column from a table -public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addIndex** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add an index to a table @@ -34,7 +34,7 @@ public **dropIndex** (*mixed* $tableName, *mixed* $schemaName, *mixed* $indexNam Generates SQL to delete an index from a table -public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) $index) +public **addPrimaryKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) $index) Generates SQL to add the primary key to a table @@ -42,7 +42,7 @@ public **dropPrimaryKey** (*mixed* $tableName, *mixed* $schemaName) Generates SQL to delete primary key from a table -public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) $reference) +public **addForeignKey** (*mixed* $tableName, *mixed* $schemaName, [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) $reference) Generates SQL to add an index to a table @@ -146,23 +146,23 @@ public **tableOptions** (*mixed* $table, [*mixed* $schema]) Generates the SQL to describe the table creation options -public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **registerCustomFunction** (*mixed* $name, *mixed* $customFunction) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Registers custom SQL functions -public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getCustomFunctions** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns registered functions -final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escapeSchema** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape Schema -final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **escape** (*mixed* $str, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Escape identifiers -public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **limit** (*mixed* $sqlQuery, *mixed* $number) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generates the SQL for LIMIT clause @@ -177,7 +177,7 @@ echo $sql; // SELECT * FROM robots LIMIT 10 OFFSET 50 ``` -public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **forUpdate** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a FOR UPDATE clause @@ -189,7 +189,7 @@ echo $sql; // SELECT * FROM robots FOR UPDATE ``` -public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **sharedLock** (*mixed* $sqlQuery) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Returns a SQL modified with a LOCK IN SHARE MODE clause @@ -201,7 +201,7 @@ echo $sql; // SELECT * FROM robots LOCK IN SHARE MODE ``` -final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getColumnList** (*array* $columnList, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Gets a list of columns with escaped identifiers @@ -217,122 +217,122 @@ echo $dialect->getColumnList( ``` -final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlColumn** (*mixed* $column, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **getSqlExpression** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transforms an intermediate representation for an expression into a database system valid expression -final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final public **getSqlTable** (*mixed* $table, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Transform an intermediate representation of a schema/table into a database system valid expression -public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **select** (*array* $definition) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Builds a SELECT statement -public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports savepoints -public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **supportsReleaseSavepoints** () inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Checks whether the platform supports releasing savepoints. -public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **createSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to create a new savepoint -public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **releaseSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to release a savepoint -public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +public **rollbackSavepoint** (*mixed* $name) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Generate SQL to rollback a savepoint -final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionScalar** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Column expressions -final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionObject** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve object expressions -final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionQualified** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve qualified expressions -final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionBinaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve binary operations expressions -final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionUnaryOperations** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve unary operations expressions -final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFunctionCall** (*array* $expression, *mixed* $escapeChar, [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve function calls -final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionList** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve Lists -final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionAll** (*array* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve * -final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCastValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CAST of values -final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionConvertValue** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CONVERT of values encodings -final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionCase** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve CASE expressions -final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionFrom** (*mixed* $expression, [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a FROM clause -final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionJoins** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a JOINs clause -final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionWhere** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a WHERE clause -final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionGroupBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a GROUP BY clause -final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionHaving** (*array* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a HAVING clause -final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionOrderBy** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve an ORDER BY clause -final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +final protected **getSqlExpressionLimit** (*mixed* $expression, [*mixed* $escapeChar], [*mixed* $bindCounts]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Resolve a LIMIT clause -protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareColumnAlias** (*mixed* $qualified, [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares column for this RDBMS -protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareTable** (*mixed* $table, [*mixed* $schema], [*mixed* $alias], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares table for this RDBMS -protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.1.2/api/Phalcon_Db_Dialect) +protected **prepareQualified** (*mixed* $column, [*mixed* $domain], [*mixed* $escapeChar]) inherited from [Phalcon\Db\Dialect](/en/3.2/api/Phalcon_Db_Dialect) Prepares qualified for this RDBMS \ No newline at end of file diff --git a/zh/api/Phalcon_Db_Exception.md b/zh/api/Phalcon_Db_Exception.md index 839c2d00fbf8..00160179b065 100644 --- a/zh/api/Phalcon_Db_Exception.md +++ b/zh/api/Phalcon_Db_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Db\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php) diff --git a/zh/api/Phalcon_Db_Index.md b/zh/api/Phalcon_Db_Index.md index 60a5b41f764f..9ca94ad0e146 100644 --- a/zh/api/Phalcon_Db_Index.md +++ b/zh/api/Phalcon_Db_Index.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Db\\Index** -*implements* [Phalcon\Db\IndexInterface](/en/3.1.2/api/Phalcon_Db_IndexInterface) +*implements* [Phalcon\Db\IndexInterface](/en/3.2/api/Phalcon_Db_IndexInterface) Source on GitHub diff --git a/zh/api/Phalcon_Db_Profiler.md b/zh/api/Phalcon_Db_Profiler.md index 05a913cb9c2c..1d6dde6d6e69 100644 --- a/zh/api/Phalcon_Db_Profiler.md +++ b/zh/api/Phalcon_Db_Profiler.md @@ -31,7 +31,7 @@ echo "Total Elapsed Time: ", $profile->getTotalElapsedSeconds(), "\n"; ## Methods -public [Phalcon\Db\Profiler](/en/3.1.2/api/Phalcon_Db_Profiler) **startProfile** (*string* $sqlStatement, [*mixed* $sqlVariables], [*mixed* $sqlBindTypes]) +public [Phalcon\Db\Profiler](/en/3.2/api/Phalcon_Db_Profiler) **startProfile** (*string* $sqlStatement, [*mixed* $sqlVariables], [*mixed* $sqlBindTypes]) Starts the profile of a SQL sentence diff --git a/zh/api/Phalcon_Db_Reference.md b/zh/api/Phalcon_Db_Reference.md index 30ac1a686521..2e83e14de226 100644 --- a/zh/api/Phalcon_Db_Reference.md +++ b/zh/api/Phalcon_Db_Reference.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Db\\Reference** -*implements* [Phalcon\Db\ReferenceInterface](/en/3.1.2/api/Phalcon_Db_ReferenceInterface) +*implements* [Phalcon\Db\ReferenceInterface](/en/3.2/api/Phalcon_Db_ReferenceInterface) Source on GitHub diff --git a/zh/api/Phalcon_Db_Result_Pdo.md b/zh/api/Phalcon_Db_Result_Pdo.md index 2e053d67ae6f..91808dece71f 100644 --- a/zh/api/Phalcon_Db_Result_Pdo.md +++ b/zh/api/Phalcon_Db_Result_Pdo.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Db\\Result\\Pdo** -*implements* [Phalcon\Db\ResultInterface](/en/3.1.2/api/Phalcon_Db_ResultInterface) +*implements* [Phalcon\Db\ResultInterface](/en/3.2/api/Phalcon_Db_ResultInterface) Source on GitHub @@ -23,7 +23,7 @@ while ($robot = $result->fetchArray()) { ## Methods -public **__construct** ([Phalcon\Db\AdapterInterface](/en/3.1.2/api/Phalcon_Db_AdapterInterface) $connection, [PDOStatement](http://php.net/manual/en/class.pdostatement.php) $result, [*string* $sqlStatement], [*array* $bindParams], [*array* $bindTypes]) +public **__construct** ([Phalcon\Db\AdapterInterface](/en/3.2/api/Phalcon_Db_AdapterInterface) $connection, [PDOStatement](http://php.net/manual/en/class.pdostatement.php) $result, [*string* $sqlStatement], [*array* $bindParams], [*array* $bindTypes]) Phalcon\\Db\\Result\\Pdo constructor diff --git a/zh/api/Phalcon_Debug_Exception.md b/zh/api/Phalcon_Debug_Exception.md index 81c02149efc6..170f204a2e35 100644 --- a/zh/api/Phalcon_Debug_Exception.md +++ b/zh/api/Phalcon_Debug_Exception.md @@ -1,6 +1,6 @@ # Class **Phalcon\\Debug\\Exception** -*extends* class [Phalcon\Exception](/en/3.1.2/api/Phalcon_Exception) +*extends* class [Phalcon\Exception](/en/3.2/api/Phalcon_Exception) *implements* [Throwable](http://php.net/manual/en/class.throwable.php)